Monday, 2022-08-22

opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update federation_mapping_info module to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84928308:13
opendevreviewFrikin Evgenii proposed openstack/ansible-collections-openstack master: Fix processing stack_status when make create stack  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85376808:58
opendevreviewFrikin Evgenii proposed openstack/ansible-collections-openstack master: Fix processing stack_status when make create stack  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85376809:23
opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update federation_mapping_info module to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84928309:57
opendevreviewhuang liujie proposed openstack/openstacksdk master: Replace base64.encodestring with encodebytes  https://review.opendev.org/c/openstack/openstacksdk/+/85394010:12
opendevreviewJan Hartkopf proposed openstack/python-openstackclient master: add support for microversion 2.93  https://review.opendev.org/c/openstack/python-openstackclient/+/84779210:30
opendevreviewJan Hartkopf proposed openstack/python-openstackclient master: add support for microversion 2.93  https://review.opendev.org/c/openstack/python-openstackclient/+/84779210:48
opendevreviewribaudr proposed openstack/openstacksdk master: Microversion 2.91: Support specifying destination host to unshelve  https://review.opendev.org/c/openstack/openstacksdk/+/85394910:55
opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update federation_mapping_info module to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84928311:14
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Deprecate special value 'auto' for attribute 'id' of compute_flavor  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85293612:10
jm1gtema: hello :) maybe you could help me with this patch? https://review.opendev.org/c/openstack/ansible-collections-openstack/+/852119/12:12
gtemaok, will have a look later today12:13
jm1gtema: updating the server fails because no floating ip gets attached when auto_ip is set to true12:13
gtemauhg, that is one of the most tricky cases: how IP is getting assinged. There are 2000000000 different ways12:14
gtemawill have a deeper look12:14
anskiygtema: could you, please, take a look at https://review.opendev.org/c/openstack/openstacksdk/+/848095/ again? 12:17
gtemaok12:18
anskiythank you! :)12:19
jm1gtema: it uses add_ips_to_server and passes a server object (with server details but without add_server_interfaces being called before) and auto_ips=True. https://review.opendev.org/c/openstack/ansible-collections-openstack/+/852119/8/plugins/modules/server.py#109312:19
jm1gtema: the issue seems to be that add_ips_to_server returns None instead of a server object12:21
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Replaced expensive get_server() and fixed issues in server module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85211912:35
jm1gtema: oh... maybe the issue is obscured by the until keyword in ci test. i am trying something else and will ping you when i need more help 12:36
gtemahmm, ok. Such things we would need to be able to reproduce on bare devstack as well, cause only this will be useful12:40
jm1gtema: i have another issue with this add_ips_to_server function. this is what i want to accomplish: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/828613/11/ci/roles/floating_ip/tasks/main.yml#27112:48
jm1gtema: here it is called: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/828613/11/plugins/modules/floating_ip.py#31112:48
jm1gtema: this call returns None as one can see at timestamp "2022-08-10 09:47:26.103680" at https://e045d1163dd923a48c48-5f55b49caeaffd6ebf7a83fc93de4834.ssl.cf2.rackcdn.com/828613/11/check/ansible-collections-openstack-functional-devstack-ansible-2.12/218c3fb/job-output.txt12:49
jm1gtema: sorry, not the call to the function. the module returns null for floating_ip which means our code cannot find a floating ip12:50
jm1..when searching for all floating ips attached to that server12:51
jm1gtema: i think add_ips_to_server somehow decides that it does not have to do anything.12:52
gtema;-( this is so hard to analyse. Best would be to have a server and to be able to try out function manually. Cause add_ips_to_server is an entry to the hell 12:53
jm1gtema: sometimes it takes a while until a floating ip is listed for a server. but i handle that by waiting (with until) for the floating ip to be attached to the server... which never happens12:53
jm1gtema: actually this works in my local devstack but it fails in our ci.. 12:54
gtemahe, and this is exactly what I told you yesterday: no single cloud (instead of devstack) is openstack cloud (tm)12:54
gtemado we have here ip_pool or ips set?12:55
gtemaI guess only ip_pool12:55
gtemamadness is in reality in this case due to pool and attempt to reuse eventually existing fips12:56
gtemafor the sake of logs and reprodibility: can you add debug of the full server info and list all existing fips before this task is executed?12:59
gtemamaybe actually we can also try to start using sdk_logging here, but that would be simply huge12:59
opendevreviewribaudr proposed openstack/python-openstackclient master: Microversion 2.91: Support specifying destination host to unshelve  https://review.opendev.org/c/openstack/python-openstackclient/+/83190213:02
opendevreviewribaudr proposed openstack/python-openstackclient master: Microversion 2.91: Support specifying destination host to unshelve  https://review.opendev.org/c/openstack/python-openstackclient/+/83190213:04
jm1gtema: ack, will add debug statements13:04
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Refactored floating_ip and floating_ip_info modules  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/82861313:06
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Refactored floating_ip and floating_ip_info modules  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/82861313:11
jm1gtema: we could replace add_ips_to_server in aoc modules, but that would replicate code. this belongs to sdk i would think13:14
gtemadefinitely. I want to gather few examples (conditions) when it fails and extend functional tests13:15
opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update federation_mapping_info module to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84928314:07
opendevreviewMerged openstack/openstacksdk master: Replace base64.encodestring with encodebytes  https://review.opendev.org/c/openstack/openstacksdk/+/85394014:46
jm1gtema: new log for first issue https://e3e2390f493f14093eaf-5e1de375231dae3d22db48edd8691108.ssl.cf5.rackcdn.com/852119/9/check/ansible-collections-openstack-functional-devstack-ansible-2.9/b2d8736/job-output.txt14:53
jm1gtema: add_ips_to_server with auto_ip=True should simply add a floating ip to server but fails with "No port on server XXX was found matching your NAT destination network XXX"14:54
jm1gtema: i guess you want some extra output. will add debug statements14:57
gtemaok, thanks14:59
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Replaced expensive get_server() and fixed issues in server module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85211914:59
jm1gtema: for the second issue with add_ips_to_server we have some debug output now https://dbb517edecb69c839e64-a1eedb38eefc88bab97a9b5aab34511e.ssl.cf1.rackcdn.com/828613/13/check/ansible-collections-openstack-functional-devstack-ansible-2.12/2bd2d7b/job-output.txt15:32
jm1gtema: this is the patch https://review.opendev.org/c/openstack/ansible-collections-openstack/+/82861315:32
gtemacool, thks15:33
gtemaokay, this means clearly we are in the "reuse existing unbound fip"15:34
gtemathis is what I was suspecting.15:34
gtema@jm1: do you see that port_id in the query is of a fixed ip and not floating?15:42
jm1gtema:?15:44
gtema"Get floating ip attached to server 2" task in the log uses "port": "1e08abff-72cd-465c-b92d-18806df814d6" as filter15:46
gtemaand this port is of a fixed address and not floating15:47
gtemaI am wondered that in the test you simply use server2_ports.ports[1].id 15:48
opendevreviewmbu proposed openstack/osc-lib stable/train: Do not output log on bash autocomplete generation  https://review.opendev.org/c/openstack/osc-lib/+/85401616:04
matbuHey folks, is it possible to merge this patch, which is a cherry pick from master: https://review.opendev.org/c/openstack/osc-lib/+/85401616:07
matbuthank you by advance16:07
matbu(and all the previous stack for wallaby & cie)16:07
opendevreviewMerged openstack/ansible-collections-openstack master: Deprecate special value 'auto' for attribute 'id' of compute_flavor  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85293616:09
opendevreviewSharon Koech proposed openstack/python-openstackclient master: Add ``--cascade`` CLI option to network delete command  https://review.opendev.org/c/openstack/python-openstackclient/+/85403216:28
*** tkajinam is now known as tkajinam|off16:35
fricklermatbu: do you have info how to reproduce the issue to be fixed by that patch? to me the fix looks at least incomplete and shouldn't have been merged in master either16:44
matbufrickler: I have a bug here: https://bugzilla.redhat.com/show_bug.cgi?id=208374216:57
matbufrickler: i dont have much more information than that16:57
matbufrickler: I was just tracking it, but I take a closer look to get a proper fix if needed16:57
fricklermatbu: thx, I just commented on the reviews in parallel. "Steps to reproduce" isn't really helpful, with that input I'd reject a bug as invalid. are you with the RDO team? getting a useable reproducer would be really helpful17:03
matbufrickler: yep I will ask for a reproducer to the bug reporter17:04
*** rcastillo|rover is now known as rcastillo18:22

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!