Thursday, 2019-05-30

*** slaweq has joined #openstack-sdks00:11
*** slaweq has quit IRC00:16
*** markvoelker has quit IRC00:32
*** markvoelker has joined #openstack-sdks00:33
*** markvoelker has quit IRC00:38
*** slaweq has joined #openstack-sdks01:11
*** slaweq has quit IRC01:16
*** markvoelker has joined #openstack-sdks01:21
*** whoami-rajat has joined #openstack-sdks01:35
*** slaweq has joined #openstack-sdks02:11
*** slaweq has quit IRC02:16
*** slaweq has joined #openstack-sdks04:11
*** slaweq has quit IRC04:16
*** ricolin has joined #openstack-sdks04:45
*** ricolin has quit IRC05:25
*** ricolin has joined #openstack-sdks05:28
*** Dinesh_Bhor has joined #openstack-sdks05:55
*** slaweq has joined #openstack-sdks06:06
*** efried1 has joined #openstack-sdks06:21
*** efried has quit IRC06:23
*** efried1 is now known as efried06:23
*** ricolin has quit IRC06:26
*** holser_ has joined #openstack-sdks06:42
*** markvoelker has quit IRC07:01
*** jpich has joined #openstack-sdks07:09
*** adriant has quit IRC07:10
*** adriant has joined #openstack-sdks07:11
*** ricolin has joined #openstack-sdks07:23
*** jpena|off is now known as jpena07:36
*** toabctl has quit IRC07:50
*** cdent has joined #openstack-sdks08:41
*** markvoelker has joined #openstack-sdks09:02
*** ricolin has quit IRC09:09
*** markvoelker has quit IRC09:35
*** e0ne has joined #openstack-sdks09:52
*** ITD27M01 has quit IRC09:55
*** jpich has quit IRC10:05
*** jpich has joined #openstack-sdks10:06
*** markvoelker has joined #openstack-sdks10:24
*** holser_ is now known as holser|lunch10:40
*** cdent has quit IRC10:55
*** jpena is now known as jpena|lunch11:02
*** tosky has joined #openstack-sdks12:14
*** jpena|lunch is now known as jpena12:25
*** holser|lunch is now known as holser_12:57
*** cdent has joined #openstack-sdks13:02
*** mgariepy has quit IRC13:29
*** ITD27M01 has joined #openstack-sdks13:53
ITD27M01mordred: I really need your attention. If you have a minute, look at the https://github.com/ansible/ansible/pull/5140114:01
*** ricolin has joined #openstack-sdks14:53
*** zbr_ has joined #openstack-sdks15:07
*** zbr has quit IRC15:09
*** e0ne has quit IRC15:23
*** tosky has quit IRC15:44
elmikoAPI SIG office hour is now open! \o/16:00
edleafeWelcome to the API-SIG Office Hour!16:00
elmikojinx!16:00
edleafeHeh, you beat me!16:00
elmikoit was like simultaneous on my end lol16:00
edleafeMine got recorded first here: https://leafe.com/timeline-middle/%23openstack-sdks/2019-05-30T16:00:0316:01
edleafeSo we both win!16:01
elmikohahaha, amazing16:01
*** AJaeger has left #openstack-sdks16:02
cdentI lost track, did the errors guidelines discussion go anywhere?16:15
edleafeThere was a little async back-and-forth in this channel, but it didn't really go anywhere16:15
elmiko++16:16
cmurphyo/16:16
cmurphyi don't think there's much more to discuss, it is what it is16:16
edleafecdent: Starting here:  https://leafe.com/timeline-middle/%23openstack-sdks/2019-05-23T20:34:5316:16
cdentis there a next step?16:18
elmikounless we are going to rewrite the guideline, i don't think so16:19
cdentpotentially a patch to keystoneauth?16:19
elmikothat might be nice16:19
elmikoi have some time, i could take a look at patching it16:19
cdentyou have time? I guess that's what happens when you work on something oher than openstack ;)16:20
elmikoyeah... plus when weird things happen to your group internally ;)16:20
*** nwilburn has joined #openstack-sdks16:21
*** holser_ has quit IRC16:23
*** mgariepy has joined #openstack-sdks16:24
nwilburnI found an issue with the add_ip_list function in opestack/cloud/openstackcloud.py. Basically nat_destination is not being passed to the _attach_ip_to_server function which causes issues with Ansible's os_floating_ip module (and probably other things). The immediate "fix" that I can see is to simply add a parameter "nat_destination" for add_ip_list, but this probably isn't the right way of doing16:27
nwilburnthings.16:27
nwilburnWhere is the best place to submit a bug report for this?16:27
nwilburnApologies, it now lives in openstack/cloud/_floating_ip.py16:30
elmikonwilburn: is that part of the sdk package?16:33
nwilburnIt is16:35
elmikohmm, maybe mordred knows16:35
elmikoat a guess, i would think here https://opendev.org/openstack/openstacksdk16:35
elmikobut i'm not 100% sure on that16:35
nwilburnOk thanks16:36
elmikodon't quote me on that though ;)16:36
elmikoedleafe: it's been awhile since i've made pr's to openstack projects, do i want to be cloning from opendev and the using the standard `git review` mechanics?16:40
*** cdent has quit IRC16:45
Shrewsnwilburn: are you setting nat_destination in your cloud.yaml file?16:46
edleafeelmiko: I clone from github, and then use `git review`16:46
elmikoack, thanks!16:47
nwilburnShrews: nat_destination is being passed in via the os_floating_ip ansible module. It does make it to the function which calls add_ip_list, but add_ip_list doesn't take a parameter of nat_destination16:47
Shrewsnwilburn: ah, well that does sound like a bug16:48
nwilburnSo openstacksdk tries to be smart about discovering what the nat_destination should be and it goes through a list of openstack networks looking for the last one which is attached to the public network. When the ansible module is being ran with admin credentials this results in a network being found which isn't even in the project that the server is in. Super strange16:49
Shrewsindeed. floating ips and the surrounding logic is ... hard16:49
nwilburnSo I added nat_destination to add_ip_list and changes up the function args for the calls. Things worked but this isn't the right way of doing things since the list of floating ips you want to attach may need differenation nat_destinations. Maybe the ip_list should actually be a list of dicts with ip:nat_destination?16:50
*** jpich has quit IRC16:58
elmikohave a good weekend edleafe, i'm gonna take a look into patching keystoneauth o/17:01
edleafeelmiko: \o17:04
*** ricolin has quit IRC17:42
*** jpena is now known as jpena|off18:13
openstackgerritMichael McCune proposed openstack/keystoneauth master: add handling for multiple error returns  https://review.opendev.org/66228118:19
openstackgerritMichael McCune proposed openstack/keystoneauth master: add handling for multiple error returns  https://review.opendev.org/66228118:26
elmikocmurphy: just a heads up ^^18:29
cmurphythanks elmiko18:30
dtroyerelmiko: This doesn't affect what you are doing now, but cloning from Github has some dark corner-cases now that not everything is mirrored there from the current opendev repos.  That will affect everything that moved out of the official openstack/ namespace but has not been moved in Github yet..19:25
dtroyerAll official project repos are unaffected by that AFAIK19:26
*** tosky has joined #openstack-sdks19:38
elmikodtroyer: ack, tyvm for the explanation. i defaulted to cloning from opendev =)19:44
nwilburnSo I added nat_destination to add_ip_list and changes up the function args for the calls. Things worked but this isn't the right way of doing things since the list of floating ips you want to attach may need differenation nat_destinations. Maybe the ip_list should actually be a list of dicts with ip:nat_destination?20:04
nwilburnOops sorry. Wrong window20:04
elmikowe'll forgive you /this time/ nwilburn XD20:15
*** nwilburn has quit IRC20:37
*** whoami-rajat has quit IRC21:24
openstackgerritMichael McCune proposed openstack/keystoneauth master: add handling for multiple error returns  https://review.opendev.org/66228121:36
*** bobh has joined #openstack-sdks22:10
*** bobh has quit IRC22:15
*** efried1 has joined #openstack-sdks22:19
*** efried has quit IRC22:20
*** efried1 is now known as efried22:20
*** bobh has joined #openstack-sdks22:54
*** bobh has quit IRC22:59
openstackgerritMichael McCune proposed openstack/keystoneauth master: add handling for multiple error returns  https://review.opendev.org/66228123:03
openstackgerritMichael McCune proposed openstack/keystoneauth master: add handling for multiple error returns  https://review.opendev.org/66228123:03
*** tosky has quit IRC23:33

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