Earlier  
Posted Nick Remark
#openstack-nova - 2025-02-19
14:49:08 sean-k-mooney be right there
14:50:18 sean-k-mooney give me a sec i need to sign in to sso...
15:17:15 sean-k-mooney bauzas: so looks like melwitt gave me feedback on the release not so ill proably respine for that https://review.opendev.org/c/openstack/nova/+/940835/7 if you have any other comments then i can adress them at the same time
15:19:54 sean-k-mooney im goign to squash the two commit and reuplload in a few minutes
15:22:25 sean-k-mooney if people are around later i want to merge https://review.opendev.org/c/openstack/os-vif/+/941585 and https://review.opendev.org/c/openstack/os-vif/+/941568 today if we can too so we can do a release of os-vif before the non clinet lib freeze tomorrow
15:23:00 sean-k-mooney ill work on the nova deprecation patch later today as well but that is less urgent
15:24:44 sean-k-mooney as a psa firday is a company day at redhat so many of us wont be around
15:29:02 bauzas sean-k-mooney: gibi: you probably lost context about https://review.opendev.org/c/openstack/nova/+/845757/8 but I now rebased it and I think it would help many users, particularly for evacuation ccases
15:29:24 bauzas sean-k-mooney: I can dig into the os-vif patches
15:29:51 sean-k-mooney i cna review that later. i still have some of the context
15:30:48 bauzas sean-k-mooney: I wonder why I did split the change in two patches, one for the doc change and the other one for the code change
15:31:10 bauzas maybe I should squash that, particularly you had concerns about the doc
15:47:00 opendevreview Dan Smith proposed openstack/nova master: Add fill_metadata() to InstanceList https://review.opendev.org/c/openstack/nova/+/942214
15:49:45 dansmith sean-k-mooney: bauzas: ^
15:50:11 bauzas thanks
16:00:28 opendevreview Merged openstack/nova master: Respect supplied arguments in novncproxy_base_url https://review.opendev.org/c/openstack/nova/+/928839
17:05:07 opendevreview ribaudr proposed openstack/nova master: Add live_migratable flag to PCI device specification https://review.opendev.org/c/openstack/nova/+/942144
17:05:07 opendevreview ribaudr proposed openstack/nova master: Augment the LiveMigrateData object https://review.opendev.org/c/openstack/nova/+/942143
17:05:08 opendevreview ribaudr proposed openstack/nova master: Update conductor and filters allowing migration with SR-IOV devices https://review.opendev.org/c/openstack/nova/+/942146
17:05:08 opendevreview ribaudr proposed openstack/nova master: Update manager to allow vfio pci device live migration https://review.opendev.org/c/openstack/nova/+/942145
17:05:09 opendevreview ribaudr proposed openstack/nova master: WIP: Update driver to map the targeted address for SR-IOV PCI devices https://review.opendev.org/c/openstack/nova/+/942147
17:06:57 ratailor gibi, I already submitted changes for sdk and client here https://review.opendev.org/q/topic:%22bp/image-props-in-server-show%22 but the tests are failing, because not sure how to add 'image_properties' attr to class Server in openstacksdk with 2.98 version specific.
17:07:25 ratailor gibi, could you please check and provide your feedback, when you have time ?
17:09:41 opendevreview sean mooney proposed openstack/nova master: move nova-ovs-hybrid-plug to deploy with spice and fix qxl default https://review.opendev.org/c/openstack/nova/+/940873
17:11:05 sean-k-mooney melwitt: bauzas ^ squased into one comment, with release note updated. this is the review that was used for depends on before and i have abandoned the first patch
17:11:43 sean-k-mooney ok so next on my list is dans patch
17:12:04 melwitt sean-k-mooney: cool, thanks. will look
17:40:43 sean-k-mooney dansmith: bauzas im good with https://review.opendev.org/c/openstack/nova/+/942214
17:41:14 sean-k-mooney just waiting on zuul beofre +w
17:41:27 sean-k-mooney with that said
17:41:51 sean-k-mooney it would be nice to see this used in https://review.opendev.org/c/openstack/nova/+/940642
17:41:55 sean-k-mooney before we merge
17:42:09 sean-k-mooney so perhaps we shoud wait to merge until the other patches are on top
17:42:43 dansmith yep, fine to wait until it's used
17:42:50 bauzas sure, I'm working on the rebase
17:42:59 bauzas and then I'll need to end for the day
17:56:26 gmann In case anyone interested, TC is short of one candidate for this election. nomination ending in ~6 hrs from now https://governance.openstack.org/election/
18:00:09 dansmith gmann: a non-redhat person is needed I assume :)
18:02:17 gmann dansmith: I think we still have one member capacity for RH member. slaweq is not re-running and no new RH member nominated yet
18:07:08 MengyangZhang[m] sean-k-mooney: I may need some help with implementing this min version check you mentioned for this patch https://review.opendev.org/c/openstack/nova-specs/+/932653. I have two ideas to do this:... (full message at <https://matrix.org/oftc/media/v1/media/download/AViM5KuzefB-19EfrDbw71k64XnKJJpP_G9sobaeS8NH-AJhP8DfPwD665n9DmazUuyKEk2lk1KiimNHIqjb0xpCeVZ31wDgAG1hdHJpeC5vcmcvcUdQVElMSnlsTUNLTWFJUVFDaFpmdERR>)
18:09:00 sean-k-mooney MengyangZhang[m]: oh so you cant really do that properly. my expection was cidner qos would never change out side of spawn/attach or perhaps volume retype
18:09:38 sean-k-mooney we coudl do it for spawn and attach in https://github.com/openstack/nova/blob/master/nova/compute/api.py
18:09:56 sean-k-mooney but cidner will end up bypassing any proection we put in place...
18:10:28 sean-k-mooney so im not sure what to do about that
18:10:54 sshmlbrg Hi?
18:11:07 sean-k-mooney sshmlbrg: o/
18:11:24 sshmlbrg I have a question about the 'attach volume to shelved instance' functionality. How does it work if an instance in the 'shelved_offloaded' status has no availability zone, but when attaching, the availability zones of the instance and the volume are checked? The documentation states that this functionality works starting from microversion 2.20.
18:12:28 sean-k-mooney sshmlbrg: i dont think we supprot attach ro deation for shleve_offloaded but i would have to check
18:13:29 sshmlbrg ok, thanks
18:13:43 sean-k-mooney maybe we do i might be confusing that with snapshosts
18:14:34 sshmlbrg https://docs.openstack.org/api-ref/compute/?expanded=attach-a-volume-to-an-instance-detail#attach-a-volume-to-an-instance
18:14:47 sean-k-mooney ok so yes we do suprot it basedon the api refe as you said form 2.20
18:15:01 sean-k-mooney you were asking about aviablity zone checks
18:15:13 sshmlbrg but it doesn't work
18:15:31 sean-k-mooney so by default htere are no aviablity zone checks for nova and cinder voluems.
18:15:46 sean-k-mooney we have a config option to opt into the non default beahvior of preventign cross az attach
18:16:18 sean-k-mooney its possible this only works when cross az atach is allow or when an instance is pinned to an az
18:19:53 sean-k-mooney ill see if i can quickly test it
18:20:27 sshmlbrg But this function lacks a cross-AZ check, and we proceed to compare the availability zone of the volume and the instance. https://github.com/openstack/nova/blob/master/nova/compute/api.py#L5143
18:22:07 sean-k-mooney so cross_az attach is a comput enode option
18:22:19 sean-k-mooney a shevle offloaded instance does not have a compute service
18:22:41 sean-k-mooney so you cant actuly reason about if this shoudl or shoudl not work
18:23:50 sean-k-mooney the az check i enabeld by this check https://github.com/openstack/nova/blob/master/nova/compute/api.py#L5065
18:23:56 sean-k-mooney *this default
18:24:02 sean-k-mooney because we are not passsing that variable
18:24:35 opendevreview Sylvain Bauza proposed openstack/nova master: Add a new ImagePropertiesWeigher https://review.opendev.org/c/openstack/nova/+/940642
18:24:36 opendevreview Sylvain Bauza proposed openstack/nova master: per-property ImageMetaPropsWeigher https://review.opendev.org/c/openstack/nova/+/941601
18:24:47 bauzas dansmith: sean-k-mooney: rebased as asked
18:25:27 sshmlbrg Then, should we disable this option so that attach works for shelved_offloaded VMs?
18:25:51 dansmith bauzas: okay did you want me to make the mods to use the new method?
18:26:03 sean-k-mooney there is more context here
18:26:24 sean-k-mooney sshmlbrg: https://github.com/openstack/nova/commit/07a24dcef7ce6767b4b5bab0c8d3166cbe5b39c0
18:27:20 sshmlbrg i need a few minutes to get it :)
18:28:39 sean-k-mooney sshmlbrg: it looks like the curent check was added to fix https://bugs.launchpad.net/nova/+bug/1694844
18:28:57 sean-k-mooney but it may have broken seveled atatch in the process
18:29:59 sean-k-mooney skimming the patch it maybe looks like the intent was to fall back to the default schduler zone
18:30:31 sean-k-mooney i think in this sepcific case it woudl be valide to pass false
18:31:00 sean-k-mooney if an donly if instnace.az was None in either the request spec or the instance table in teh cell db
18:31:35 sean-k-mooney basically if the isntance is shelve_offloaded. and it not pinend to any az
18:32:04 sean-k-mooney then we can possibly disable the afinity check
18:32:33 sean-k-mooney but that may lead to issue unshevling
18:32:46 sean-k-mooney unless we pinned the shleved instance to the relevent az
18:33:10 sean-k-mooney that is only vailid to do however if cros_az_attach=false
18:34:17 sean-k-mooney since we can now unshlve to an az
18:34:27 sshmlbrg Yes, and also, we can unshelve the VM to another AZ, and I’m not sure how the volumes will behave in that case.
18:34:45 sean-k-mooney the workaround for tha twould be to return an error and make the user explictly request the az they want to unshvle to and that woudl have to match the volume az
18:35:07 sean-k-mooney sshmlbrg: its blocked if you use the non default beahvior
18:35:30 sshmlbrg ok
18:35:34 sean-k-mooney sshmlbrg: teh reals fix is to delete the ablity for nova to prevent cross_az entirly
18:35:44 sean-k-mooney that never shoudl have been a per compute config option
18:36:02 sean-k-mooney it should be a attibute on the cinder volume
18:36:25 sean-k-mooney i.e. when attaching a volume you shoudl be able to choose if cross az storage is allowed or not
18:36:35 sean-k-mooney the reason it snot that way, beyond legacy
18:36:55 sean-k-mooney is as a end user you dont knwo if the strage backend is accable from the current host
18:37:41 sean-k-mooney its tricky
18:38:35 sshmlbrg ok, i hope i got it, need to summarize it. Is it bug or ...?
18:49:35 sean-k-mooney its proably a but im just not sure how to fix it
18:50:06 sean-k-mooney im inclided to say pass false and then requrie pepoel to unshlve to the same az fi thats how the clodu is confiugred
18:51:08 sean-k-mooney we shoudl have a better solution to this, that the problem with config driven api bevhior and why we dont add it anymore if we can avoid it at all costs
18:53:30 sshmlbrg I was thinking about storing the old AZ, writing the AZ to it when shelving, and releasing it when unshelving. Then, when attaching the volume, we could check that specific availability zone.

Earlier   Later