Earlier  
Posted Nick Remark
#openstack-sdks - 2018-06-13
14:53:18 mordred kmalloc: yah
14:53:23 mordred cdent: totally.
14:53:23 cdent but we are in the reality we are in so...
14:53:28 kmalloc cdent: please please please don't do version numbers in urls if you can avoid.
14:53:38 kmalloc cdent: so.. i am with you there
14:53:58 kmalloc mordred: how bad would it be to cut a ksa2 and drop compat behaviors [for sdk]
14:54:00 cdent kmalloc: yeah, don't plan to: placement was designed from the outset to never do that
14:54:10 kmalloc and start iterating on that instead of ksa1 continues?
14:54:21 kmalloc cdent: ++ and i appreciate that so very much!
14:54:23 mordred kmalloc: I don't think it would be _bad_ - but I think it would take us a few months
14:54:49 kmalloc mordred: well we'd need to ksa2 work anyway. i'm inclined to talk to lbragstad about it
14:54:56 mordred kk
14:55:04 kmalloc ksa1 is pretty stable, and we could make ksa2 just without all the icky compat stuff.
14:55:23 cdent can you guys speculate what ksa or the sdk would do if I set the href for the self link to ''
14:55:41 mordred I'll show you the code
14:56:04 cdent I want to do that because no where in placement does placemet know its own scheme, hostname, port, base url. And it is very important that it stay that way
14:56:36 cdent sorry about my n key
14:56:40 mordred cdent: https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/discover.py#L406-L426
14:57:42 mordred (although there is a bug in that that needs fixing)
14:57:50 cdent I read that as "should be okay": it will result in the discovery url, which is what we want
14:58:22 mordred cdent: yes. I believe that is true - also, we can make mnaser deploy it and we can find out for sure ;)
14:58:43 kmalloc cdent: it should work afaict.
14:59:08 kmalloc but, honestly,sometimes discovery stuff is wonkier than expected -- we have a lot of carry-over magic in lots of places.
14:59:23 cdent yeah, we shall see
15:00:39 mordred cdent, kmalloc: yup. this is the result of having to support the epic amount of incompatible pre-existing mush
15:01:01 mnaser i don't mind making changes if they're not too wild
15:02:50 mordred mnaser: btw - placement_enpdoint_override just worked for me
15:02:57 mordred placement_endpoint_override: http://placement-ca-ymq-1.vexxhost.net/
15:03:07 mnaser maybe because i'm using os_client_config i guess
15:03:11 mnaser wait wait wait
15:03:18 mnaser mordred: remember the bug i mentioned about endpoint override not working?!
15:03:26 mnaser you fixed it but we might not had a release since
15:03:29 mordred yah
15:03:31 mordred ah
15:03:37 mordred yah - we need a release
15:03:47 mnaser https://review.openstack.org/#/c/565489/
15:08:10 frickler mordred: nothing obvious on https://review.openstack.org/#/c/557935/ for me, either. though I seem to remember having seen this fail earlier with what I suspected to be race conditions, but on the detach side
15:09:03 frickler mordred: might either be an unstable test and the two in a row just unlucky, or some subtle change in timing somewhere
15:09:36 mordred frickler: nod. I'll recheck again just to be sure
15:10:26 frickler mordred: yeah, if that still has the same failure, I'll start comparing versions with the passing runs earlier
15:14:40 cdent woot on 565489
15:19:45 cdent mordred, mnaser, kmalloc https://review.openstack.org/575117 updated to add links
15:22:30 mnaser if that seems okay to mordred and other reviews i can push that up to test
15:25:09 mordred mnaser: I think it's worth trying - also, we totally need to make an sdk release
15:27:22 mnaser mordred: ill wait for some nova reviews to roll in before i make that change
15:32:57 kmalloc cdent: ++
16:16:49 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Add test to verify behavior on '' in self link https://review.openstack.org/575158
16:17:21 mordred cdent, kmalloc, mnaser: ^^ that satisfies me that the link of '' from placement will do the right thing from sdk
16:17:47 kmalloc mordred: are we cross-gating sdk and ksa?
16:17:54 kmalloc if not, lets get that encoded in a test in KSA too
16:18:01 kmalloc i don't want to accidently break someone down the line.
16:18:15 mordred we are
16:18:17 kmalloc because the behavior changes because of some other "fix" that we miss.
16:18:20 kmalloc ok cool
16:18:23 kmalloc wfm then
16:18:24 mordred and yes - I think a test for that case in ksa is a good idea
16:18:31 mordred but also we cross-gate :)
16:18:51 kmalloc cross-gate makes me happy. i wont ever say no to more quality behavior tests ;)
16:19:33 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Add tests to verify behavior on '' in self link https://review.openstack.org/575158
16:19:49 mordred cdent: ^^ added a second test just to verify microversion info is found correctly
16:22:38 cdent mordred: Imma have to take your word for it, that last test its hard to tell what it is actually doing
16:22:48 cdent but overall sanity seems to be in place
16:25:45 mordred cdent: the last test is basically just showing that the metainfo about the service's endpoint (placement.get_endpoint_data()) contains the microversion info that's in the discovery document ... namely that keystoneauth properly discovered the microversion ranges
16:25:53 mordred cdent: but - taking my word for it is also fine :)
16:27:04 cdent yeah, i figured that out once I read the json files, but the assert_calls remains dark
16:40:39 mnaser i like that test, ill keep an eye on it
16:46:48 mordred cdent: yah - for that you have to know a bit more about all of the requests_mock fixtures in that test suite
16:47:30 mordred cdent: the point of "assert_calls()" is to make sure that at the end of the test the http calls you told it to mock were all called and nothing was called that you didn't tell it to mock
16:47:52 cdent
16:48:04 mordred keeping in mind that the base class already mocks out the "get me a token" interaction from keystone
19:36:32 openstackgerrit Lance Bragstad proposed openstack/python-openstackclient master: Implement support for project limits https://review.openstack.org/575211
19:36:32 openstackgerrit Lance Bragstad proposed openstack/python-openstackclient master: Implement support for registered limits https://review.openstack.org/574475
22:22:35 openstackgerrit Adam Harwell proposed openstack/python-openstackclient master: Add ability to filter image list by tag https://review.openstack.org/575256
22:48:45 openstackgerrit Adam Harwell proposed openstack/python-openstackclient master: Add ability to filter image list by tag https://review.openstack.org/575256
23:14:18 rm_work running into some issues with openstacksdk between 0.9.19 and 0.10.0 with networking commands, maybe something with version discovery on old clouds?
23:14:47 rm_work I was gonna go through the commits and see if I could figure out what might have caused it, but noticed that between 0.9.19 and 0.10.0 the repo more than doubled in commit count T_T
23:14:48 rm_work anyone have any immediate thoughts about what might be going on?
23:18:50 rm_work http://paste.openstack.org/show/723420/
#openstack-sdks - 2018-06-14
01:02:10 openstackgerrit Dongcan Ye proposed openstack/python-openstackclient master: Network: Add tag support for security group https://review.openstack.org/547733
02:53:52 openstackgerrit Lance Bragstad proposed openstack/python-openstackclient master: Implement support for registered limits https://review.openstack.org/574475
03:06:02 openstackgerrit yanpuqing proposed openstack/python-openstackclient master: Do not require port argument when updating floating IP https://review.openstack.org/575057
08:29:03 frickler rm_work: your trace looks weird, can you show the same trace from a working environment (using 0.9.19 I assume)?
08:37:08 openstackgerrit Sami Makki proposed openstack/python-openstackclient master: Fix the `role implies list` command. https://review.openstack.org/557359
08:40:34 openstackgerrit yanpuqing proposed openstack/osc-lib master: Delete the output in "find_bulk" api https://review.openstack.org/575372
10:22:01 openstackgerrit tianhui proposed openstack/python-openstackclient master: WIP: Compute: Add description support for flavor https://review.openstack.org/575390
11:10:45 frickler mordred: fyi, this is the detach_fip failure I mentioned earlier, together with another set of these bloo^H^Hinking unstable volume tests http://logs.openstack.org/59/557359/9/check/osc-functional-devstack-tips/afca297/testr_results.html.gz
11:14:03 frickler mordred: last failure in https://review.openstack.org/557935 also only has volume issues now, so with another 15 rechecks you might get two in a row to pass. probably would be good to get some cinder folk involved instead
11:55:51 openstackgerrit tianhui proposed openstack/python-openstackclient master: WIP: Compute: Add description support for flavor https://review.openstack.org/575390
12:20:40 mordred rm_work: I'd skip straight to 0.13 if you can - 0.10 was a little awkward. from the looksof that traceback it looks like an issue with version discovery and neutron
12:21:01 mordred I believe post-0.10 we added a hack back in to skip discovery for neutron since there are some broken things aout it
12:42:49 mordred frickler: ugh
12:58:27 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Turn OSC tips jobs non-voting https://review.openstack.org/575425
12:58:31 mordred frickler: ^^ I give up
13:03:46 openstackgerrit Jens Harbott (frickler) proposed openstack/python-openstackclient master: Fix subnet host_routes error https://review.openstack.org/540568
13:10:19 frickler mordred: that's sad, I was hoping we could isolate failing tests and get tempest to skip them, but I don't have the energy to go through that myself, either. so probably we'll just have to do the same for osc
13:10:22 frickler dtroyer: ^^
13:13:52 mordred frickler: yeha - I mean, I want to fix them ... but I have a hunch it'll take a while for us to have the collective energy/time to do so
13:14:52 mordred frickler: feel like giving the sdk patch a +2?
13:15:03 mordred Shrews: if you're around ... https://review.openstack.org/575425
13:15:12 openstackgerrit Steve Martinelli proposed openstack/python-openstackclient master: Add ability to filter image list by tag https://review.openstack.org/575256

Earlier   Later