Monday, 2022-12-05

*** akekane is now known as abhishekk04:53
*** akekane_ is now known as abhishekk09:19
opendevreviewMaksim Malchuk proposed openstack/nova stable/xena: Fix to implement 'pack' or 'spread' VM's NUMA cells  https://review.opendev.org/c/openstack/nova/+/82980410:54
*** dasm|off is now known as dasm13:38
gibibauzas: fyi I cannot join to the tomorrow's nova meeting14:33
bauzasgibi: ack 14:34
bauzasgibi: you may be interested in merging the stable/xena branch from https://review.opendev.org/c/openstack/nova/+/864932/4 :)15:06
sean-k-mooneyonce the xena version are merged ill update the wallaby versions with the new cherry-picked lines15:08
gibibauzas: sorry I have to get back to this15:08
bauzassean-k-mooney: ahha, I was about to ping you for https://review.opendev.org/c/openstack/nova/+/86533415:08
dansmithbauzas: it would be great if we could have this merged before I disappear for the year: https://review.opendev.org/c/openstack/nova-specs/+/86315215:11
bauzasdansmith: ack, I'll look15:11
sean-k-mooneydansmith: i think you said you had a poc of that somewhere. did you push it for reveiw15:14
sean-k-mooneyi know you will be on PTO soon but we can at least start on teh review while your away15:15
dansmithsean-k-mooney: yes: https://review.opendev.org/q/topic:bp%252Fstable-compute-uuid15:15
dansmithas I mentioned, there are two tests in there that are failing because they assert that we recreate compute nodes, which this makes us not do15:15
sean-k-mooneyoh ok i missed that then ill try and review it before i finish for the year15:15
dansmithso I left them as failing so that you can see that, and will go back and update the tests (of course)15:16
sean-k-mooneyya you mentioned that the current fixutre for restarting the compute service was problematic15:16
sean-k-mooneyack15:16
dansmithyes, but I think I've fixed that15:16
dansmiththe failing tests are just because the test confirms that we re-create a compute node, but with this code, we re-find the old one15:17
dansmithit's been sitting a month at this point so I don't fully remember, and I'll be even more hazy in Jan, but will pick it up then :)15:17
sean-k-mooneyack i think in the long run that is proably more  correct anyway (refinding them)15:17
dansmiththat's the point of the work, yeah :)15:18
dansmith(well one of the points)15:18
dansmithit avoids the stale/broken placement allocations and such15:19
sean-k-mooneywell i think (would have to check) we were reusing the uuid or soemthign liek tha tso that the palcement side was correct15:19
bauzasdansmith: sent to the gate15:19
sean-k-mooneyin the funtional tests15:19
sean-k-mooneybut thanks for the context15:19
bauzasdansmith: thanks for having added some paragraphs15:20
dansmithbauzas: thanks15:20
dansmithsean-k-mooney: in the ironic case we are I think, not sure about the regular case15:21
dansmithsean-k-mooney: in the case of a host rename, we don't find the old provider by name (because our name changed) so we re-create everything right?15:21
sean-k-mooneyi think the way the current recreate worked we were not actully creating a new compute node record in the db15:21
sean-k-mooney* how it worked in teh functional tests15:22
dansmithokay I'm talking about in real life15:22
sean-k-mooneyya so in real life the lookup can fail in one of two ways15:23
sean-k-mooneyeither the host value does not match adn we create a new compute service entry15:23
sean-k-mooneyor the hypervior_hostname  does not match and we delete and recreate teh compute node record15:23
dansmithneither will match on a libvirt host that has renamed right?15:24
sean-k-mooneyso if the host value changes the service entry gets recreated and if the hypervior_hostname mismatches its the compute node15:24
sean-k-mooneydansmith: if you have notihgn set in the config then yes15:24
dansmithah, right15:25
sean-k-mooneyooo at least hardcodes the host value15:25
sean-k-mooneyso if the hostname change and the config is not updated then it will find the service15:25
sean-k-mooneythen delete the compute node and recreate it15:25
dansmithsean-k-mooney: yeah I guess we need to make sure we have those cases covered in the tests.. "host renamed, no config set" and "host renamed, config set to something"15:27
sean-k-mooneyi think we can emulate that by mocking the driver method to get the host name and config flags at least at a unit test level15:28
sean-k-mooneyfor functional tests we could proably do it too but only with one compute node sicne the config is shared15:28
sean-k-mooneybut yes i agree  i dont know if we need to test all 4 combination but proably woudl not hurt15:29
admin1is there a good rescue image (os ) for openstack .. that kind of boots directly without login/pass for rescue ? 15:30
sean-k-mooneywell by default the same image the vm is booted with is used for rescue15:32
sean-k-mooneybut any of the images you woudl use on a phsyical host will be good15:33
sean-k-mooneylike KNOPPIX15:33
opendevreviewMerged openstack/nova-specs master: Add stable-compute-uuid spec  https://review.opendev.org/c/openstack/nova-specs/+/86315215:33
sean-k-mooneyit actully would proably have made sense to allow a keypair to be specifed for rescue15:34
sean-k-mooneyalthough the assumtion was the tenant would do rescue so that why we reuse the one the vm is booted with15:35
sean-k-mooneyadmin1: if you are doing this on behalf of a tenatn what i would recommend is creating a iamge yourself and baking in a set of ssh keys and then usign that to rescue tenant vms15:36
opendevreviewMerged openstack/nova stable/xena: refactor: remove duplicated logic  https://review.opendev.org/c/openstack/nova/+/86493217:03
opendevreviewMerged openstack/nova stable/xena: Record SRIOV PF MAC in the binding profile  https://review.opendev.org/c/openstack/nova/+/86493317:04
opendevreviewMerged openstack/nova stable/xena: Remove double mocking  https://review.opendev.org/c/openstack/nova/+/86493417:04
opendevreviewMerged openstack/nova stable/xena: Remove double mocking... again  https://review.opendev.org/c/openstack/nova/+/86493517:04
opendevreviewMerged openstack/nova stable/xena: Add compute restart capability for libvirt func tests  https://review.opendev.org/c/openstack/nova/+/86493617:04
opendevreviewMerged openstack/nova stable/xena: enable blocked VDPA move operations  https://review.opendev.org/c/openstack/nova/+/86493717:04
sean-k-mooney:)17:56
sean-k-mooneyok ill update the wallaby ones now17:56
melwittsean-k-mooney: fyi this is the strange py27 failure on the stable/train backport that I could not figure out what is going on https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_80f/866090/1/check/openstack-tox-py27/80f58ef/testr_results.html18:02
sean-k-mooney yep i have that open in a tab somewhere18:03
melwittok cool :)18:03
sean-k-mooneyim wondering if this is related to a call to super or something like that18:04
sean-k-mooneyim not exactly sure where TypeError: __init__() takes at least 2 arguments (1 given)18:05
sean-k-mooneyis coming form or if this is a tully the issue18:05
melwitthmm, I will check18:06
sean-k-mooneymy guess is either this is related to the python 3 only verison fo super or we require an adtional positional arg in train for a class18:09
sean-k-mooneythe one arg that was given is presumabley self18:09
sean-k-mooneyalthugh it could be the context18:10
melwittI feel like it has to be something to do with creation of the ClientException objects in the unit tests, there's really not much in the patch18:13
melwitt*not much else18:14
sean-k-mooneywhats weired is it only fails on py2718:14
sean-k-mooneyi expect most or all of that to not care18:14
melwittyeah, same. so weird18:15
-opendevstatus- NOTICE: The lists.opendev.org and lists.zuul-ci.org sites will be offline briefly for migration to a new server20:01
zigoHi there! About https://bugs.debian.org/1025110 to me it feels like novaclient is calling suparser.addparser twice with the same subparser name, which now raises an error in Py 3.11.21:01
zigoThough I'm having trouble finding the 2 places ...21:02
zigo(I'm not familliar with novaclient...)21:02
zigoCan someone have a look?21:02
zigoIn novaclient/tests/unit/test_shell.py, I can see shell._find_actions() called twice with fake_actions_module as argument ...21:04
zigoThat's both in test_load_versioned_actions() and test_load_actions_with_versioned_args().21:05
zigoSo this looks like a test issue, not a novaclient issue.21:06
zigohttps://bugs.launchpad.net/python-novaclient/+bug/199885621:10
*** dasm is now known as dasm|off22:51

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