| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2018-04-06 | |||
| 10:09:30 | dtantsur | mrhillsman: hey, thanks for your help with the rust-openstack CI. what are the next steps now? | |
| 10:11:16 | mrhillsman | you're welcome | |
| 10:11:24 | mrhillsman | i lost internet for a minute there | |
| 10:11:36 | mrhillsman | was putting next steps comments :) | |
| 10:12:16 | mrhillsman | if you are familiar with ansible, great, transition should be easy | |
| 10:12:37 | mrhillsman | if not, still great, just a little learning curve | |
| 10:13:10 | mrhillsman | basically what i suggest is taking your .travis.yml and recreating via ansible | |
| 10:13:43 | mrhillsman | you can take a highly modular approach or put all the things in one playbook; modular of course suggested :) | |
| 10:17:15 | dtantsur | mrhillsman: I'm an openstack developer, so I have some idea about zuul :) I'm mostly just asking if I should go ahead and create job(s) | |
| 10:17:26 | dtantsur | do you have some docs specific to openlab? | |
| 10:17:27 | mrhillsman | yep, go for it | |
| 10:17:32 | dtantsur | like, environment variables, etc? | |
| 10:17:37 | dtantsur | what I can and cannot do? | |
| 10:17:46 | mrhillsman | you can do all the things you can do with zuul | |
| 10:18:32 | dtantsur | I guess I can cargo-cult some existing jobs :) | |
| 10:18:39 | mrhillsman | if there is something specific you are concerned about that is not available we can discuss | |
| 10:20:21 | dtantsur | I don't know yet :) | |
| 10:20:51 | mrhillsman | ;) | |
| 10:21:02 | dtantsur | mrhillsman: is is a good thing to try adapting for my needs: https://github.com/theopenlab/openlab-zuul-jobs/blob/master/playbooks/gophercloud-acceptance-test/run.yaml ? | |
| 10:21:36 | mrhillsman | sure | |
| 10:21:55 | dtantsur | let the copy paste begin \o/ | |
| 10:21:57 | dtantsur | :D | |
| 10:22:11 | mrhillsman | the only thing about that one in particular - we have it on our agenda to resolve - is to move those project specific jobs to the repos | |
| 10:22:25 | mrhillsman | but yeah, feel free to copy whatever is useful for you | |
| 10:22:33 | dtantsur | right | |
| 10:23:18 | mrhillsman | you can run mitaka up to queens | |
| 10:23:31 | mrhillsman | recheck-{version} | |
| 10:23:45 | dtantsur | mrhillsman: what is run by default, only master? | |
| 10:23:53 | mrhillsman | yeah | |
| 10:25:32 | cdent | I need to find a chunk of time to learn me some zuul jobbing | |
| 10:25:42 | cdent | but lately the time chunks are missing | |
| 10:26:15 | mrhillsman | afaik you can set the pipeline for the job so you do not have to do recheck-... running twice essentially | |
| 10:26:44 | dtantsur | mrhillsman: what operating system are the jobs run on? | |
| 10:26:46 | mrhillsman | yeah cdent i actually need to take a week or two to just read through the docs again and really digest and play around with things | |
| 10:27:01 | mrhillsman | ubuntu xenial | |
| 10:27:21 | cdent | yeah, cargo culting and copy pasting can only get one so far :) | |
| 10:27:52 | mrhillsman | if you have some requests please post as issue here - https://github.com/theopenlab/openlab | |
| 10:28:20 | mrhillsman | i.e. you guys only do ubuntu i want some centos devstack | |
| 10:28:26 | mrhillsman | idk | |
| 10:28:34 | mrhillsman | just an example | |
| 10:29:55 | dtantsur | oh, ubuntu has rust packaged, nice! | |
| 10:51:49 | dtantsur | mrhillsman: do I need to use https://github.com/theopenlab/openlab-zuul-jobs/blob/master/roles/copy-files-on-node/tasks/main.yml to get the results posted? | |
| 10:55:47 | mrhillsman | i do not believe so, that should be inherited | |
| 10:58:15 | dtantsur | mrhillsman: okay. let's see how https://github.com/dtantsur/rust-openstack/pull/18 goes | |
| 10:58:39 | mrhillsman | ++ | |
| 11:03:47 | mrhillsman | i could be wrong, but i do not think it will run with .zuul.yaml and zuul.d | |
| 11:04:17 | mrhillsman | i'm seeing warnings | |
| 11:04:19 | mordred | mrhillsman: yah - ou're right | |
| 11:04:26 | mrhillsman | and zuul has not started | |
| 11:04:33 | dtantsur | \o/ | |
| 11:04:35 | mrhillsman | there's the man with confirmation :) | |
| 11:04:35 | mordred | just move .zuul.yalm to zuul.d/project.yaml or something similar | |
| 11:04:57 | dtantsur | mrhillsman: while I'm fixing that, is it possible to add openlab to the formal list of github checks? | |
| 11:05:08 | dtantsur | so that it does not show all green while the CI is running? | |
| 11:06:04 | mrhillsman | it should not be showing all green while the ci is running | |
| 11:06:06 | dtantsur | also, is it possible for me to see logs while it's running? | |
| 11:06:12 | mrhillsman | yep | |
| 11:06:18 | dtantsur | mrhillsman: it shows all green after Travis is done.. | |
| 11:06:30 | dtantsur | ah wait, no it appeared | |
| 11:06:34 | dtantsur | s/no/now/ | |
| 11:06:46 | dtantsur | probably it did not show because I screwed up the files :) | |
| 11:07:36 | mrhillsman | :) | |
| 11:07:44 | dtantsur | mordred: your review won't hurt on https://github.com/dtantsur/rust-openstack/pull/18 ;) | |
| 11:24:43 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data https://review.openstack.org/559154 | |
| 11:35:00 | openstackgerrit | Doug Hellmann proposed openstack/keystoneauth master: add lower-constraints job https://review.openstack.org/555625 | |
| 11:39:18 | openstackgerrit | Doug Hellmann proposed openstack/cliff master: add lower-constraints job https://review.openstack.org/555405 | |
| 13:04:45 | openstackgerrit | Doug Hellmann proposed openstack/cliff master: add lower-constraints job https://review.openstack.org/555405 | |
| 13:43:41 | openstackgerrit | Colleen Murphy proposed openstack/keystoneauth master: add lower-constraints job https://review.openstack.org/555625 | |
| 14:26:53 | dtantsur | mrhillsman: JFYI the first tests got merged in master :) https://github.com/dtantsur/rust-openstack/pull/18 | |
| 14:27:47 | mrhillsman | very nice ;) | |
| 14:40:02 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data https://review.openstack.org/559154 | |
| 14:50:54 | dtantsur | mrhillsman: hmm, the CI does not fire on https://github.com/dtantsur/rust-openstack/pull/20 for some reason, do you know why? | |
| 14:55:08 | mrhillsman | looking | |
| 15:06:54 | mrhillsman | not sure what happened but fixed | |
| 15:07:16 | mrhillsman | i commented a recheck and it is working | |
| 15:10:05 | openstackgerrit | Jens Harbott (frickler) proposed openstack/openstacksdk master: WIP: Add functional tests for Neutron DNS extension https://review.openstack.org/559068 | |
| 15:11:18 | dtantsur | mrhillsman: yep, thanks! I'll take a note to recheck tests if they don't run | |
| 16:04:20 | _alastor_ | Does the openstacksdk "connect" factory function not support Python2? | |
| 16:05:07 | _alastor_ | On Ubuntu using 0.12.0 I can connect to my devstack instance using python3 and openstacksdk, but when using python2 I get an attribute error for "connect" | |
| 16:07:33 | _alastor_ | http://paste.openstack.org/show/718613/ | |
| 16:46:26 | mordred | _alastor_: it SHOULD work in python2 - but looking | |
| 16:46:51 | mordred | _alastor_: that pip freeze command might be just running in python3 for you | |
| 16:46:58 | mordred | _alastor_: try "python2 -m pip freeze" | |
| 16:47:47 | _alastor_ | mordred: got the same 0.12.0 version running pip freeze that way | |
| 16:49:32 | mordred | hrm. that's very strange - there's nothing magic about that function | |
| 16:50:15 | mordred | _alastor_: trying to reproduce the issue locally ... | |
| 16:50:27 | mordred | (or find other things for you to try so we can figure out what's wrong) | |
| 16:51:07 | _alastor_ | Ubuntu 16.04, devstack sha: 4dde3b8b7cf0a0ea96a9b8fe8cb1de8cfa97250e | |
| 17:01:34 | mordred | _alastor_: not that it helps you - but fwiw, http://paste.openstack.org/show/718614/ | |
| 17:02:31 | mordred | _alastor_: you might also try print(openstack.__file__) and print(openstack.version.__version__) just to make sure there isn't something really weird going on with paths | |
| 17:03:32 | _alastor_ | Definitely something weird. Python thinks that openstack is a built-in | |
| 17:04:14 | _alastor_ | http://paste.openstack.org/show/718615/ | |
| 17:10:54 | _alastor_ | The python2 version is pointing at the correct dist-packages module: '/usr/local/lib/python2.7/dist-packages/openstack' | |
| 17:11:11 | _alastor_ | And all the files appear to be present, but python insists on non fully loading it | |
| 17:18:22 | _alastor_ | Reinstalling openstacksdk didn't fix it | |
| 17:20:09 | _alastor_ | Installing openstacksdk in a python2 virtualenv fixes the problem, but it still doesn't explain why the system openstacksdk is messed up | |
| 17:20:59 | _alastor_ | Nothing was done on this system except installing Devstack, copying a few Cinder driver files and running Tempest | |
| 17:44:35 | johnsom | mordred I want to get on that version discovery issue, but the docs are still TODO: https://specs.openstack.org/openstack/api-wg/guidelines/discoverability.html Do you have a link or pointer to what I need to fix for Octavia? | |
| 18:05:20 | dtruong | morded, I added a senlin devstack job in https://review.openstack.org/#/c/555762/ to run senlin functional test. | |
| 18:05:22 | dtruong | However the senlin-api service fails to connect to keystone with SSL error: http://logs.openstack.org/62/555762/7/check/openstacksdk-functional-devstack-senlin/2de7149/controller/logs/screen-sl-api.txt.gz#_Apr_06_01_27_32_527646 | |