Friday, 2018-04-06

*** salv-orlando has joined #openstack-sdks00:00
*** salv-orlando has quit IRC00:05
*** d0ugal has quit IRC00:13
*** d0ugal has joined #openstack-sdks00:17
*** gildub has joined #openstack-sdks00:58
openstackgerritDuc Truong proposed openstack/openstacksdk master: Add function examples test for clustering  https://review.openstack.org/55576200:59
*** harlowja has quit IRC01:21
*** olaph1 has joined #openstack-sdks01:25
*** olaph has quit IRC01:27
*** olaph1 has quit IRC01:41
*** olaph has joined #openstack-sdks01:42
*** salv-orlando has joined #openstack-sdks02:02
*** annp has joined #openstack-sdks02:04
*** salv-orlando has quit IRC02:07
*** olaph1 has joined #openstack-sdks02:09
*** olaph has quit IRC02:10
*** bobh has joined #openstack-sdks02:35
*** bobh has quit IRC02:36
*** bobh has joined #openstack-sdks02:37
*** bobh has quit IRC02:41
*** salv-orlando has joined #openstack-sdks03:03
*** salv-orlando has quit IRC03:08
*** lbragstad has joined #openstack-sdks03:11
*** annp has quit IRC03:39
*** olaph has joined #openstack-sdks03:42
*** olaph1 has quit IRC03:44
*** annp has joined #openstack-sdks03:49
*** harlowja has joined #openstack-sdks03:53
*** salv-orlando has joined #openstack-sdks04:04
*** salv-orlando has quit IRC04:09
*** olaph1 has joined #openstack-sdks04:12
*** olaph has quit IRC04:12
*** lbragstad has quit IRC04:18
*** thrash is now known as thrash|g0ne04:55
*** salv-orlando has joined #openstack-sdks05:02
*** dayou_ has quit IRC05:06
*** harlowja has quit IRC05:13
openstackgerritDoug Hellmann proposed openstack-infra/shade master: add lower-constraints job  https://review.openstack.org/55529905:27
*** Klumben has quit IRC05:33
*** gkadam_ has joined #openstack-sdks05:48
*** e0ne has joined #openstack-sdks05:55
*** gildub has quit IRC05:57
*** dayou_ has joined #openstack-sdks06:00
*** dayou_ has quit IRC06:01
*** dayou has joined #openstack-sdks06:01
adriantcmurphy, mordred: http://lists.openstack.org/pipermail/openstack-dev/2018-April/129123.html although i realised after sending it that my own subscription to that mailing list meant I didn't receive a copy... so I've now changed those to be a bit more permissive :P06:01
adriantand I also realised after sending it that the subject makes it seem it's a guide ABOUT the OpenStackClient rather than about writing OpenStack Clients...06:02
*** olaph has joined #openstack-sdks06:07
*** olaph1 has quit IRC06:08
*** dayou has quit IRC06:10
*** dayou has joined #openstack-sdks06:12
*** gkadam_ has quit IRC06:42
*** gkadam has joined #openstack-sdks06:42
*** markvoelker has quit IRC06:43
*** markvoelker has joined #openstack-sdks06:44
*** e0ne has quit IRC06:48
*** markvoelker has quit IRC06:48
*** gildub has joined #openstack-sdks07:11
*** ralonsoh has joined #openstack-sdks07:17
*** gildub has quit IRC07:21
*** salv-orlando has quit IRC07:49
*** salv-orlando has joined #openstack-sdks07:49
*** salv-orlando has quit IRC07:54
*** jpena|off is now known as jpena07:54
*** jpich has joined #openstack-sdks07:55
*** lastmikoi has joined #openstack-sdks07:57
openstackgerritColleen Murphy proposed openstack/keystoneauth master: add lower-constraints job  https://review.openstack.org/55562508:05
*** Klumben has joined #openstack-sdks08:12
*** olaph1 has joined #openstack-sdks08:20
*** olaph has quit IRC08:22
*** markvoelker has joined #openstack-sdks08:44
*** e0ne has joined #openstack-sdks08:45
*** salv-orlando has joined #openstack-sdks08:51
*** gkadam has quit IRC08:52
*** gkadam has joined #openstack-sdks08:53
*** salv-orl_ has joined #openstack-sdks08:54
*** salv-orlando has quit IRC08:57
*** ralonsoh_ has joined #openstack-sdks09:05
*** ralonsoh has quit IRC09:05
*** cdent has joined #openstack-sdks09:14
*** markvoelker has quit IRC09:18
*** sdague has joined #openstack-sdks09:32
*** olaph1 has quit IRC09:43
*** olaph has joined #openstack-sdks09:43
*** dtantsur|afk is now known as dtantsur09:59
*** ralonsoh_ has quit IRC10:08
dtantsurmrhillsman: hey, thanks for your help with the rust-openstack CI. what are the next steps now?10:09
*** olaph1 has joined #openstack-sdks10:09
mrhillsmanyou're welcome10:11
mrhillsmani lost internet for a minute there10:11
mrhillsmanwas putting next steps comments :)10:11
*** olaph has quit IRC10:11
mrhillsmanif you are familiar with ansible, great, transition should be easy10:12
mrhillsmanif not, still great, just a little learning curve10:12
mrhillsmanbasically what i suggest is taking your .travis.yml and recreating via ansible10:13
mrhillsmanyou can take a highly modular approach or put all the things in one playbook; modular of course suggested :)10:13
*** markvoelker has joined #openstack-sdks10:15
dtantsurmrhillsman: 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
dtantsurdo you have some docs specific to openlab?10:17
mrhillsmanyep, go for it10:17
dtantsurlike, environment variables, etc?10:17
dtantsurwhat I can and cannot do?10:17
mrhillsmanyou can do all the things you can do with zuul10:17
dtantsurI guess I can cargo-cult some existing jobs :)10:18
mrhillsmanif there is something specific you are concerned about that is not available we can discuss10:18
dtantsurI don't know yet :)10:20
mrhillsman;)10:20
dtantsurmrhillsman: 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
mrhillsmansure10:21
dtantsurlet the copy paste begin \o/10:21
dtantsur:D10:21
mrhillsmanthe only thing about that one in particular - we have it on our agenda to resolve - is to move those project specific jobs to the repos10:22
mrhillsmanbut yeah, feel free to copy whatever is useful for you10:22
dtantsurright10:22
mrhillsmanyou can run mitaka up to queens10:23
mrhillsmanrecheck-{version}10:23
dtantsurmrhillsman: what is run by default, only master?10:23
mrhillsmanyeah10:23
cdentI need to find a chunk of time to learn me some zuul jobbing10:25
cdentbut lately the time chunks are missing10:25
mrhillsmanafaik you can set the pipeline for the job so you do not have to do recheck-... running twice essentially10:26
dtantsurmrhillsman: what operating system are the jobs run on?10:26
mrhillsmanyeah cdent i actually need to take a week or two to just read through the docs again and really digest and play around with things10:26
mrhillsmanubuntu xenial10:27
cdentyeah, cargo culting and copy pasting can only get one so far :)10:27
mrhillsmanif you have some requests please post as issue here - https://github.com/theopenlab/openlab10:27
*** annp has quit IRC10:28
mrhillsmani.e. you guys only do ubuntu i want some centos devstack10:28
mrhillsmanidk10:28
mrhillsmanjust an example10:28
dtantsuroh, ubuntu has rust packaged, nice!10:29
*** olaph1 has quit IRC10:30
*** olaph has joined #openstack-sdks10:31
*** gkadam has quit IRC10:47
*** markvoelker has quit IRC10:49
dtantsurmrhillsman: 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:51
mrhillsmani do not believe so, that should be inherited10:55
dtantsurmrhillsman: okay. let's see how https://github.com/dtantsur/rust-openstack/pull/18 goes10:58
mrhillsman++10:58
mrhillsmani could be wrong, but i do not think it will run with .zuul.yaml and zuul.d11:03
* dtantsur does not remember11:04
mrhillsmani'm seeing warnings11:04
mordredmrhillsman: yah - ou're right11:04
mrhillsmanand zuul has not started11:04
dtantsur\o/11:04
mordredjust move .zuul.yalm to zuul.d/project.yaml or something similar11:04
mrhillsmanthere's the man with confirmation :)11:04
dtantsurmrhillsman: while I'm fixing that, is it possible to add openlab to the formal list of github checks?11:04
dtantsurso that it does not show all green while the CI is running?11:05
* dtantsur updates the PR11:05
mrhillsmanit should not be showing all green while the ci is running11:06
dtantsuralso, is it possible for me to see logs while it's running?11:06
mrhillsmanyep11:06
dtantsurmrhillsman: it shows all green after Travis is done..11:06
dtantsurah wait, no it appeared11:06
dtantsurs/no/now/11:06
dtantsurprobably it did not show because I screwed up the files :)11:06
mrhillsman:)11:07
dtantsurmordred: your review won't hurt on https://github.com/dtantsur/rust-openstack/pull/18 ;)11:07
*** cdent has quit IRC11:17
*** cdent has joined #openstack-sdks11:22
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data  https://review.openstack.org/55915411:24
*** bobh has joined #openstack-sdks11:29
openstackgerritDoug Hellmann proposed openstack/keystoneauth master: add lower-constraints job  https://review.openstack.org/55562511:35
*** jpena is now known as jpena|lunch11:38
openstackgerritDoug Hellmann proposed openstack/cliff master: add lower-constraints job  https://review.openstack.org/55540511:39
*** markvoelker has joined #openstack-sdks11:46
*** thrash|g0ne is now known as thrash12:07
*** markvoelker has quit IRC12:19
*** pooja_jadhav has quit IRC12:21
*** pooja_jadhav has joined #openstack-sdks12:22
*** markvoelker has joined #openstack-sdks12:24
*** bobh has quit IRC12:29
*** jpena|lunch is now known as jpena12:41
*** edleafe is now known as figleaf13:01
*** ralonsoh has joined #openstack-sdks13:02
openstackgerritDoug Hellmann proposed openstack/cliff master: add lower-constraints job  https://review.openstack.org/55540513:04
*** edmondsw has joined #openstack-sdks13:07
*** bobh has joined #openstack-sdks13:09
*** cdent has quit IRC13:15
*** cdent has joined #openstack-sdks13:23
*** lbragstad has joined #openstack-sdks13:28
*** gkadam has joined #openstack-sdks13:30
*** lbragstad has quit IRC13:35
*** stephenfin is now known as finucannot13:36
*** lbragstad has joined #openstack-sdks13:39
openstackgerritColleen Murphy proposed openstack/keystoneauth master: add lower-constraints job  https://review.openstack.org/55562513:43
*** melwitt is now known as jgwentworth14:02
*** olaph has quit IRC14:05
*** olaph has joined #openstack-sdks14:06
dtantsurmrhillsman: JFYI the first tests got merged in master :) https://github.com/dtantsur/rust-openstack/pull/1814:26
mrhillsmanvery nice ;)14:27
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data  https://review.openstack.org/55915414:40
dtantsurmrhillsman: hmm, the CI does not fire on https://github.com/dtantsur/rust-openstack/pull/20 for some reason, do you know why?14:50
*** gkadam_ has joined #openstack-sdks14:51
*** gkadam has quit IRC14:53
mrhillsmanlooking14:55
*** salv-orlando has joined #openstack-sdks14:55
*** salv-orl_ has quit IRC14:58
mrhillsmannot sure what happened but fixed15:06
mrhillsmani commented a recheck and it is working15:07
*** gkadam_ has quit IRC15:10
openstackgerritJens Harbott (frickler) proposed openstack/openstacksdk master: WIP: Add functional tests for Neutron DNS extension  https://review.openstack.org/55906815:10
dtantsurmrhillsman: yep, thanks! I'll take a note to recheck tests if they don't run15:11
*** olaph1 has joined #openstack-sdks15:11
*** olaph has quit IRC15:13
*** yolanda_ is now known as yolanda15:20
*** openstackgerrit has quit IRC15:33
*** _alastor_ has joined #openstack-sdks15:57
_alastor_Does the openstacksdk "connect" factory function not support Python2?16:04
_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:05
_alastor_http://paste.openstack.org/show/718613/16:07
*** dtantsur is now known as dtantsur|pto16:14
*** jpich has quit IRC16:25
*** ralonsoh has quit IRC16:36
mordred_alastor_: it SHOULD work in python2 - but looking16:46
mordred_alastor_: that pip freeze command might be just running in python3 for you16:46
mordred_alastor_: try "python2 -m pip freeze"16:46
_alastor_mordred: got the same 0.12.0 version running pip freeze that way16:47
mordredhrm. that's very strange - there's nothing magic about that function16:49
mordred_alastor_: trying to reproduce the issue locally ...16:50
mordred(or find other things for you to try so we can figure out what's wrong)16:50
*** salv-orlando has quit IRC16:51
_alastor_Ubuntu 16.04, devstack sha: 4dde3b8b7cf0a0ea96a9b8fe8cb1de8cfa97250e16:51
*** salv-orlando has joined #openstack-sdks16:51
*** salv-orlando has quit IRC16:56
*** e0ne has quit IRC17:01
mordred_alastor_: not that it helps you - but fwiw, http://paste.openstack.org/show/718614/17:01
*** jpena is now known as jpena|off17:01
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 paths17:02
_alastor_Definitely something weird.  Python thinks that openstack is a built-in17:03
_alastor_http://paste.openstack.org/show/718615/17:04
*** sdague has quit IRC17:04
_alastor_The python2 version is pointing at the correct dist-packages module: '/usr/local/lib/python2.7/dist-packages/openstack'17:10
_alastor_And all the files appear to be present, but python insists on non fully loading it17:11
_alastor_Reinstalling openstacksdk didn't fix it17:18
*** sdague has joined #openstack-sdks17:19
_alastor_Installing openstacksdk in a python2 virtualenv fixes the problem, but it still doesn't explain why the system openstacksdk is messed up17:20
_alastor_Nothing was done on this system except installing Devstack, copying a few Cinder driver files and running Tempest17:20
*** olaph1 has quit IRC17:28
*** olaph has joined #openstack-sdks17:29
*** olaph1 has joined #openstack-sdks17:42
*** olaph has quit IRC17:43
johnsommordred 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?17:44
*** olaph has joined #openstack-sdks18:04
dtruongmorded, I added a senlin devstack job in https://review.openstack.org/#/c/555762/ to run senlin functional test.18:05
dtruongHowever 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_52764618:05
dtruongIs there anything that I missed in the senlin job definition?18:05
*** olaph1 has quit IRC18:06
mordredjohnsom: best thing I've got is the example dicts here: http://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html#version-discovery18:10
johnsomAh, ok, thanks for the pointer!18:11
mordredjohnsom: tl;dr - the links entry is what octavia is missing right now18:11
johnsomOk18:12
mordredjohnsom: it just needs a single entry with your /v2 endpoint in it18:12
mordredand then you should be all set!18:12
mordredjohnsom: if you get a patch, we should do a depends-on with an openstacksdk patch that removes the octavia workaround18:13
* mordred can put that together18:13
mordred_alastor_: I'm having a similar but not *quite* the same issue myself, with the same symptoms - works in a virtualenv, has issues non-venv18:13
johnsomOk, yeah, ping me with it. I can use that as a test case too.  However it will likely be later today before I have something. I pivoted to another project.18:14
mordred_alastor_: I don't have answers yet, but clearly this is a big problem18:14
mordredjohnsom: let's just circle back to it early next week maybe - I got up super early today and am almost done for the day18:14
johnsomSounds good. Have a good weekend18:14
mordredyou too!18:15
_alastor_mordred: Ok, I'm both glad and sad it's not a unique issue :)18:16
mordred_alastor_: me too - I really would have preferred it if your machine was just weird :)18:16
*** gtmanfred has joined #openstack-sdks18:18
gtmanfredmordred: when you have time, i would like to talk about this https://storyboard.openstack.org/#!/story/2001794  We have just released our new cloud driver for salt-cloud that uses shade, but are running into this race condition with one of our customers18:21
*** e0ne has joined #openstack-sdks18:32
*** e0ne has quit IRC18:32
*** e0ne has joined #openstack-sdks18:42
*** ssurana has joined #openstack-sdks18:49
ssuranaHey Guys! need some more reviews on https://review.openstack.org/#/c/558461/ thanks!18:50
mordredgtmanfred: yes - I'd love to talk about that - I'm not 100% here at the moment, so maybe I can catch you on Monday18:53
gtmanfredThat would work perfectly!18:53
mordredgtmanfred: fwiw - there are two mechanisms shade uses for doing auto floating ips - one of them is safe for multi-process use, the other is not18:53
gtmanfredcool, i might need to just switch to the safe one, because right now I am only using create_server18:53
gtmanfredwith wait=True18:54
mordredgtmanfred: gotcha. so - lemme dig up the part that does the safe mechanism18:54
gtmanfredyeah, we have updated the customer that we are going to work with upstream to get this fixed, so we are clear for a bit on my end.18:54
gtmanfred:+1:18:54
mordredsweet18:55
gtmanfredThanks!18:56
mordredgtmanfred: ok. the code isn't friendly to link to - the tl;dr is - rather than doing create floating ip + attach floating ip - if you find the neutron port that is assocated with the target fixed ip on the server, you can pass that port to the create floating ip call - and if you do, neutron will create-and-attach the floating ip -so it'll never be in a state where another process can find it and try18:56
mordredto attach it18:56
mordredgtmanfred: I'll see if I can't write up a little something about it that would be more readable than attempting to trade the shade logic itself (which is a bit crazier than one would like)18:57
gtmanfredthat would be awesome! thanks! take your time, I can wait till monday if you need18:59
gtmanfredalso, here is one other question19:00
gtmanfredthe only other problem is if you use reuse=True, you could just run into a race condition where multiple servers grab the same available ip, and try to use it19:01
*** e0ne has quit IRC19:27
*** salv-orlando has joined #openstack-sdks19:40
*** olaph1 has joined #openstack-sdks19:47
*** olaph has quit IRC19:49
*** cdent has quit IRC20:16
*** edmondsw has quit IRC20:47
*** olaph has joined #openstack-sdks21:26
*** olaph1 has quit IRC21:26
*** sdague has quit IRC21:27
*** olaph1 has joined #openstack-sdks21:35
*** olaph has quit IRC21:37
*** slaweq_ has joined #openstack-sdks21:44
*** slaweq_ has quit IRC21:46
*** slaweq has quit IRC21:46
*** slaweq has joined #openstack-sdks21:47
*** slaweq_ has joined #openstack-sdks21:50
*** slaweq has quit IRC21:55
*** Klumben has quit IRC22:04
*** bobh has quit IRC22:12
*** bobh has joined #openstack-sdks22:13
*** bobh has quit IRC22:18
*** figleaf is now known as edleafe22:37
*** Klumben has joined #openstack-sdks22:45
*** olaph has joined #openstack-sdks23:12
*** olaph1 has quit IRC23:14
*** bobh has joined #openstack-sdks23:24
*** bobh has quit IRC23:31
*** lbragstad has quit IRC23:34
*** olaph1 has joined #openstack-sdks23:43
*** olaph has quit IRC23:43

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!