Thursday, 2019-08-08

*** slaweq_ has joined #openstack-sdks00:11
*** slaweq_ has quit IRC00:15
*** ricolin has joined #openstack-sdks01:03
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504901:44
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504901:46
openstackgerritMerged openstack/keystoneauth master: Add remove_service to token fixtures  https://review.opendev.org/67517401:47
*** slaweq_ has joined #openstack-sdks02:10
*** slaweq_ has quit IRC02:15
*** adriant has quit IRC02:54
*** whoami-rajat has joined #openstack-sdks03:12
*** gtema has joined #openstack-sdks03:24
*** gtema has quit IRC03:29
*** gkadam has joined #openstack-sdks03:31
*** gkadam has quit IRC03:40
*** slaweq_ has joined #openstack-sdks04:10
*** slaweq_ has quit IRC04:15
*** adriant has joined #openstack-sdks04:45
*** Luzi has joined #openstack-sdks05:00
*** dave-mccowan has quit IRC05:03
*** slaweq_ has joined #openstack-sdks06:11
*** slaweq_ has quit IRC06:16
*** ralonsoh has joined #openstack-sdks06:25
*** slaweq_ has joined #openstack-sdks06:59
*** tosky has joined #openstack-sdks07:17
*** gtema has joined #openstack-sdks07:26
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:27
*** gtema has quit IRC07:30
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:30
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:31
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:33
*** dtantsur|afk is now known as dtantsur07:43
*** jpich has joined #openstack-sdks08:02
*** e0ne has joined #openstack-sdks09:04
*** cdent has joined #openstack-sdks09:07
*** gtema has joined #openstack-sdks09:28
*** gtema has quit IRC09:32
stingrayzaHi folks. I have a question about the os_zone ansible module. is this the right place, or should I take it over to one of the ansible channels?09:38
fricklerstingrayza: I've seen people discuss ansible pull requests here, so you aren't too much off here I'd say09:51
*** dmellado has quit IRC09:53
stingrayzanot so much a PR discussion, but I just want to sound something out before I log an issue...09:54
stingrayzalet me create a pastebin quick09:54
*** dmellado has joined #openstack-sdks09:55
fricklerstingrayza: you can use paste.openstack.org instead of some advertisement-heavy pastebin09:55
stingrayzafrickler: thanks ;) exactly where I was. sorry - call it pastebin out of habit :)09:57
openstackgerritLoan Harrouin proposed openstack/openstacksdk master: Add get_actions for server resource  https://review.opendev.org/67511310:03
stingrayzaWhen I (try) create a zone using os_zone, I get an error "Zone xxxx not found" - but creating it via the cli works (and then os_zone passes) http://paste.openstack.org/show/755646/10:06
stingrayzajust wanted to check I'm not doing anything silly in my os_zone command10:07
stingrayza(triple checked the docs)10:07
fricklerstingrayza: ya, I can reproduce this, seems os_zone tries to update the zone instead of creating it: http://paste.openstack.org/show/755648/10:49
fricklermordred: mugsie: ^^10:49
stingrayzafrickler: thanks! I'll log an issue - and take a squiz at the code to see if I can submit a PR to fix ;)10:51
fricklerstingrayza: mordred: fyi, this looks like a regression in openstacksdk, with 0.31.0 I don't see the error, just with 0.32.011:00
*** jpich has quit IRC11:02
fricklerconn.get_zone('missing.com.') now returns False instead of None, failing the check in https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/openstack/os_zone.py#L19711:16
fricklerlooks like gtema's patch introduced this https://review.opendev.org/665435 Switch cloud layer to use proxy for DNS11:17
*** tobiash has quit IRC11:18
*** tobiash has joined #openstack-sdks11:20
mordredfrickler: poo. we have another patch up to fix an ansible regression - lets fix this one too11:23
*** tobiash has quit IRC11:24
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix dns return values  https://review.opendev.org/67529811:25
mordredfrickler: ^^11:25
mordredShrews, dtantsur: ^^ I can respin the release request with that included (which will also get us a release note for the other fix)11:25
*** tobiash has joined #openstack-sdks11:26
fricklermordred: commented, you've uncovered more inconsistencies11:29
mordredfrickler: replied - want me to update the docstring there real quick?11:30
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix dns return values  https://review.opendev.org/67529811:30
mordredthere ya go :)11:30
fricklermordred: if this is really a doc bug instead of a behaviour change, then I'm fine with it11:30
fricklermordred: let me do a quick crosscheck against 0.31.011:31
fricklermordred: o.k., 0.31.0 returned None there, too, so that's o.k., then11:33
mordredcool11:37
fricklermordred: but I'd actually tend to agree with Thierry on that the release might better be 0.33.0 than 0.32.111:39
stingrayzafrickler, mordred: fantastic! thanks gents :D11:44
stingrayzaat least I know I wasn't going mad ;D11:44
stingrayza^ my default position when I find a bug.11:45
openstackgerritBrin Zhang proposed openstack/python-openstackclient master: WIP: Add server migration list CLI  https://review.opendev.org/67530411:49
openstackgerritMaxim Babushkin proposed openstack/openstacksdk master: Add 'tag' support to compute with supported microversion  https://review.opendev.org/67530611:50
openstackgerritMaxim Babushkin proposed openstack/openstacksdk master: Add 'tag' support to compute with supported microversion  https://review.opendev.org/67530611:52
openstackgerritLoan Harrouin proposed openstack/openstacksdk master: Add get_actions for server resource  https://review.opendev.org/67511311:53
mordredfrickler: yeah - agree re: 0.3311:58
*** jpich has joined #openstack-sdks12:02
*** cdent has quit IRC12:04
*** ricolin_ has joined #openstack-sdks12:05
*** ricolin has quit IRC12:07
*** jpich has quit IRC12:09
*** jpich has joined #openstack-sdks12:10
*** jpich has quit IRC12:11
*** jpich has joined #openstack-sdks12:11
mordredkmalloc: whence you are awakened, I have a question for you on keystone v2 admin interface things12:29
mordredkmalloc: using the token fixture from ksa I've got a catalog in the sdk tests now that uses differnt hostnames for admin and public endpoints - this is flushing out some places where things were off but we weren't noticing because a requests-mock uri registered for either would work (same hostname)12:30
mordredin a few places I'm getting: No mock address: GET https://identity.example.com/v2.0/OS-KSADM/roles12:30
mordredI would have thought that OS-KSADM would really only ever be on the admin interface12:31
mordredbut that's telling me the code is making a request to OS-KSADM on the public interface12:31
mordredis the code wrong? or the test wrong?12:31
mordredcmurphy: ^^ in case you know12:31
*** Luzi has quit IRC12:32
mordredOR - should I put a pin in it for later since at this point keystonev2 is so old it makes us all want to die inside12:34
*** jpich has quit IRC12:35
*** jpich has joined #openstack-sdks12:36
*** jpich has quit IRC12:51
*** jpich has joined #openstack-sdks12:51
openstackgerritAndrey Kurilin proposed openstack/osc-lib master: Fix usage of NotFound exception  https://review.opendev.org/67532813:00
*** cdent has joined #openstack-sdks13:05
mordredkmalloc:, cmurphy: I think the right answer for now is to just skip it for now - I don't think it's worth the effort to cleanup keystonev2 unless someone actually complains13:05
*** mriedem has joined #openstack-sdks13:16
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Replace catalog-v3.json with keystoneauth fixture  https://review.opendev.org/67518713:25
dtantsurmordred: approved13:25
mordreddtantsur: woot! thanks13:25
*** slaweq_ is now known as slaweq13:29
*** gtema has joined #openstack-sdks13:29
*** gtema has quit IRC13:34
*** stephenfin has quit IRC13:35
*** stephenfin has joined #openstack-sdks13:36
*** ricolin_ is now known as ricolin13:55
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Replace catalog-v3.json with keystoneauth fixture  https://review.opendev.org/67518714:20
*** cdent has quit IRC14:31
mordredShrews, dtantsur, kmalloc: ^^ that one is ready for review - although it needs a ksa release so it can't be landed and the tests won't go totally green until that one exists14:35
openstackgerritAndrey Kurilin proposed openstack/osc-lib master: Fix usage of NotFound exception  https://review.opendev.org/67532814:42
openstackgerritMerged openstack/openstacksdk master: Fix dns return values  https://review.opendev.org/67529815:01
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Remove container-infra.example.com hack  https://review.opendev.org/67537815:10
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Remove the block-storage catalog hack  https://review.opendev.org/67538215:26
kmallocmordred: o/15:30
*** gtema has joined #openstack-sdks15:31
*** dave-mccowan has joined #openstack-sdks15:32
kmallocmordred: so, in v3 admin/public are the same. really the only thing anything knows is it should talk to keystone. the split between admin and public was really a "do I get a 404 or not", and people could run both on the same endpoint in reality if thye wanted (some did even in v2)15:32
kmallocmordred: soooo possibly the test or fixture are subtly wrong.15:32
kmallocand OS-XXXX extensions were weird.15:33
mordredkmalloc: well - for v3 we're fine - it's all v2 cases where we're messed up15:33
kmallocmordred: if someone complains about v2 we can clean it up.15:33
mordred(for v3 nothing is coded to request admin endpoints)15:33
mordredcool15:33
mordredyeah - that's where I got to15:33
mordredkmalloc: in fact- what if I don't even have admin endpoints for anything in the v3 catalog?15:34
kmallocotherwise i would let v2 just kindof sit. my guess is we will rapidly get to a point where no one will be using v2 even with SDK.15:34
mordred(so that we catch places where people are doing something that they probably shouldnt be)15:34
kmallocsomeone was working on fixing that in the general case (no admin endpoints in gate in v3) recently15:34
kmalloci am not sure what landed.15:34
kmallocbut some things were still a little broken. i support going to no admin endpoints in v315:35
kmallocesp. in SDK testing.15:35
kmallocno explicit admin endpoints*15:35
*** gtema has quit IRC15:35
mordred++15:35
*** ricolin_ has joined #openstack-sdks15:43
*** ricolin_ has quit IRC15:45
*** ricolin has quit IRC15:46
*** ricolin_ has joined #openstack-sdks15:46
*** ricolin_ is now known as ricolin15:47
edleafeWhat's that you say? The API-SIG Office Hour is upon us?16:00
elmiko\o/16:00
* dtantsur lurks while on another meeting16:08
*** e0ne has quit IRC16:16
*** jpich has quit IRC16:29
*** cdent has joined #openstack-sdks16:29
*** jangutter has quit IRC16:44
*** tosky has quit IRC16:49
*** dtantsur is now known as dtantsur|afk16:57
edleafeGuess all that lurking wore dtantsur|afk out!16:57
elmikohaha, yeah!16:58
elmikowe can blame it on the /other/ meeting XD16:58
elmikoi won't be around next week, i'm on conference duty ;)17:00
elmikohave a good weekend edleafe o/17:00
edleafeyou too, elmiko!17:01
*** e0ne has joined #openstack-sdks17:05
*** ricolin_ has joined #openstack-sdks17:16
*** ricolin has quit IRC17:19
*** gtema has joined #openstack-sdks17:32
*** ricolin_ is now known as ricolin17:32
*** e0ne has quit IRC17:35
*** gtema has quit IRC17:36
*** cdent has quit IRC17:53
*** ralonsoh has quit IRC17:54
*** bobh has joined #openstack-sdks18:35
openstackgerritDavid Shrewsbury proposed openstack/openstacksdk master: WIP: Retry SLO manifest upload  https://review.opendev.org/67513418:49
fricklermordred: kmalloc: for what happens with no admin endpoint see https://review.opendev.org/651492 , heat blows up when using the OS-TRUST interface, so that might be related to your v2 issue18:50
frickleranyway help with fixing that remaining issue would be greatly appreciated, I dug through the tracebacks and didn't find anything helpful18:51
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP: Retry SLO manifest upload  https://review.opendev.org/67513419:00
*** bobh has quit IRC19:06
*** e0ne has joined #openstack-sdks19:16
*** bobh has joined #openstack-sdks19:19
Shrewsmordred: omg, i got the test working19:21
Shrewsmordred: i'm assuming we want the same retry logic on dlo object manifests, yeah?  Would it also need to delete the segments?19:23
openstackgerritDavid Shrewsbury proposed openstack/openstacksdk master: Retry large object manifest upload  https://review.opendev.org/67513419:44
Shrewsmordred: I just realized that we have the same problem if any of the segment uploads fail.  :/   So no limited to manifest failure.19:45
ShrewsSo not*19:45
*** bobh has quit IRC19:56
*** bobh has joined #openstack-sdks19:56
*** bobh has quit IRC20:01
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504920:27
*** e0ne has quit IRC20:37
mordredShrews: this is quite the big beastie20:43
mordredShrews: but yay!20:43
mordredShrews: I believe with DLO objects we just pass the "delete your manifests" parameter and deleting the manifest object will cause the segment objects to be deleted20:44
Shrewsmordred: but that requires actually uploading the manifest, yeah?20:45
mordredoh - joy. yes20:46
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504920:46
mordredShrews: you have the smart brain20:46
Shrewscan't delete it if you can't upload it  :-P20:46
efriedmordred: I loaded up your patch from yesterday and was able to get nova talking to cyborg just fine.20:53
mordredefried: woot20:53
efriedI've got the setup running in a public cloud, do you want to poke at anything?20:53
*** whoami-rajat has quit IRC21:01
efriedmordred: ...but afaict it doesn't look any different than the ksa version.21:02
mordredefried: I think as long as it worked like you expected that's good enough for me21:03
mordredShrews: if you have a sec in between bouts of yelling at object-store apis ... https://review.opendev.org/#/c/675135/ is easy-ish21:04
*** rm_work has quit IRC21:05
mordredShrews: (and this is the patch efried is mentioning that he tested in the scrollback just above that makes cyborg and placement integration in nova work better)21:05
*** rm_work has joined #openstack-sdks21:05
efriedmordred: We expected that to get rid of a bunch of warnings to placement as well, let me see if I can verify that...21:06
mordredefried: if it doesn't, something is horribly wrong21:06
efriedmordred: Okay, I confirmed. Went back through the logs before I applied your patch and found those UnsupportedServiceVersion warnings, and they then went away once the patch was applied.21:27
mordredefried: woot!21:28
mordredsenseless warnings in logs are like fungus21:28
mordredyou gotta get rid of them before the spread21:28
efriedleft a +1 accordingly.21:29
efriedmordred: though a guy wonders if there should be some unit test for this....21:29
mordredefried: some days I feel like you and Shrews are the same person what with your "shouldn't there be a test for this" ;)21:30
efriedI can think of worse company to be in.21:31
efriedI mean, I'm happy having tested this live, BUT I only tested it with a nice clean default devstack service catalog and conf21:31
mordredefried: oh - I don't know if you saw - patch one on on the path to getting you a reusable fixture is actually working now21:31
efriednice21:31
mordredefried: people use openstack in some configuration that isn't a nice clean default devstack?21:31
efried...I didn't put it through the paces of endpoint_override, weird service catalog entries, non-default interfaces, weird version requests....21:32
*** gtema has joined #openstack-sdks21:33
mordredyeah. well - so - the nice thing here (and we should do all of those things) - but the nice thing about this patch is it basically says "if we don't know anything, just defer 100% to the existing and already tested elsewhere adapter creation logic"21:35
mordredso all the other combos *should* be covered already21:35
mordredbut that's me rationalizing a scenario that clearly needs some coverage :)21:35
*** gtema has quit IRC21:38
Shrewsmordred: i insist on a test for the test as well21:47
*** slaweq has quit IRC22:15
*** whoami-rajat has joined #openstack-sdks22:24
*** ricolin_ has joined #openstack-sdks23:02
*** ricolin has quit IRC23:05
*** slaweq has joined #openstack-sdks23:11
*** slaweq has quit IRC23:15
*** gtema has joined #openstack-sdks23:35
*** gtema has quit IRC23:39

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