Thursday, 2024-08-22

opendevreviewmelanie witt proposed openstack/nova master: Add [workarounds]unified_limits_permissive_enforcement  https://review.opendev.org/c/openstack/nova/+/92402500:58
*** bauzas_ is now known as bauzas01:17
opendevreviewmelanie witt proposed openstack/nova master: nova-manage: Add flavor scanning to migrate_to_unified_limits  https://review.opendev.org/c/openstack/nova/+/92411001:51
opendevreviewGhanshyam proposed openstack/placement master: Update test to use service role  https://review.opendev.org/c/openstack/placement/+/92687003:51
opendevreviewGhanshyam proposed openstack/placement master: DNM: testing latest oslo.policy  https://review.opendev.org/c/openstack/placement/+/92608803:52
*** bauzas_ is now known as bauzas04:10
*** bauzas_ is now known as bauzas06:29
opendevreviewMichael Still proposed openstack/nova master: libvirt: Add config option to require secure SPICE.  https://review.opendev.org/c/openstack/nova/+/92254406:36
opendevreviewMichael Still proposed openstack/nova master: libvirt: allow direct SPICE connections to qemu  https://review.opendev.org/c/openstack/nova/+/92484406:36
opendevreviewMichael Still proposed openstack/nova master: libvirt: Add extra spec for sound device.  https://review.opendev.org/c/openstack/nova/+/92612606:36
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console object changes  https://review.opendev.org/c/openstack/nova/+/92687606:36
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console database changes  https://review.opendev.org/c/openstack/nova/+/92687706:36
opendevreviewViktor Křivák proposed openstack/nova master: Ensure claims to placement are freed after evacuate complete Improve resource_tracker delete_allocation_for_evacuated_instance to handle non-cached compute hosts Fix test to accept this change  https://review.opendev.org/c/openstack/nova/+/92629207:21
opendevreviewAmit Uniyal proposed openstack/nova master: Libvirt: updates resource provider trait list  https://review.opendev.org/c/openstack/nova/+/92652107:42
opendevreviewAmit Uniyal proposed openstack/nova master: VMware: updates resource provider trait list  https://review.opendev.org/c/openstack/nova/+/92652207:42
opendevreviewAmit Uniyal proposed openstack/nova master: zvm: updates resource provider trait list  https://review.opendev.org/c/openstack/nova/+/92652307:42
opendevreviewAmit Uniyal proposed openstack/nova master: Ironic: updates resource provider trait list  https://review.opendev.org/c/openstack/nova/+/92652407:42
opendevreviewPavlo Shchelokovskyy proposed openstack/nova master: Fix device type when booting from ISO image  https://review.opendev.org/c/openstack/nova/+/90961108:38
mikalsean-k-mooney: I've split up that first patch BTW.08:58
*** __ministry is now known as Guest113609:00
songwenpinghi team, i live migrate vgpu vm with lateast code by devstack and nova-scheduler except with 'No valid host was found, The instance has complex allocations on the source host so move cannot be forced.'12:04
erlonHey Nova core team, I brought [this patch series](https://review.opendev.org/q/topic:%22sg-shared-filter%22) for discussion a couple months ago, and we got the understanding that we will accept this feature for this release. Can you guys please review and approve the change?12:18
*** bauzas_ is now known as bauzas12:48
opendevreviewMerged openstack/nova master: Fix wrong nova-manage command in upgrade check  https://review.opendev.org/c/openstack/nova/+/88081915:35
elodilleshi nova team o/ it seems that python-novaclient's gate is broken: https://review.opendev.org/c/openstack/python-novaclient/+/92633415:55
elodilleswith python-novaclient-functional job15:55
elodillesas some tests reports error, with "Multiple possible networks found, use a Network ID to be more specific. (HTTP 409)" error message15:56
elodillesdoes anyone know from top off the head what this is related to?15:57
melwittelodilles: I don't know the cause but there is a bug open that reported it https://bugs.launchpad.net/python-novaclient/+bug/207716816:44
opendevreviewGhanshyam proposed openstack/placement master: Update test to use service role  https://review.opendev.org/c/openstack/placement/+/92687016:48
sean-k-mooneyelodilles: ya i saw but didnt have a change to look into wy16:49
sean-k-mooneyelodilles: i assume its a change in devstack or somethign else that is now resulting in new networks or we have a test interaction issue16:50
sean-k-mooneyelodilles: i firsted notcied that on https://review.opendev.org/c/openstack/python-novaclient/+/92653216:52
opendevreviewGhanshyam proposed openstack/placement master: Bump oslo.policy version to enable new RBAC by default  https://review.opendev.org/c/openstack/placement/+/92693516:53
sean-k-mooneythere are 2 netowrks aviable the public and private network. i know there was a bug in neutron at one point where external networks(public) would not be visiable unless also marked as shared or something like that16:54
sean-k-mooneyso maybe that was fixed16:54
sean-k-mooneyit would be more helpful if the error actully listed the networks16:54
sean-k-mooneyneutron have been modifygin there rback policy around networks https://github.com/openstack/neutron/commit/f22f7ae012e75b34051945fcac29f955861896ab16:59
elodillesthanks melwitt and sean-k-mooney , i'll try to look into these next week (though secretly hoping that the issue is familiar to someone and there will be a fix by then o:))17:25
sean-k-mooneyit sound like some of the issue we ocational have with tempest17:44
sean-k-mooneybut i dont recally anything sepficic17:45
sean-k-mooneyso maybe the neutron folks would know17:45
melwittI see there is code for handling multiple networks (https://github.com/openstack/python-novaclient/blob/2bd135c13793da48af5fbad5208b00aaba7e39dc/novaclient/tests/functional/v2/test_servers.py#L229) however that means test_boot_server_with_auto_network will be skipped. so even if we added a self.multiple_networks check to the failing test, we presumably have lost coverage of test_boot_server_with_auto_network18:19
gmannsean-k-mooney: dansmith: melwitt: can you please check these two placement review, it is needed for oslo.policy 4.4.0 which enable new defaults by default https://review.opendev.org/c/openstack/placement/+/926870/2   https://review.opendev.org/c/openstack/placement/+/926935/118:19
melwittI have not been able to find the cause of the change in networks available in the test env18:19
opendevreviewDan Smith proposed openstack/nova master: Use format_inspector from oslo  https://review.opendev.org/c/openstack/nova/+/92502518:20
dansmithgmann: "X_ROLES" really?18:21
sean-k-mooneymelwitt: the test that is failing is expresssly testing booting without specifyign any network info18:23
sean-k-mooneymelwitt: on micorversion 2.118:23
sean-k-mooneymelwitt: which shoudl use the default network18:23
sean-k-mooneyor rahter any network if there only one 18:23
melwittI know18:24
sean-k-mooneyim asking about htis on neutron too and they also suggested perhaps https://github.com/openstack/neutron/commit/f22f7ae012e75b34051945fcac29f955861896ab18:24
sean-k-mooneywhich is what i was wondering about18:24
sean-k-mooneyso i might try pinning the neutron version to the commit before that18:24
melwittI'm just saying there is a different test that exists in the test suite that intends to test network auto behavior. and that test will skip itself if multiple networks are found. and I don't have a passing job run to look at whether the test used to run because the last successful run was months ago18:25
gmanndansmith: its a common header in test class and to add service role I need to do that18:25
*** bauzas_ is now known as bauzas18:26
sean-k-mooneymelwitt: ack im wonderign if this was an unintetional change in behvior on the nturon side however 18:26
sean-k-mooneythey do not use microversion18:26
sean-k-mooneyso its hard to say18:26
dansmithgmann: but... where does it come from, or where is it honored? that's not a real-world header?18:26
sean-k-mooneyit comes for the keystone auth midelware i think?18:27
gmanndansmith: yeah, it is just for test in NoAuthMiddleware used by tests18:27
gmannhttps://github.com/openstack/placement/blob/c8255d70c89f60cf85676ac5cfbb313ea44645c0/placement/auth.py#L35C7-L35C2318:27
melwittsean-k-mooney: yeah. I agree a change happened elsewhere. I was just trying to point out that even if we fix it by "if self.multiple_networks" we might have lost coverage on the other test. do we care? maybe not because it's novaclient. but I just wanted to point it out18:27
dansmithgmann: hrm, okay18:28
sean-k-mooneymelwitt: well the cli has been deprecated for removal for 2 years now18:28
sean-k-mooneymelwitt: and as of a few weeks ago nova client is nolonger used by the osc 18:28
melwittI knowwwww :)  just mentioning the thing that I noticed18:28
sean-k-mooneymelwitt: so i wonder if its time to remove the cli or stop testing it18:29
melwittyeah let's bin it18:29
sean-k-mooneytaht would also fix the fact it does not run on 3.11+18:29
melwittheheh18:30
sean-k-mooneyi.e. https://review.opendev.org/c/openstack/python-novaclient/+/92653218:30
sean-k-mooneyso what would you prefer to do18:30
sean-k-mooneyjust remove the job or actully drop the shell module and the correspondign tests18:30
gmanndansmith: thanks, and this one also which reflect the oslo.policy new version in requirements.txt https://review.opendev.org/c/openstack/placement/+/92693518:31
dansmithgmann: yeah I'm looking through tests right now18:31
dansmithjust checking that failure18:31
sean-k-mooneyim personally hoping we can entirly drop nova client in 2025.2 if other project update to the sdk by then18:31
gmanndansmith: ohk18:31
dansmithgmann: so don't we need to remove some default override in placement?18:32
dansmithor was placement not defaulting to new RBAC like others?18:32
gmanndansmith: yeah, it was not defaulted to new RBAC and doing it in oslo.policy does it for placement with 4.4.018:33
gmannwith oslo.policy 4.4.018:33
dansmithgmann: okay, but presumably this is almost a non-issue for placement since it's admin only?18:33
gmanndansmith: yeah, except reshaper operation which is service'18:33
gmann*service role only18:34
melwittsean-k-mooney: I dunno I was just being silly without thinking about it. I think it would be easy to make the job pass for now. not sure what to do longer term. probably need to get a sanity check at a nova meeting or something, not sure what direction most would want18:34
dansmithgmann: okay18:34
sean-k-mooneymelwitt: ya i considered proposing a check on the number of networks and skiping the test if there was more then 1 for example18:35
sean-k-mooneybut im not sure we shoudl be investing too much effort in fixing these anymore18:36
melwittyeah, I hear you. I agree this is not sustainable18:36
sean-k-mooneyim going to finsih for the week soon but ill try an propsoe a DNM to try pinnign to the older neutron and see if that passes or not18:40
sean-k-mooneyand in paralle ill propsoe a quick patch to make the functional job nonvoting to unblock it18:41
sean-k-mooneythen ill check back on those on monday18:41
melwittok cool18:43
opendevreviewDan Smith proposed openstack/nova master: DNM: Test nova against LUKS inspector  https://review.opendev.org/c/openstack/nova/+/92502618:49
dansmithmelwitt: ^18:50
dansmithexpecting nova and glance to reject that luks image currently18:50
melwitt👀 19:00
sean-k-mooneymelwitt: i actully think i tmight be related to https://review.opendev.org/c/openstack/neutron/+/920174 and this https://launchpad.net/bugs/206636919:15
opendevreviewsean mooney proposed openstack/python-novaclient master: [DNM] testing job failure  https://review.opendev.org/c/openstack/python-novaclient/+/92695019:18
opendevreviewsean mooney proposed openstack/python-novaclient master: make python-novaclient-functional non voting  https://review.opendev.org/c/openstack/python-novaclient/+/92695119:22
sean-k-mooneyhttps://review.opendev.org/c/openstack/python-novaclient/+/926951 shoudl make it non voting19:22
melwittsean-k-mooney: huh. not sure how that could result in the multiple networks but the time frame lines up19:36
*** melwitt is now known as jgwentworth19:38
*** jgwentworth is now known as melwitt19:38
sean-k-mooneymelwitt: because i think it got a 404 for any networks before 19:38
sean-k-mooneyi.e. before it worked because it did not see any networks19:39
melwitt?!19:39
melwittI would not expected create with auto to work if no networks found?19:39
melwittweird19:39
sean-k-mooneyso now its seeing two netwroks and failing19:40
sean-k-mooneybut i think before it might now have been seeing any networks and bootign without a network19:40
sean-k-mooneythats just a guess but that was the only neutron patch that seamed to line up19:40
melwittyeah.. I didn't think that "auto" would include 'none' but I don't know that level of detail about it19:41
sean-k-mooneyi have never booted a nova instance wituout passsing a network or explictly passing none19:42
melwittsame19:42
sean-k-mooneyso im not a  good judge of what shoudl work in that regard19:42
melwittyeah. I was just thinking superficially, "get me a network" I would not have expected no network to be an option 😂 19:43
melwittget me a not a network19:43
sean-k-mooneywell this test is not testing that functionatliy19:44
dansmith"get me an airgap"19:44
sean-k-mooneyalso i didnt know "self.run_hooks('modify_body_for_create', body, **kwargs)" was a thing, now can i unlearn that the nova clinet allows you to supply hooks that change its behvior19:45
melwittlol19:46
sean-k-mooneythe 6% ginger beer i have in the fridge might help with that19:49
sean-k-mooneyi should go test this theory o/19:49
sean-k-mooneymelwitt: by the way this test is usign the 2.1 microverison19:50
sean-k-mooneyso its not using the autoacocate behvior19:50
sean-k-mooneyand its falling back to the older behavior19:50
melwitthm ok19:51
sean-k-mooney"""Required parameter when there are multiple networks defined for the tenant. When you do not specify the networks parameter, the server attaches to the only network created for the current tenant. """19:51
sean-k-mooneyso my theory is before they fixed the bug there was no network visiable and now there are 219:52
melwittahhh19:55
sean-k-mooneyi think we are taking this return https://github.com/openstack/nova/blob/3bdb298e685417ed0ecabbba12062d148ad58826/nova/network/neutron.py#L1181-L1189 20:05
sean-k-mooneyi wanted ot see if i could find that quickly but i think that how it worked in the end20:06
sean-k-mooneyunfortunetly we dont have logs form the last succesfuly run20:06
sean-k-mooneybut if my revert passses we shoudl see that debug message for the instnace if im right20:06
sean-k-mooneywe have had that skip since quantom support was being added https://github.com/openstack/nova/commit/8f3b3db9b04bb5ff7b9486dc6fc211745b98385520:14
melwittI see. I will watch for the result20:15
sean-k-mooneyi hit the same issue20:16
sean-k-mooneyhttps://zuul.openstack.org/stream/0effd51a31b34c03b8a9f8beef7a8cf8?logfile=console.log20:16
sean-k-mooneyso i guesss thats not it...20:16
sean-k-mooneythat of neutron is not a required proejct20:17
sean-k-mooneyoh wrong zuul job20:19
sean-k-mooneythat the non voting one i was waiting for it to pass/fail before i finsihed20:20
sean-k-mooneythat explains why it was using amster20:20
sean-k-mooneyit still used master in the otherone however so i dont think its set up to make depend on work20:21
sean-k-mooneyits eaiser to see that hwen the job finshes howeer so im going to leave it urn20:22
melwittand you think that might be bc the job definition doesn't required-projects neutron?20:23
melwittI hadn't thought that's needed though20:24
melwittdansmith: looks like compute correctly rejected the luks image, but glance skipped bc of config?21:35
opendevreviewmelanie witt proposed openstack/python-novaclient master: [DNM] testing job failure  https://review.opendev.org/c/openstack/python-novaclient/+/92695022:14
melwittsean-k-mooney: I think you were right about required-projects, I did an edit on ^ I hope you don't mind22:15
*** bauzas_ is now known as bauzas22:59
melwitthm, that didn't help. it looks like the Depends-On worked regardless of required-projects. in the previous run:23:22
melwitt2024-08-22 19:25:30.213604 | controller | opendev.org/openstack/neutron checked out to:23:22
melwitt2024-08-22 19:25:30.213727 | controller | b007d1c19e9a6a9ea309dd414448030d9fa6fb72 Merge 'refs/changes/48/926948/1'23:22
melwittthat's the proposed DNM change for neutron23:23
dansmithmelwitt: because you can't set disk_format=luks in glance so it knows it needs to skip it else it'll just fail outright23:26
melwittthat's what I was thinking, ok23:26

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