Tuesday, 2021-12-07

*** diablo_rojo is now known as Guest783003:11
*** sshnaidm|afk is now known as sshnaidm09:20
*** redrobot8 is now known as redrobot10:20
fricklergtema: could you have another look at https://review.opendev.org/c/openstack/python-openstackclient/+/736973 pls? I had messed up pep8. slaweq this may also be interesting for you10:22
gtemasure, but first need to find reason for one functest failure we currently have10:23
fricklergtema: I haven't seen that, do you have a pointer?10:24
gtemahttps://review.opendev.org/c/openstack/python-openstackclient/+/82051210:24
fricklervolumes once again ... sigh ... will take a look10:26
gtemathks a lot10:26
fricklergtema: so I can reproduce locally and if I revert https://review.opendev.org/c/openstack/python-openstackclient/+/817989/8 the issue is gone. maybe try to revert that for now?13:15
gtemawe thought yesterday on marking the test as expected to fail13:15
gtemahttps://review.opendev.org/c/openstack/python-openstackclient/+/819473/1 added the functest itself (was not tested before at all)13:16
fricklergtema: my current suspicion is that the test is good, but 817989 broken13:18
frickleror is might be uncovering some issue in nova13:18
gtemayeah, everything is possible13:19
fricklerso 817989 is broken for sure. nova returns a 404 for the delete_volume_attachment(), but the code ignores that instead of raising an error13:29
fricklergtema: stephenfin: ^^ 13:31
fricklere.g. 15:08:07.785042 in https://210be1f5cbeabbdaba80-eeccdc6968a6b16fa4ca2e3ee7c1080d.ssl.cf2.rackcdn.com/820512/2/check/osc-functional-devstack-tips/4af9a0d/controller/logs/screen-n-api.txt13:34
fricklerdelete_volume_attachment() expects the ID of the attachment, while the OSC patch hands it the volume ID13:41
fricklerhmm, no, ignore that13:42
fricklerthe sdk code is broken it seems, it uses the attachment_id for the _delete call instead of the volume id13:58
gtemaouch, bad13:59
fricklerthis may be somehow related to https://review.opendev.org/c/openstack/openstacksdk/+/817997/1/openstack/compute/v2/volume_attachment.py , but I'm kinda confused about it still. I do remember trying to make sense of the nova api-ref there14:02
fricklerI also don't understand how it could pass CI if that were true14:03
gtemaand so the loop closes :-)14:05
gtemawe started failing with the raising of openstacksdk14:05
frickleroh, wow, this is even weirder. with old microversion, nova returns the volume_id as attachment_id. with 2.89, it returns the real attachment_id. 14:14
fricklerso that's actually the non-voting failure for 817997 https://zuul.opendev.org/t/openstack/build/1f7a3ab5e8b942c2b7b58b9ec2e2736714:18
fricklerand it has been failing since then https://zuul.opendev.org/t/openstack/builds?job_name=osc-functional-devstack-tips&project=openstack/openstacksdk14:18
fricklergtema: stephenfin: ^^ I have no idea how to actually fix that, so maybe that would be the patch to revert for now14:19
gtemauhm, reverting sdk patch would require release to unblock SDK. Perhaps we should rather really mark functest as failing while we are searching for proper fix14:28
fricklergtema: do you really mean @unittest.expectedFailure or just skipping the test? I haven't seen the former used in openstack yet, though it might indeed be useful14:52
gtemaexpectedFailure perhaps14:53
fricklero.k., I'll propose a patch14:53
gtemagreat, thks14:54
opendevreviewDr. Jens Harbott proposed openstack/python-openstackclient master: Mark test_server_add_remove_volume as expected failure  https://review.opendev.org/c/openstack/python-openstackclient/+/82089514:58
fricklermeh, that is lacking an import15:06
opendevreviewDr. Jens Harbott proposed openstack/python-openstackclient master: Mark test_server_add_remove_volume as expected failure  https://review.opendev.org/c/openstack/python-openstackclient/+/82089515:11
*** artom__ is now known as artom16:22
opendevreviewDr. Jens Harbott proposed openstack/python-openstackclient master: Fix RemoveServerVolume  https://review.opendev.org/c/openstack/python-openstackclient/+/82091717:36
fricklergtema: stephenfin: ^^ this would actually seem to be the fix for OSC matching the current SDK behavior. not sure if you'd want to use that and just amend the descriptions of the sdk functions accordingly, or whether you have an idea to make this volume attachment thing work both with and without 2.8917:38
gtemaideally should work with and without. Will have a look tomorrow17:39
gtemathanks a lot17:39
opendevreviewRodolfo Alonso proposed openstack/python-openstackclient master: Add network update quota "limit_check" parameter  https://review.opendev.org/c/openstack/python-openstackclient/+/80601617:49
opendevreviewJan Hartkopf proposed openstack/openstacksdk master: fix creation of protected image  https://review.opendev.org/c/openstack/openstacksdk/+/82092617:56
*** diablo_rojo__ is now known as diablo_rojo18:06
opendevreviewmelanie witt proposed openstack/python-openstackclient stable/victoria: compute: Reorder building of columns for 'server list'  https://review.opendev.org/c/openstack/python-openstackclient/+/82095923:06
opendevreviewmelanie witt proposed openstack/python-openstackclient stable/victoria: compute: Show flavor in 'server list' with API >= 2.47  https://review.opendev.org/c/openstack/python-openstackclient/+/82096023:06

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