Thursday, 2017-11-30

*** sdague has quit IRC00:01
openstackgerritMonty Taylor proposed openstack/cliff master: Move doc requirements to doc/requirements.txt  https://review.openstack.org/52236900:03
openstackgerritMonty Taylor proposed openstack/cliff master: Remove tox_install.sh and just pass -c in tox  https://review.openstack.org/52398400:03
openstackgerritMonty Taylor proposed openstack/cliff master: DNM testing docs and releasenotes jobs  https://review.openstack.org/52237000:03
*** yuanying_ has joined #openstack-sdks00:04
*** yuanying has quit IRC00:05
*** edmondsw has quit IRC00:15
*** salv-orlando has joined #openstack-sdks00:23
*** salv-orlando has quit IRC00:27
adriantmordred: fantastic! :)00:40
adriantmordred: and yeah, I don't think making clouds.yaml harder to use is right, just that, we should make it equally easy to use either. :)00:41
adriantmordred: because for the longest time I always felt that the openstackSDK was tailored more towards clouds.yaml stuff rather than : "I'm an API service which needs to talk to another service." which is more my primary use case.00:42
adriantwhile the python-<service>clients always felt far better to just throw a session at, and then use.00:43
*** tonythomas has quit IRC01:06
TheJuliaSamYaple: Wait... is there a real whiskey chicken thing?!?01:20
*** salv-orlando has joined #openstack-sdks01:24
*** edmondsw has joined #openstack-sdks01:24
*** yuanying_ has quit IRC01:29
*** salv-orlando has quit IRC01:29
*** edmondsw has quit IRC01:29
*** yuanying has joined #openstack-sdks01:29
*** yuanying_ has joined #openstack-sdks01:33
openstackgerritMerged openstack-infra/shade master: de-client-ify baremetal get_machine  https://review.openstack.org/49977401:33
*** yuanying has quit IRC01:37
adriantmordred: I'm going to be opening a lot of issues for the sdk over the next while as I find things that don't quite work as expected, or are missing. Should I be doing that here: https://storyboard.openstack.org/#!/project/760 ?01:44
adriantI mean, now that shade == openstacksdk that makes sense, but just curious.01:44
adriantthe launchpad page seem ancient so I assume bugs aren't tracked there.01:44
openstackgerritMerged openstack-infra/shade master: Catch attrbute error for other APIs  https://review.openstack.org/49977501:48
*** annp has joined #openstack-sdks01:56
*** ldl has joined #openstack-sdks02:17
*** dave-mccowan has quit IRC02:18
*** salv-orlando has joined #openstack-sdks02:24
openstackgerritMerged openstack/python-openstackclient master: Release note cleanup  https://review.openstack.org/52400402:25
*** salv-orlando has quit IRC02:29
*** shu-mutou-AWAY is now known as shu-mutou02:30
*** fzdarsky_ has joined #openstack-sdks02:39
*** fzdarsky|afk has quit IRC02:41
*** dave-mccowan has joined #openstack-sdks02:46
*** thrash is now known as thrash|g0ne02:57
*** edmondsw has joined #openstack-sdks03:13
*** edmondsw has quit IRC03:17
*** bobh has quit IRC03:23
*** salv-orlando has joined #openstack-sdks03:25
*** salv-orlando has quit IRC03:30
*** bobh has joined #openstack-sdks03:31
openstackgerritHengqing Hu proposed openstack/python-openstacksdk master: Add pools attribute to load balancer heath monitor  https://review.openstack.org/52296203:33
*** d0ugal_ has joined #openstack-sdks03:50
*** d0ugal has quit IRC03:52
*** e0ne has joined #openstack-sdks03:55
*** prg3 has joined #openstack-sdks03:57
*** bobh has quit IRC03:58
*** e0ne has quit IRC04:00
*** dave-mccowan has quit IRC04:07
*** e0ne has joined #openstack-sdks04:11
*** e0ne has quit IRC04:16
*** e0ne has joined #openstack-sdks04:23
*** salv-orlando has joined #openstack-sdks04:26
*** e0ne has quit IRC04:28
*** salv-orlando has quit IRC04:30
*** e0ne has joined #openstack-sdks04:39
*** ldl has quit IRC04:44
*** e0ne has quit IRC04:44
*** e0ne has joined #openstack-sdks04:50
SamYapleTheJulia: you can put whiskey in anything if you try hard enough04:57
TheJuliaSamYaple: Indeed, although I think most people will prefer a glass of some sort.04:57
*** e0ne has quit IRC05:03
*** prg3 has quit IRC05:06
*** e0ne has joined #openstack-sdks05:07
*** prg3 has joined #openstack-sdks05:09
*** e0ne has quit IRC05:12
*** e0ne has joined #openstack-sdks05:17
openstackgerritAdrian Turjak proposed openstack/python-openstacksdk master: Stop osSDK mangling Swift metadata keys  https://review.openstack.org/52406605:22
*** e0ne has quit IRC05:22
adriantmordred: potentially awkward, but even with yaml=False, calling 'get_one_cloud' without a cloud name, it will look in local OS_* envvars. Which might be good to also disable/avoid as well as yaml checking.05:25
adriantnot that it really is likely to crop up much, but still a little weird because of how I was testing stuff. I didn't realise I had set any vars, and it seemed to pick them up and yell at me for providing domain name for token auth.05:26
*** salv-orlando has joined #openstack-sdks05:27
*** e0ne has joined #openstack-sdks05:30
*** salv-orlando has quit IRC05:32
adrianthmmmm... anyone here who has played with swift support in the openstackSDK?05:34
adriantI'm trying to do HEAD on a container to see if it exists before I try creating it.05:34
adriantbut well... `x =  conn.object_store.get_container_metadata('not_a_real_container')`   returns a valid resource object05:35
*** e0ne has quit IRC05:35
adriantit's not a 'real' container05:35
adriantbut it has some attrs05:35
adriantI can't for the life of me find a value to say "this is not a real container"05:36
adriantwhich is broken05:36
adriantlike, pretty broken05:36
adriantswiftclient sucks, but at least it throws a 404 type error05:36
*** e0ne has joined #openstack-sdks05:38
adriant`x =  conn.compute.get_server("not a real server")` does throw an error05:38
adriant`x =  conn.object_store.get_object_metadata("not a real container", "fake object")` also returns a not none value :/05:40
adriantwhile `x =  conn.object_store.get_object("not a real container", "fake object")` returns: '<html><h1>Not Found</h1><p>The resource could not be found.</p></html>'05:41
adriantwow, object_store in the SDK is broken05:41
adriantI think this is a good time to call it quits for today...05:42
*** e0ne has quit IRC05:43
*** e0ne has joined #openstack-sdks05:46
*** ldl has joined #openstack-sdks05:50
*** e0ne has quit IRC05:51
*** e0ne has joined #openstack-sdks05:57
*** e0ne has quit IRC06:02
*** e0ne has joined #openstack-sdks06:04
*** toabctl has joined #openstack-sdks06:05
*** e0ne has quit IRC06:09
*** salv-orlando has joined #openstack-sdks06:12
*** e0ne has joined #openstack-sdks06:15
*** e0ne has quit IRC06:20
*** e0ne has joined #openstack-sdks06:25
*** e0ne has quit IRC06:29
*** prg3 has quit IRC06:46
*** edmondsw has joined #openstack-sdks06:49
*** edmondsw has quit IRC06:54
*** gouthamr has quit IRC07:20
*** gkadam_ has quit IRC07:24
*** Jeffrey4l has joined #openstack-sdks07:34
*** markvoelker has quit IRC07:37
*** ralonsoh has joined #openstack-sdks07:53
*** ioggstream has joined #openstack-sdks08:01
*** slaweq has joined #openstack-sdks08:06
*** LindaWang1 has joined #openstack-sdks08:15
*** e0ne has joined #openstack-sdks08:18
*** ScrewTSW has joined #openstack-sdks08:20
*** slaweq has quit IRC08:27
*** slaweq has joined #openstack-sdks08:31
ldlcan I through the server id to get the server image snapshots?08:35
*** edmondsw has joined #openstack-sdks08:38
*** markvoelker has joined #openstack-sdks08:38
*** slaweq has quit IRC08:41
*** edmondsw has quit IRC08:42
*** slaweq has joined #openstack-sdks08:44
*** gkadam_ has joined #openstack-sdks08:46
*** jpich has joined #openstack-sdks08:55
*** fzdarsky_ is now known as fzdarsky09:06
*** tonythomas has joined #openstack-sdks09:13
*** d0ugal_ has quit IRC09:17
*** d0ugal has joined #openstack-sdks09:18
*** ScrewTSW has quit IRC09:18
*** cdent has joined #openstack-sdks09:29
*** spredzy has joined #openstack-sdks09:35
*** e0ne has quit IRC09:40
*** purplerbot has quit IRC09:42
*** LindaWang1 has quit IRC09:59
*** e0ne has joined #openstack-sdks10:01
*** purplerbot has joined #openstack-sdks10:03
*** Kevin_Zheng has quit IRC10:09
*** dgonzalez has quit IRC10:09
*** dtantsur|afk has quit IRC10:09
*** dtantsur has joined #openstack-sdks10:15
*** Kevin_Zheng has joined #openstack-sdks10:15
*** dgonzalez has joined #openstack-sdks10:15
*** dtantsur has quit IRC10:15
*** dtantsur has joined #openstack-sdks10:15
*** annp has quit IRC10:23
*** ldl has quit IRC10:24
*** salv-orlando has quit IRC10:36
openstackgerritÉdouard Thuleau proposed openstack/python-openstacksdk master: Set empty Tag list if Network Tag API extension not supported  https://review.openstack.org/52383410:43
*** ldl has joined #openstack-sdks10:46
*** salv-orlando has joined #openstack-sdks10:48
*** shu-mutou is now known as shu-mutou-AWAY10:55
*** sdague has joined #openstack-sdks11:02
*** cdent has quit IRC11:04
*** jlk has quit IRC11:12
*** jlk has joined #openstack-sdks11:12
*** jlk has quit IRC11:13
*** jlk has joined #openstack-sdks11:13
*** salv-orlando has quit IRC11:18
*** salv-orlando has joined #openstack-sdks11:32
*** cdent has joined #openstack-sdks11:35
*** jkilpatr has quit IRC11:37
*** baffle has quit IRC11:45
*** jkilpatr has joined #openstack-sdks11:56
*** dave-mccowan has joined #openstack-sdks12:06
*** thrash|g0ne is now known as thrash12:08
*** edmondsw has joined #openstack-sdks12:14
*** jkilpatr has quit IRC12:14
*** jkilpatr has joined #openstack-sdks12:17
*** edmondsw has quit IRC12:20
*** bobh has joined #openstack-sdks12:26
*** ScrewTSW has joined #openstack-sdks12:28
*** bobh has quit IRC12:30
*** cdent has quit IRC12:46
*** thrash is now known as thrash|biab12:51
*** chenybd_ has joined #openstack-sdks12:51
*** LindaWang1 has joined #openstack-sdks13:06
*** dtantsur is now known as dtantsur|brb13:13
*** edmondsw has joined #openstack-sdks13:18
*** thrash|biab is now known as thrash13:23
*** markvoelker has quit IRC13:23
*** markvoelker has joined #openstack-sdks13:24
*** LindaWang1 has quit IRC13:46
*** ldl has quit IRC13:54
*** d0ugal has quit IRC14:03
*** LindaWang1 has joined #openstack-sdks14:06
*** cdent has joined #openstack-sdks14:06
*** chenybd_ has quit IRC14:15
*** chenybd_ has joined #openstack-sdks14:15
*** chenybd_ has joined #openstack-sdks14:16
*** d0ugal has joined #openstack-sdks14:17
*** chenybd__ has joined #openstack-sdks14:26
*** chenybd_ has quit IRC14:29
mordredadriant: morning! so ...14:31
mordredadriant: good point re: yaml=False - I think what we want is a "make me one of these and only use the kwargs I'm passing, not other stuff14:31
mordredadriant: for the other thing, good to know - I know the shade layer for swift objects is good and also support for the 'use head to check if it exists' use case14:37
mordredadriant: as we work through rationalizing the shade and sdk layers, we'll make sure to fix that SDK brokenness you just reported (thanks for that btw)14:38
mordredadriant: hopefully we'll at least have a $something you can use related to the new-world-order soonish14:38
*** chenybd_ has joined #openstack-sdks14:39
*** e0ne has quit IRC14:39
*** e0ne has joined #openstack-sdks14:40
*** chenybd__ has quit IRC14:41
*** dtantsur|brb is now known as dtantsur14:42
mordreddhellmann: morning mr. "I know literally every python module that exists" ... I think I remember there being some sort of module that would let you execute example code from docs as part of tests ... do you know if that's a thing or if I'm just dreaming it?14:42
cmurphymordred: i've heard of that, i think it's this https://docs.python.org/2/library/doctest.html14:44
mordredcmurphy: ah! yes - that's what I was thinking of, thanks!14:45
mordredcmurphy: I wrote some example docs yesterday, but it turns out the examples I wrote don't work ... made me think testing examples in docs would be a good idea14:46
mordredalthough that module isn't *quite* what I was thinking - maybe I could either add support for the usage pattern I was considering, or use it as inspiration to write a thing14:47
mordredbasically very similar to https://docs.python.org/2/library/doctest.html#simple-usage-checking-examples-in-a-text-file - but finding .. code-block: python sections in rst files, and not requiring them to be interactive sessions14:48
mordredit's also possible that in this particular case it needs to be specific to shade/sdk codebase, as I probably want a requests_mock thing set up ...14:49
*** bobh has joined #openstack-sdks14:52
mordredrcarrillocruz, Shrews, jlk: https://github.com/ansible/ansible/pull/20974 has been updated (the rebase on that SUCKED)14:53
*** chenybd_ has quit IRC14:53
*** chenybd_ has joined #openstack-sdks14:54
*** chenybd_ has quit IRC14:58
Shrewsmordred: seems to have failed tests still15:02
*** marst has joined #openstack-sdks15:17
*** LindaWang1 has quit IRC15:18
*** prg3 has joined #openstack-sdks15:20
*** LindaWang1 has joined #openstack-sdks15:22
mordredyah - I'll fix that next15:24
mordredShrews: sake of argument, what do you think about this: https://gist.github.com/ce8b1c90cf972bfc104e3eb38ae74762 as an alternative approach?15:24
*** gouthamr has joined #openstack-sdks15:26
*** prg3 has quit IRC15:34
Shrewsmordred: hmm, i sort of like that15:34
mordredShrews: cool, me too ... jlk, rcarrillocruz, SamYaple: ^^ what about y'all ?15:35
rcarrillocruzthink latter is cleaner15:36
-openstackstatus- NOTICE: if you receieved a result of "RETRY_LIMIT" after 14:15 UTC, it was likely due to an error since corrected. please "recheck"15:38
*** nikhil has joined #openstack-sdks15:42
*** thrash is now known as thrash|biab15:48
*** slaweq has quit IRC15:52
thingeemordred: where are these roles defined again? https://review.openstack.org/#/c/52399315:52
*** tonythomas has quit IRC15:52
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393815:53
cdentapi-sig meeting in  #openstack-meeting-3 in a few minutes15:54
mordredthingee: in that case, tox-siblings is/was defined in openstack-infra/zuul-jobs15:59
thingeewas?15:59
mordredthingee: yah - the patch above is part of a sequence that removes the tox-siblings role - we combined its functionality into the main tox role15:59
thingeegot it15:59
thingeeright16:00
mordredthingee: but we needed to remove use of it first - that patch chain is a fun DAG of depends-on changes :)16:00
mordredI sohuld have left needed-by comments on everything to make it easier to follow :)16:00
mordredthingee: here's teh final patch: https://review.openstack.org/#/c/52399616:00
mordredthingee: that depends on all of the changes to remove the use of the role, which all in turn depends-on the change to move the functionality from tox-siblings into tox16:01
SamYaplemordred: yea seems ok. im not too fussy as long as its consistent16:02
thingeemordred: I can't even find ensure-tox role being defined16:03
mordredthingee: http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/roles/ensure-tox16:06
mordredthingee: we have a todo-list item to have zuul generate a global documentation of all the jobs and roles16:06
thingeemordred: ah ha, that's why I didn't find it.16:06
mordredthingee: we have them for each jobs/roles repo: https://docs.openstack.org/infra/zuul-jobs/ ... but since zuul knows about ALL of the jobs and roles, we figurehaving something like zuul.openstack.org/docs that has an index of all the jobs and roles, links to where they're defined, and their documentation would be *very* helpful16:07
thingeemordred: are you just looking for an auto generate approach?16:08
*** LindaWang1 has quit IRC16:08
mordredthingee: we've also talked about adding support for some explicit 'import' statements in .zuul.yaml files - along with namespacing - so you could say "import git.openstack.org/openstack-infra/zuul-jobs as zuul_jobs and then refer to things like zuul-jobs.tox-pep8 ... *handwave*16:08
mordredthingee: kind of - there are two sides to the coin - one is an index of jobs - that's already very close to being done in the new web dashboard ...16:09
mordredthingee: the second part is generating the docs - we're using sphinx in a post job right now, but if we want zuul to just have an always up to date dynamic listing of the docs, we might not want to delegate that to sphinx and may instead want to just read the rst ourselves? that part is still undefined16:10
mordredthingee: fwiw, https://review.openstack.org/#/q/topic:zuul-web+(status:open+OR+status:merged) is the series tristanC has been working on related to adding a web dashboard16:11
thingeemordred: ok, I went through your series for removal in other project's pre.yaml files.16:12
thingeeonly +116:13
thingees :)16:13
*** ScrewTSW has quit IRC16:15
*** thrash|biab is now known as thrash16:15
mordredthingee: woot! thanks16:16
rcarrillocruzmordred: so, talking to evrardjp at summit that, well, our os_* modules lacking integration tests was less than ideal. I was thinking of adding tests on our ansible zuul, but if we are going to test them at openstack-infra, can I just start writing them?16:31
rcarrillocruzmy understanding is that we already get webhooks from ansible/ansible16:32
rcarrillocruzso we could potentially just start ?16:32
mordredrcarrillocruz: yes- the plan is to start running the shade-ansible-functional-devstack jobs on them16:32
rcarrillocruzis that on hold till zuul v3, or just pending16:33
mordredrcarrillocruz: we are getting the webhooks already, but we're waiting just a little longer - we're still having a few scale issues with the gh app and missing events16:33
rcarrillocruzif pending, i'm happy to get the ball running16:33
rcarrillocruzAH16:33
rcarrillocruzthe rate limiting i assume?16:33
mordredrcarrillocruz: it's unclear - we need to dig in a little and see16:33
rcarrillocruzk, when that's sorted i'm happy to help on that, just ping me16:34
mordredrcarrillocruz: we should *probably* get this finished nad merged too: https://review.openstack.org/#/c/504267/16:34
rcarrillocruzalso, OSA folks seem interested on testing against ansible devel16:34
*** cdent has quit IRC16:34
rcarrillocruzand they bundle a few modules due to lack of os_* functionality16:35
rcarrillocruzwhich i'm hoping to tackle soon16:35
mordredrcarrillocruz: yah - I think we'll get several takers for doing cross-testing once it's there ... but I mostly want to make sure the gh/webhook stuff is stable enough so that github integration doesn't give people an impression that zuul is flaky - since for several of them it'll be their first impression16:35
rcarrillocruzlike, they have os_magnum_container16:35
mordredah - fun16:35
rcarrillocruzand some keystone stuff, cos for some reason upstream lacks some stuff16:35
mordredrcarrillocruz: jeez - we're going to have to figure out a good name for that- os_magnum_container isn't it ...16:35
rcarrillocruzlol16:36
rcarrillocruzyeah, iirc 'container' was taken by swift :S16:36
mordredrcarrillocruz: oh - the keystone stuff ... we ran in to problems trying to figure out how to deal with the v2/v3 differences in the ansible module - and I think at this point we should just maybe have an os_keystone_endpoint module that is v3 only ... nobody should be setting up new v2 endpoints16:37
mordredrcarrillocruz: yup16:37
mordredrcarrillocruz: so we need an answer for that for shade and for ansible16:37
mordredrcarrillocruz: the only magnum function we have in shade currently is cluster_template16:37
rcarrillocruzyeah, i think that's my fault16:38
rcarrillocruzi started putting magnum stuff on shade16:38
rcarrillocruzthen ELOSTJOB16:38
rcarrillocruzand you renamed it to cluster_template16:38
rcarrillocruzmeaning16:38
rcarrillocruzis a halfway work, i never completed putting magnum on it16:39
*** cdent has joined #openstack-sdks16:39
rcarrillocruzi committed to evrardjp to look at their stuff, put missing stuff on shade16:39
rcarrillocruzand mark https://github.com/ansible/ansible/issues/24197 as complete16:39
mordred++16:40
mordredwell- we have magnum enabled jobs at least, so that part is done :)16:40
*** e0ne has quit IRC16:43
dhellmanndtroyer : I have some ideas for improving cliff performance. I'm going to ask for a volunteer on the ML, but wanted to run the notes past you first in case you've already started thinking along the same lines. https://etherpad.openstack.org/p/mFsAgTZggf16:48
dtroyerdhellmann: cool, I'll have a look after lunch16:51
dhellmanndtroyer : thanks16:54
*** d0ugal has quit IRC16:55
dtroyermordred: as a follow-up to https://review.openstack.org/#/c/523520/ (shade->OSSDK rename) I proposed https://review.openstack.org/524249 to put o-c-c next to shade16:59
*** thrash is now known as thrash|biab17:01
openstackgerritDoug Hellmann proposed openstack/cliff master: add support for legacy command name translation  https://review.openstack.org/52238017:01
*** dtantsur is now known as dtantsur|afk17:03
cdentedleafe, elmiko, dtantsur|afk : https://etherpad.openstack.org/p/api-sig-newsletter17:07
*** d0ugal has joined #openstack-sdks17:09
*** kmalloc has quit IRC17:11
edleafelooking...17:13
edleafeok, just a few small changes.17:15
cdentyeah, good, thanks edleafe17:16
cdentaway17:17
cdentas in, thar she blows17:17
cdentdtantsur|afk: you should see your +2 (if I’ve done it right)17:17
*** gkadam_ has quit IRC17:22
openstackgerritMerged openstack-infra/shade master: Avoid tox_install.sh for constraints support  https://review.openstack.org/50806117:23
*** d0ugal has quit IRC17:24
openstackgerritMerged openstack/python-openstacksdk master: Remove use of tox-siblings role  https://review.openstack.org/52399317:30
*** d0ugal has joined #openstack-sdks17:35
*** jpich has quit IRC17:44
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393817:45
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393817:47
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393817:48
*** david-lyle has joined #openstack-sdks17:51
*** nikhil has quit IRC17:51
thingeewith the merging of shade and python-openstacksdk, are extensions still going to be supported https://review.openstack.org/#/c/523834/ - shade normalized things is why I'm asking18:05
*** ralonsoh has quit IRC18:18
*** jkilpatr has quit IRC18:23
mordredthingee: we support some openstack extensions in shade already, so I thnk so - the main thing froma shade pov is in whether or not the extension in question can be exposed/presented in a way that makes sense or degrades in a reasonable way18:29
mordredthingee: like, if an extension adds a field to a resource, then we can always add that field to our returned data model and just fill in None if the cloud doens't have the extension ... or if the same info is given by different extensions slightly differently and we can rationalize it - then we can try to do that18:30
mordredthingee: but some extensions are things that don't make much sense in a general context - like something that exposed vendor-specific attributes - and those are ones we'd never add to the data model18:31
mordredthingee: long-winded way of saying "it depends/case-by-case" for the shade layer ... the sdk object layer is somewhat similar to shade's data model, but it's also closer to exposing the details of the cloud in question - so I could see an argument for some variation to be exposed, along with discovery flags, at thatlayer18:32
*** ioggstream has quit IRC18:32
mordredthingee: in the case of https://review.openstack.org/#/c/523834/ - that particular case seems reasonable for the responses - tags are a neutron feature that a deployer may or may not have enabled, so defaulting them to [] seems maybe reasonable?18:34
thingeeyeah got it, thanks18:34
thingeeand yes I agree it's reasonable18:34
mordredotoh - I'm not sure what the experience is going to be for a user that tries to add a tag to a resource on a cloud that doesn't support it - and I'm not sure that patch addresses that18:34
mordred(it's also possible that's already handled in the existing code, I need to go look)18:35
*** jkilpatr has joined #openstack-sdks18:39
*** fzdarsky is now known as fzdarsky|afk18:39
*** openstackgerrit has quit IRC18:48
thingeemordred: pretty sure that's just going give a 404 http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/openstack/network/v2/tag.py#n2718:54
thingeejust being a keystone session request.18:55
*** gkadam has joined #openstack-sdks18:58
thingeemordred: I'll check around for other instances, but this should probably have the _has_neutron_extension('tags') check and raise like the other place shade does it18:59
thingeeyuk18:59
*** thrash|biab is now known as thrash19:04
*** test234 has joined #openstack-sdks19:26
*** test234 has left #openstack-sdks19:26
*** cdent has quit IRC19:31
*** jkilpatr has quit IRC19:39
*** baffle has joined #openstack-sdks19:52
*** kmalloc has joined #openstack-sdks20:07
thingeeinstalling the latest python-openstacksdk, if I call openstack.OpenStackCloud()  I get http://paste.openstack.org/show/627928/20:38
*** e0ne has joined #openstack-sdks20:39
thingeeah I guess get_one_cloud() doesn't just get one without something passed in kwargs20:39
mordredthingee: yah - you need to give it at leat a cloud=20:43
mordreddtroyer: I've got 3 different keystoneauth patches I need to rebase/fix and get landed - would you like me to take a stab at taking the timing wrapper you have in osc and putting it directly on ksa.session?20:44
mordreddtroyer: since I'll be in there anyway?20:44
*** openstackgerrit has joined #openstack-sdks20:45
openstackgerritAndreas Jaeger proposed openstack/os-api-ref master: void tox_install.sh for constraints support  https://review.openstack.org/52434420:45
*** e0ne has quit IRC20:58
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-clientify baremetal create/delete  https://review.openstack.org/50011921:00
*** gkadam has quit IRC21:01
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify baremetal machine port list  https://review.openstack.org/50012021:02
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify machine patch operations  https://review.openstack.org/50012121:02
dtroyermordred: sure, I don't mind.  I think we'll want to land a compat check into osc-lib for that, especially if you don't put it into Session21:04
dtroyerthe version in osc itself appears to be unused and I never got around to removing it21:04
thingeemordred: so there are two interfaces to python-openstacksdk? I can openstack.OpenStackCloud.update_qos_policy() or use openstack.network.v2.qos_policy21:05
thingeemordred: Is there anywhere written of what the plan is there?21:06
openstackgerritAndreas Jaeger proposed openstack/os-api-ref master: Avoid tox_install.sh for constraints support  https://review.openstack.org/52434421:06
*** jkilpatr has joined #openstack-sdks21:09
openstackgerritMonty Taylor proposed openstack/os-api-ref master: void tox_install.sh for constraints support  https://review.openstack.org/52434421:09
openstackgerritMonty Taylor proposed openstack/os-api-ref master: Add os-api-ref-nova-src job  https://review.openstack.org/52435321:09
mordredthingee: yes! there are two interfaces, and there is a plan written down ... (and also there is a plan to make the two interfaces be less completely different)21:10
mordredthingee: oh - I lied - there is a document, but it does not contain words about this - lemme fix21:11
briancurtinthingee: hello21:12
openstackgerritAndreas Jaeger proposed openstack/os-api-ref master: Add os-api-ref-nova-src job  https://review.openstack.org/52435321:15
thingeebriancurtin: hi21:16
openstackgerritAndreas Jaeger proposed openstack/os-api-ref master: Add os-api-ref-nova-src job  https://review.openstack.org/52435321:18
openstackgerritAndreas Jaeger proposed openstack/os-api-ref master: Avoid tox_install.sh for constraints support  https://review.openstack.org/52434421:18
briancurtinthingee: i ran by Sizzle Pie the other day. just thought you should know21:18
thingeebriancurtin: and you didn't go in?21:19
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update the shade-merge document  https://review.openstack.org/52439121:19
mordredthingee: ^^ ok - I updated that doc a bit- it should probably be fundamentally rewritten and moved somewhere more discoverable21:20
briancurtinthingee: unfortunately not. a mid-run pizza didn’t sound great at the time, but actually sounds great now21:20
mordredbriancurtin: the concept of a mid-run pizza might almost be enough to convince me to run21:22
thingeemordred: thanks21:22
mordredalthough I'd probably just end up skipping the first part of the run, going straight for pizza, then skipping the second part because I'm full21:22
* dtroyer catches up… 'mid-run' is literal here, not 'stopped in' :)21:22
mordredthingee: oh - it occurs to me there's another thing to put in there ...21:23
adriantmordred: I honestly don't mind working on bugs in the SDK, so potentially I'll get distracted and submit some patches for the Swift issues I've found.21:26
mordredadriant: woot!21:26
adriantmordred: and yes a function of flag for "a connection with just these args thanks" would be amazing.21:27
adriantor* flag21:27
openstackgerritJulia Kreger proposed openstack-infra/shade master: Remove version arg from updated ironic calls  https://review.openstack.org/52439321:28
adriantmordred: I submitted one patch already for swift related nonsense: https://review.openstack.org/#/c/524066/21:28
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update the shade-merge document  https://review.openstack.org/52439121:30
openstackgerritKrzysztof Klimonda proposed openstack-infra/shade master: Prioritize external networks for assigning FIP to instance  https://review.openstack.org/52439621:35
*** dave-mccowan has quit IRC21:35
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Remove a bunch of things we promised to remove in 2H 2017  https://review.openstack.org/52439921:40
openstackgerritMonty Taylor proposed openstack/os-api-ref master: Add os-api-ref-nova-src job  https://review.openstack.org/52435321:45
openstackgerritMonty Taylor proposed openstack/os-api-ref master: Avoid tox_install.sh for constraints support  https://review.openstack.org/52434421:45
TheJuliamordred: so hit a minor issue. python-ironicclient has retry logic baked in for handling nodes locked by the conductor. Any thoughts? I'm thinking the least invasive would be just to double check for the locks before operations that could be blocked by them and wait for the lock to clear, which would clear until ironic likely needs to go re-check the power state.22:00
mordredTheJulia: ah- interesting ... and yes, that seems like a good plan ... altough I suppose there's a race condition there and that something could still lock between the check and the operation - so we still probably want to handle geting a node-locked error22:04
TheJuliaYeah...22:05
adriantmordred: omfg. my notfound 404 issue. it's simple. no one stuck `exceptions.raise_from_response(resp)` in the _head function22:09
adriantalthough I'm curious if that breaks anything else22:09
adriantwill submit a patch and we can test/review22:09
mordredadriant: woot!22:10
TheJuliamordred: I guess it only really matters on actions that are actually trying to make a change that requires a lock in the first place22:12
* TheJulia wonders why port deletion even requires a lock....22:12
dtroyerthat sounds like it involved neutron…. where I think the only atomic operation is "halt"22:16
*** marst has quit IRC22:19
TheJuliaI guess there could be code someplace that requires the task object to be re-read, which could make things... fun if someone deleted ports while a task was running in ironic22:19
*** edmondsw has quit IRC22:24
*** edmondsw has joined #openstack-sdks22:24
*** edmondsw has quit IRC22:25
*** edmondsw_ has joined #openstack-sdks22:27
*** edmondsw_ has quit IRC22:31
openstackgerritMerged openstack-infra/shade master: De-clientify baremetal create/delete  https://review.openstack.org/50011922:33
openstackgerritMerged openstack-infra/shade master: De-client-ify baremetal machine port list  https://review.openstack.org/50012022:33
openstackgerritMerged openstack-infra/shade master: De-client-ify machine patch operations  https://review.openstack.org/50012122:33
openstackgerritLance Bragstad proposed openstack/python-openstackclient master: Add system role functionality  https://review.openstack.org/52441622:45
openstackgerritAdrian Turjak proposed openstack/python-openstacksdk master: Swift 404s to raise NotFound correctly  https://review.openstack.org/52441822:51
adriantmordred: this fixes my current swift issues with 404: https://review.openstack.org/#/c/524418/22:52
adriantpotentially may break other APIs that use HEAD differently, but I doubt it22:52
adriantI think someone just forgot to add that function all to resource.head22:52
adriantfunction call*22:52
openstackgerritMerged openstack-infra/shade master: Remove version arg from updated ironic calls  https://review.openstack.org/52439322:57
openstackgerritBrian Haley proposed openstack/python-openstackclient master: Display IPv6 addresses better  https://review.openstack.org/52442022:57
*** bobh has quit IRC23:01
*** thrash is now known as thrash|g0ne23:26
thingeeadriant: curious why the key would be in the values?23:36
thingeefor https://review.openstack.org/#/c/524066/123:36
thingeeadriant: nevermind, found the storyboard ticket with the info23:37
mordredShrews, briancurtin, dtroyer, SamYaple, thingee, TheJulia: I have discovered that pypy unittests are basically unpossible in the gate atm (the version of cryptography in global-requirements is not compatible with the version of pypy in xenial)23:38
TheJuliaugh23:39
mordredthere is a ppa that has newer pypy, but that'll take a decent amount of consideration to deal with broadly - so I leaning toward just disabling the pypy tox env for now23:39
mordreduntil we can get a job set up that will *actually* test it23:39
mordred(it's been green so far because of a different bug that has caused it to not actually use pypy - fixing that causes the job to start (correctly) failing)23:40
*** salv-orlando has quit IRC23:41
dtroyermordred: ++ on disabling for now… I'd say make it experimental but we know it's never going to actually work without tasks elsewhere first23:42
mordredyah, that was my thinking23:42
dtroyermordred: fwiw, I'm testing a fix for OSC's -tips job… I finally duplicated it here23:42
mordredHOWEVER - I just had another idea I'm going to try out REAL quick ... we could tell it to run on fedora26 nodes instead of xenial nodes ...23:42
mordreddtroyer: woot!23:43
dtroyerI'd support the fedora alternative23:43
* mordred double-checking versions real quick - if it's new enough I'll push up a patch to try it out23:43
mordredyah. fedora-26 has new enough ...23:44
dtroyeryou're going to love what the problem was :)  if it succeeds here I'll push it up and see if you have a thought on what the correct fix actually is23:45
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Fix py35 and pypy tox env  https://review.openstack.org/52338323:46
mordreddtroyer: I can't wait :)23:46
mordreddtroyer: that *should* work for pypy ^^ - and is also a nice example of using a pre-existing job but overriding the node type :)23:47
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393823:47
dtroyerI think it's past the failure point   ^^^^^23:47
mordreddtroyer: oh. yah. whoops.23:47
dtroyerthe question is what _is_ the correct thing to check for in that case, since it's SDK/Shade not o-c-c23:48
dtroyerthis works though23:48
dtroyerdamn… sopke too soon23:48
mordredyup. I think that's the right thing to check for for now23:48
mordredbut I'm clearly not correct23:49
dtroyerit still took the 'old' branch, I think I'm not setting this up right…oh wait, … nevermind, let's let it run in the gate, it should work in spite of my local pilot error23:49
dtroyerdinnertime, will check up later23:50
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Fix py35 and pypy tox env  https://review.openstack.org/52338323:56
mordreddtroyer: I have the log stream open in a tab and am waiting to see it be happy23:58

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