Tuesday, 2017-09-05

*** gouthamr has quit IRC02:08
*** gkadam has joined #openstack-shade02:15
*** gkadam has quit IRC02:17
*** gkadam has joined #openstack-shade02:18
TheJuliamordred: two questions: If I'm creating discovery fixture data, is it just the main version, or should there be a version for relevant microversions to match (mainly asking because the context gain seems to be huge otherwise). Second question, any hints on getting all of the required fixture data in-place. As far as I can tell I have everything in place based on the example, and a few other examples, but yet02:41
TheJuliarequests_mock.exceptions.NoMockAddress is all I seem to get back when I call something like op_cloud.list_machines (hence the feeling I'm missing something, somewhere....).02:41
*** slaweq has joined #openstack-shade04:03
*** slaweq has quit IRC04:08
*** ioggstream has joined #openstack-shade07:18
*** slaweq has joined #openstack-shade07:29
*** slaweq_ has joined #openstack-shade08:04
*** slaweq_ has quit IRC08:08
*** ioggstream has quit IRC09:38
*** Shrews has quit IRC10:16
*** ioggstream has joined #openstack-shade10:29
*** Shrews has joined #openstack-shade10:43
*** gkadam has quit IRC10:57
*** ioggstream has quit IRC11:09
*** thrash|g0ne is now known as thrash11:39
*** ioggstream has joined #openstack-shade12:29
*** thrash is now known as thrash|biab12:50
*** gouthamr has joined #openstack-shade13:13
*** thrash|biab is now known as thrash13:22
mordredTheJulia: good questions ... we haven't done a microversion test yet - so I think for now just main version14:16
mordredTheJulia: can you push up what you've got re: fixture data?14:16
TheJuliawell, not even that far yet :(14:16
TheJuliayeah, give me a couple to clean it up and I'll push it14:17
TheJuliaactually, fixture data is already there unless discovery is in use14:20
TheJuliaanyway, pushing tests in a minute14:20
mordredindeed -  but discovery will pretty much always need to be there for ironic since microversions - I've got a patch to add the plumbing for that14:24
openstackgerritJulia Kreger proposed openstack-infra/shade master: Correct baremetal fake data model  https://review.openstack.org/50084614:28
openstackgerritJulia Kreger proposed openstack-infra/shade master: WIP: Begin converting baremetal node tests  https://review.openstack.org/50084714:28
TheJuliamordred: agreed, but not needed to start out updating the testing at the moment14:30
mordredTheJulia: oh - interesting ... I think I see what you're hitting ...14:34
TheJuliaGood, or bad?14:36
mordredTheJulia: ok - several things, one of which makes me mildly stabby14:48
TheJuliarutro14:49
mordredbut lemme finish a patch real quick, then I'll rant for a sec14:49
TheJuliaokay14:49
mordredTheJulia: SO ... there are two interelated issues so far15:09
mordredTheJulia: the first is that ironicclient just appends a /v1 to the end of the endpoint from the catalog, which we copy for parity sake in baremetal_client15:09
mordreditdoes this to avoid discovery calls, since there is only one major version of ironic anyway15:09
mordredthat would be mostly fine ...15:10
mordredEXCEPT - Ihave just discovered that the versioned discovery doc (the thing returned by GET /v1) does look like any of the rest of the versioned discovery docs in openstack, so the discovery support we just added to ksa will break if we do this how we're doing it15:11
mordredsince what we've been doing is passing in urljoin(catalog_endpoint, '/v1') to endpoint_override in the constructor15:11
mordredthe reason that will break is that when ksa does go to do discovery to find microversion information, it'll do a GET on the URL that we gave it for endpoint_override15:11
mordredand it won't find a version discovery document there15:12
mordredSO ... we have to approach the "make baremetal_client and ironic_client do the same thing WRT discovery" slightly differently15:12
mordredalso - I think we need to add a couple of patches to ksa to handle what ironic does pass back, for completeness15:12
mordredpatch for that coming in a sec15:14
TheJuliaugh15:17
TheJuliano wonder stabby/ranty :(15:17
mordredyah15:24
*** thrash is now known as thrash|biab16:04
mordredTheJulia: k. I have working updated patch - update coming in just a sec16:12
*** ioggstream has quit IRC16:22
* TheJulia is in no rush, ERRTOOMANYDISCUSSIONS16:41
SamYaplesooo not to bug. but any chance of getting a shade tag? i am stalled at work until i have a new tag16:43
SamYapleok maybe i mean to bug a little bit16:44
openstackgerritMerged openstack-infra/shade master: Correct baremetal fake data model  https://review.openstack.org/50084616:45
*** thrash|biab is now known as thrash17:00
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Remove User from Group  https://review.openstack.org/49936017:10
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: Remove improper exc handling in is_user_in_group  https://review.openstack.org/50056017:10
*** thrash is now known as thrash|bbl17:10
samueldmqmordred: ^ rebasing to see if jenkins get happier17:11
samueldmqnot conflict. not sure what the merging issue was17:11
mordredsamueldmq: yah - there was an issue with zuulv3 that was my fault17:11
samueldmqmordred: is it all fixed now ?17:12
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify User Password Update  https://review.openstack.org/50093017:19
*** gouthamr has quit IRC17:32
samueldmqmordred: when you say17:34
samueldmq"When this changes to REST, force interface=admin in the adapter call"17:34
samueldmqare you referring to identity v2.0 calls only ?17:34
samueldmqor is there a reasoning to force admin interface in v3 calls as well?17:34
SamYaplein v3 the 5000 and 35357 provide the same funcationlity (i actually only run v3 and only run one service on port 5000)17:36
SamYapleis that refering to the endpoint to choose?17:36
SamYaplebecause i use internal and public differently. i thought that info was pulled through OSCC17:36
samueldmqSamYaple: that's a good question. I guess 35357 is what we refer to when enforcing admin interface in v2.017:40
samueldmqthey even had different behaviors depending on the admin vs "normal" endpoint17:41
SamYapleafaik only keystone v2.0 is like that. definetely not keystone v3, and i dont think any other service acts like that17:41
samueldmqso I think forcing admin in the adapter call is for v2.0 only, so we make sure to use the right endpoint (with that specific port)17:41
samueldmqSamYaple: I agree17:42
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Endpoint Delete  https://review.openstack.org/50094317:51
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Endpoint Delete  https://review.openstack.org/50094317:56
*** thrash|bbl is now known as thrash17:57
*** gouthamr has joined #openstack-shade17:59
mordredsamueldmq: v2 only18:19
mordredsamueldmq: and for the reason samueldmq mentioned18:19
mordredgah18:19
mordredSamYaple:18:19
* mordred gives up typing18:20
openstackgerritMonty Taylor proposed openstack-infra/shade master: Begin converting baremetal node tests  https://review.openstack.org/50084718:43
mordredTheJulia: ^^ that fixes the things that needed to be fixed and adds a base class for you that might reduce typing just a smidge18:44
SamYapleam i the only one that likes mindless typing from time to time?18:44
TheJuliamordred: ooohhh! thanks!18:44
mordredSamYaple: oh - I LOVE mindless typing from time to time :)18:44
SamYapleniiice18:45
mordredTheJulia: I also found a bug in ksa around version discovery which is sadmaking for ironic/bifrost, as both the shiny new 'none' plugin and the old hack we used of 'admin_token' are both missing methods18:45
mordredTheJulia: I have a patch to ksa to fix it, and the shade patch above works both with patched and unpatched18:45
*** dtroyer has quit IRC19:00
*** dtroyer has joined #openstack-shade19:01
TheJuliasigh19:04
TheJuliaagain thanks!19:04
*** slaweq_ has joined #openstack-shade19:21
*** slaweq_ has quit IRC19:34
*** slaweq_ has joined #openstack-shade19:35
*** ioggstream has joined #openstack-shade19:38
*** slaweq_ has quit IRC20:57
*** slaweq_ has joined #openstack-shade20:58
*** gouthamr has quit IRC21:05
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify User Password Update  https://review.openstack.org/50093021:23
samueldmqmordred: ^ I was getting a pep8 error on that21:23
samueldmq"_tasks imported but not used" in openstackcloud21:23
samueldmqthat's a good error to see isn't it?21:24
SamYapleyes!21:24
samueldmq:)21:24
mordredsamueldmq: \o/21:24
samueldmqwe still need to get rid of it in operatorcloud21:25
samueldmqbut that's some progress, yes21:25
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Endpoint Delete  https://review.openstack.org/50094321:27
SamYaplegood progress21:27
SamYaplefor sure21:27
*** slaweq_ has quit IRC21:57
openstackgerritMerged openstack-infra/shade master: De-client-ify Remove User from Group  https://review.openstack.org/49936022:16
*** gouthamr has joined #openstack-shade23:16
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Role Grant and Revoke  https://review.openstack.org/50103923:59

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