Earlier  
Posted Nick Remark
#openstack-nova - 2024-02-14
16:42:04 sean-k-mooney in mitaka we added auto to do the right thing
16:42:08 sean-k-mooney https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-mitaka
16:43:26 ganso sean-k-mooney: by "auto" you mean, not specifying anything? in that case the code complains that it is not in shared storage
16:44:00 sean-k-mooney so if you do openstack --os-compute-api=2.25 server migrate --live <server>
16:44:09 sean-k-mooney then it will just do the right thing
16:44:22 sean-k-mooney and we will leave libvirt copy the config drive i belive
16:45:04 sean-k-mooney ganso: there was a specific bug with libvirt and live migrating with iso files attached as a cdrom
16:45:11 sean-k-mooney that requried us to copy it first
16:45:21 sean-k-mooney but that was in like ubuntu 16.04
16:45:54 sean-k-mooney resolved in libvirt v1.2.17.
16:46:30 sean-k-mooney https://bugs.launchpad.net/nova/+bug/1246201
16:46:53 dougszu It's this code block running on dest (contains both config drive and glance image copy): https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L10892
16:47:21 dougszu I'm not seeing where it's gated on --block-migration, but could have missed something
16:47:29 sean-k-mooney right that was added by https://review.opendev.org/c/openstack/nova/+/365420/1/nova/virt/libvirt/driver.py
16:47:51 sean-k-mooney that code is not needed anymore and has not been for litrally years
16:48:27 dougszu For config drive yeah, but not the Glance image?
16:48:31 sean-k-mooney ya so that code https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L10899-L10911
16:48:34 sean-k-mooney can be removed
16:48:53 sean-k-mooney for the backing file
16:49:10 sean-k-mooney we cant remvoe it but its not a bug that that does nto use the live
16:49:24 sean-k-mooney *live_migrateion_inboud_adr
16:50:16 sean-k-mooney im not sure if that will now work with the new migration migration_inbound_addr
16:50:38 sean-k-mooney i belive it should but it it does not it would be a bug in that new feature
16:51:42 ganso sean-k-mooney: ok I will ask my customer to re-test that with the --os-compute-api=2.25 --live and without --block-migration and see if that solves the issue
16:52:00 sean-k-mooney ack
16:52:02 dougszu Thanks, I can do some more testing. Good to know the config drive code can be removed.
16:52:03 ganso sean-k-mooney: btw I thought --live was deprecated in favor of --live-migration, --live was the one that specified the dest and --live-migration leaves it to the scheduler
16:52:22 sean-k-mooney oh right
16:52:42 sean-k-mooney ya in either case the impoatnt point it to use a microversion >= 2.25
16:52:48 sean-k-mooney to get the auto behvior
16:55:08 ganso sean-k-mooney: thanks for the explanation! :)
16:56:07 sean-k-mooney a straignt revert of https://review.opendev.org/c/openstack/nova/+/365420 wont work because of merge conflcits
16:56:32 opendevreview sean mooney proposed openstack/nova stable/mitaka: Revert "[libvirt] Live migration fails when config_drive_format=iso9660" https://review.opendev.org/c/openstack/nova/+/908937
16:56:46 sean-k-mooney actully never mind apprently it will work
16:57:09 opendevreview sean mooney proposed openstack/nova stable/mitaka: Revert "[libvirt] Live migration fails when config_drive_format=iso9660" https://review.opendev.org/c/openstack/nova/+/908937
16:58:51 sean-k-mooney actully the striagt revert is wrong for other reason but ill see if i can remove that code properly oh also its agaisnt the wrong branch
16:58:59 sean-k-mooney so ignore ^
16:59:52 sean-k-mooney dougszu: ganso what i was going to say is if either of ye feel like reverting the config drive bit on master i can review
17:00:08 sean-k-mooney if not ill add this to my todo list and se if we can remove that
17:00:34 dougszu I'll try and have a go tomorrow
18:13:40 ganso sean-k-mooney: I rather have my customer test first to be sure there will be a code path that addresses their config drive migration. At the moment I am not sure as I am not familiar with that part of the code. It should go "auto" as you say but each case could be different
#openstack-nova - 2024-02-15
05:43:19 opendevreview Amit Uniyal proposed openstack/nova master: Added context manager for instance lock https://review.opendev.org/c/openstack/nova/+/873648
05:43:20 opendevreview Amit Uniyal proposed openstack/nova master: Disconnecting volume from the compute host https://review.opendev.org/c/openstack/nova/+/877446
05:43:20 opendevreview Amit Uniyal proposed openstack/nova master: Separate OSError with ValueError https://review.opendev.org/c/openstack/nova/+/908825
05:43:21 opendevreview Amit Uniyal proposed openstack/nova master: Removed explicit call to delete attachment https://review.opendev.org/c/openstack/nova/+/891289
08:47:59 opendevreview Amit Uniyal proposed openstack/nova master: Disconnecting volume from the compute host https://review.opendev.org/c/openstack/nova/+/877446
08:47:59 opendevreview Amit Uniyal proposed openstack/nova master: Separate OSError with ValueError https://review.opendev.org/c/openstack/nova/+/908825
08:48:00 opendevreview Amit Uniyal proposed openstack/nova master: Removed explicit call to delete attachment https://review.opendev.org/c/openstack/nova/+/891289
08:49:49 tkajinam sean-k-mooney, hi. thanks for your feedback in libvirt related patches ! I've replied to your comment in https://review.opendev.org/c/openstack/nova/+/908546/ so please check it when you have time
08:50:21 tkajinam in short, swtpm_ioctl has been required since swtpm support was initially added to libvirt.
10:22:43 opendevreview Merged openstack/nova master: libvirt: Stop unconditionally enabling evmcs https://review.opendev.org/c/openstack/nova/+/899776
11:12:12 opendevreview sean mooney proposed openstack/nova stable/2023.2: libvirt: Stop unconditionally enabling evmcs https://review.opendev.org/c/openstack/nova/+/909082
11:13:31 sean-k-mooney[m] elodilles: gibi ^ can we start backporting that now that it finally merged on master. this need to go to 2023.1 to fix windows on amd
11:13:53 sean-k-mooney[m] there is one other releated patch for live migration but i belive that is still not merged on master
11:14:30 sean-k-mooney[m] it can be backported seperatly
11:16:59 gibi sean-k-mooney[m]: thanks for the backport, +2
11:20:11 artom sean-k-mooney[m], oh you're doing the enlightenments backports?
11:52:57 sean-k-mooney artom: well it merged os i just did it via the ui
11:53:07 sean-k-mooney ill let you actully do the other one or respin it
11:54:10 sean-k-mooney artom: do you have the linke to the live migration patch by the way
11:54:30 artom sean-k-mooney, https://review.opendev.org/c/openstack/nova/+/904183?usp=email
11:54:49 artom sean-k-mooney, so I'm doing from bobcat to antelope, and the downstream cherry-picl?
11:55:00 sean-k-mooney artom: yes please
11:55:26 sean-k-mooney and can you backport the other one too
11:57:13 opendevreview Takashi Kajinami proposed openstack/os-traits master: Add traits for TPM models https://review.opendev.org/c/openstack/os-traits/+/909107
11:57:46 artom sean-k-mooney, it didn't merge yet
11:57:59 artom But maybe we don't care, because it has +A
12:00:00 sean-k-mooney yes i know. we do care for the cherry picked form line i just ment when its ready can you do it and ping me
12:00:19 sean-k-mooney if you want to prepare them local youc an but hopefuly it will merge later today
12:45:30 elodilles sean-k-mooney[m]: i'm not super confident about that backport, so left a question in my comment there
12:46:03 sean-k-mooney elodilles: ack, right now you cant boot windows vms on amd host becuase of a reguression intoduced by enableing that feature
12:46:16 sean-k-mooney so we really need to undo that
12:46:30 sean-k-mooney live migration is also broken for a simialr reason
12:46:56 elodilles sean-k-mooney: ACK i understand that, but what about with intel hosts? we might remove a feature that is already used by some operators?
12:48:00 sean-k-mooney yep that hsoudl only reduce performace in some edge cases where the enlightnemtn was used
12:48:25 elodilles and yepp, probably to fix this to work both AMD and Intel hosts has higher prio, i'm just asking whether this is the right way
12:48:35 sean-k-mooney to be clear i would have consider this a criticla bug requireing a new RC if we had found it before the release
12:49:07 sean-k-mooney elodilles: so to reenable this for intel hosts we will need a trait and a new falvor/image property
12:50:13 sean-k-mooney because it depend on the hardware vendor of the underlying host
12:50:24 sean-k-mooney we cant just enable this via the exissting OS_TYPE=windows
12:50:43 sean-k-mooney it will need to be requested explictly to safely enable and supprot live migration as we will have to schdule on it
12:51:40 elodilles ACK, then i also tend to agree on backporting this. but to be on the safe side, i let other stable cores to also share their opinions on the patch o:)
12:51:48 sean-k-mooney elodilles: what will happen with the backport is existing vms will keep the enlightnement until they are hard rebooted, cold migrated, shelved or rebuilt
12:55:43 elodilles is this already a bug since 2023.1 Antelope? :-o
12:56:02 sean-k-mooney yep...
12:56:15 sean-k-mooney i was kind of shocked it took so long for it to be reported
12:57:39 sean-k-mooney well i gues it didnt take that long to be reported but it did take a long time to get this fixed
12:58:19 sean-k-mooney i moved it to high the second i realsised the impact and confirmed the limitation
12:58:59 elodilles i guess not many operators have windows guests on AMD hosts :-o
12:59:17 sean-k-mooney the workaround is just dont set OS_TYPE=windows on the image
12:59:24 sean-k-mooney but that disables all the enlightenment
12:59:31 sean-k-mooney and that reduces performance a lot
12:59:54 sean-k-mooney having them eaislly doubles the guest performacne and more in some workloads
13:00:08 sean-k-mooney not that one specificaly jsut in general
13:00:26 sean-k-mooney so truning off all the windows enlightenments is really not a compeling choice
13:04:24 sean-k-mooney elodilles: https://bugs.launchpad.net/nova/+bug/2046549 is more shocking to me
13:05:05 sean-k-mooney elodilles: i would have expected operators to be screaming at use for breakign live migration with windows guests
13:05:32 elodilles :-o
13:06:01 sean-k-mooney https://review.opendev.org/c/openstack/nova/+/904183 is the fix but that is still in ci
13:08:53 elodilles so that will be also backported together with the above fix i guess then

Earlier   Later