Wednesday, 2025-02-19

opendevreviewMerged openstack/nova stable/2024.1: repoduce post liberty pre vicoria instance numa db issue  https://review.opendev.org/c/openstack/nova/+/93206400:38
opendevreviewAmit Uniyal proposed openstack/nova master: Reproducer for cold migration on shared storage  https://review.opendev.org/c/openstack/nova/+/94030402:26
opendevreviewMerged openstack/os-vif master: Update gate jobs as per the 2025.1 cycle testing runtime  https://review.opendev.org/c/openstack/os-vif/+/93558003:03
gmannmikal: approved the spice tests tempest change but melwitt reminded its depends-on nova change. if you can remove that depends-on I can quickly re-approve it https://review.opendev.org/c/openstack/tempest/+/94202303:05
opendevreviewAmit Uniyal proposed openstack/nova master: Reproducer for cold migration on shared storage  https://review.opendev.org/c/openstack/nova/+/94030404:24
opendevreviewTatsuya Hayashino proposed openstack/nova master: Allow update metadata and tag for error VM  https://review.opendev.org/c/openstack/nova/+/94216705:19
mikalgmann: sure, I can do that now09:22
mikalgmann: done09:25
opendevreviewRajesh Tailor proposed openstack/nova master: Handle InstanceExists exception for duplicate instance  https://review.opendev.org/c/openstack/nova/+/86093810:25
sshmlbrgHi! 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.10:32
opendevreviewRajesh Tailor proposed openstack/nova master: Fix KeyError on assisted snapshot call  https://review.opendev.org/c/openstack/nova/+/90078310:37
opendevreviewRajesh Tailor proposed openstack/nova master: Fix case sensitive comparison  https://review.opendev.org/c/openstack/nova/+/93310711:21
opendevreviewribaudr proposed openstack/nova master: Add managed flag to PCI device specification  https://review.opendev.org/c/openstack/nova/+/93764913:20
opendevreviewribaudr proposed openstack/nova master: Update driver to deal with managed flag  https://review.opendev.org/c/openstack/nova/+/93840513:20
opendevreviewribaudr proposed openstack/nova master: Update driver to deal with managed flag  https://review.opendev.org/c/openstack/nova/+/93840513:39
MengyangZhang[m]<MengyangZhang[m]> "Do we know what would be the..." <- sean-k-mooney: Do you have an idea of how to implement this?14:36
sean-k-mooneyi dont have context for waht your asking14:37
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing finish_time  https://review.opendev.org/c/openstack/nova/+/92893314:42
dansmithbauzas: I'm here14:42
bauzascool 14:42
fricklerMengyangZhang[m]: doing quote replies in the matrix doesn't transfer well into IRC, best avoid those14:43
bauzasso indeed the lazyloading is something like a good performance concern14:43
bauzaswhen we discussed with sean-k-mooney, we said eventually "yeah, but just for the moment we wouldn't working on it"14:43
bauzasthat said, now, if you want, I can provide another dependent change for this14:44
dansmithbauzas: we will lazy-load every instance on every host we're considering...sequentially14:44
dansmithfor ten hosts with 100 instances each, that's 1000 trips to the database for each schedule operation14:44
bauzasindeed you see this in https://4d2664479333d0a7d727-a4adcb41e06ec456a00383225f090da6.ssl.cf5.rackcdn.com/940642/9/check/nova-multi-cell/bbf5fea/controller/logs/screen-n-sch.txt14:45
bauzasFeb 17 19:20:02.725500 np0039881226 nova-scheduler[84264]: DEBUG nova.objects.instance [None req-6e249595-d7b0-4cbc-95d0-e2798d45bc99 tempest-ImagesOneServerNegativeTestJSON-728670221 tempest-ImagesOneServerNegativeTestJSON-728670221-project-member] Lazy-loading 'system_metadata' on Instance uuid e6f93654-3b12-429d-8f17-15ad1e605964 {{(pid=84264) obj_load_attr14:45
bauzas/opt/stack/nova/nova/objects/instance.py:1141}}14:45
dansmithyeah14:45
bauzasso I don't disagree with you, if you think it's a priority issue, I can try to fix it then14:45
bauzasor you if you want14:46
bauzasthat would be a bottom change for the series14:46
dansmithI really don't think it's reasonable to do this in a filter, and definitely not one that is always enabled by default and/or would have this behavior when it's not even weighted14:46
dansmithcan we gmeet about this for a minute? I want to make sure we're also considering the track-changes path properly14:47
bauzasyeah cool with me14:47
bauzasdansmith: yeah, sure14:47
* bauzas just gets a coffee14:47
dansmithbauzas: when you're ready: meet.google.com/aug-ibty-wrz14:47
dansmithsean-k-mooney: if you're interested ^14:48
sean-k-mooneyam sure14:49
sean-k-mooneybe right there14:49
sean-k-mooneygive me a sec i need to sign in to sso...14:50
sean-k-mooneybauzas: 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 time15:17
sean-k-mooneyim goign to squash the two commit and reuplload in a few minutes15:19
sean-k-mooneyif 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 tomorrow15:22
sean-k-mooneyill work on the nova deprecation patch later today as well but that is less urgent15:23
sean-k-mooneyas a psa firday is a company day at redhat so many of us wont be around 15:24
bauzassean-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 ccases15:29
bauzassean-k-mooney: I can dig into the os-vif patches15:29
sean-k-mooneyi cna review that later. i still have some of the context15:29
bauzassean-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 change15:30
bauzasmaybe I should squash that, particularly you had concerns about the doc15:31
opendevreviewDan Smith proposed openstack/nova master: Add fill_metadata() to InstanceList  https://review.opendev.org/c/openstack/nova/+/94221415:47
dansmithsean-k-mooney: bauzas: ^15:49
bauzasthanks15:50
opendevreviewMerged openstack/nova master: Respect supplied arguments in novncproxy_base_url  https://review.opendev.org/c/openstack/nova/+/92883916:00
opendevreviewribaudr proposed openstack/nova master: Augment the LiveMigrateData object  https://review.opendev.org/c/openstack/nova/+/94214317:05
opendevreviewribaudr proposed openstack/nova master: Add live_migratable flag to PCI device specification  https://review.opendev.org/c/openstack/nova/+/94214417:05
opendevreviewribaudr proposed openstack/nova master: Update manager to allow vfio pci device live migration  https://review.opendev.org/c/openstack/nova/+/94214517:05
opendevreviewribaudr proposed openstack/nova master: Update conductor and filters allowing migration with SR-IOV devices  https://review.opendev.org/c/openstack/nova/+/94214617:05
opendevreviewribaudr proposed openstack/nova master: WIP: Update driver to map the targeted address for SR-IOV PCI devices  https://review.opendev.org/c/openstack/nova/+/94214717:05
ratailorgibi, 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:06
ratailorgibi, could you please check and provide your feedback, when you have time ?17:07
opendevreviewsean 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/+/94087317:09
sean-k-mooneymelwitt: 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 patch17:11
sean-k-mooneyok so next on my list is dans patch17:11
melwittsean-k-mooney: cool, thanks. will look17:12
sean-k-mooneydansmith: bauzas  im good with https://review.opendev.org/c/openstack/nova/+/94221417:40
sean-k-mooneyjust waiting on zuul beofre +w17:41
sean-k-mooneywith that said17:41
sean-k-mooneyit would be nice to see this used in https://review.opendev.org/c/openstack/nova/+/940642 17:41
sean-k-mooneybefore we merge17:41
sean-k-mooneyso perhaps we shoud wait to merge until the other patches are on top17:42
dansmithyep, fine to wait until it's used17:42
bauzassure, I'm working on the rebase17:42
bauzasand then I'll need to end for the day17:42
gmannIn case anyone interested, TC is short of one candidate for this election. nomination ending in ~6 hrs from now https://governance.openstack.org/election/17:56
dansmithgmann: a non-redhat person is needed I assume :)18:00
gmanndansmith: I think we still have one member capacity for RH member. slaweq is not re-running and no new RH member nominated yet18:02
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:07
sean-k-mooneyMengyangZhang[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 retype18:09
sean-k-mooneywe coudl do it for spawn and attach in https://github.com/openstack/nova/blob/master/nova/compute/api.py18:09
sean-k-mooneybut cidner will end up bypassing any proection we put in place...18:09
sean-k-mooneyso im not sure what to do about that18:10
sshmlbrgHi?18:10
sean-k-mooneysshmlbrg: o/18:11
sshmlbrgI 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:11
sean-k-mooneysshmlbrg: i dont think we supprot attach ro deation for shleve_offloaded but i would have to check18:12
sshmlbrgok, thanks18:13
sean-k-mooneymaybe we do i might be confusing that with snapshosts18:13
sshmlbrghttps://docs.openstack.org/api-ref/compute/?expanded=attach-a-volume-to-an-instance-detail#attach-a-volume-to-an-instance18:14
sean-k-mooneyok so yes we do suprot it basedon the api refe as you said form 2.2018:14
sean-k-mooneyyou were asking about aviablity zone checks18:15
sshmlbrgbut it doesn't work18:15
sean-k-mooneyso by default htere are no aviablity zone checks for nova and cinder voluems.18:15
sean-k-mooneywe have a config option to opt into the non default beahvior of preventign cross az attach18:15
sean-k-mooneyits possible this only works when cross az atach is allow or when an instance is pinned to an az18:16
sean-k-mooneyill see if i can quickly test it 18:19
sshmlbrgBut 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#L514318:20
sean-k-mooney so cross_az attach is a comput enode option18:22
sean-k-mooneya shevle offloaded instance does not have a compute service18:22
sean-k-mooneyso you cant actuly reason about if this shoudl or shoudl not work18:22
sean-k-mooneythe az check i enabeld by this check https://github.com/openstack/nova/blob/master/nova/compute/api.py#L506518:23
sean-k-mooney*this default18:23
sean-k-mooneybecause we are not passsing that variable18:24
opendevreviewSylvain Bauza proposed openstack/nova master: Add a new ImagePropertiesWeigher  https://review.opendev.org/c/openstack/nova/+/94064218:24
opendevreviewSylvain Bauza proposed openstack/nova master: per-property ImageMetaPropsWeigher  https://review.opendev.org/c/openstack/nova/+/94160118:24
bauzasdansmith: sean-k-mooney: rebased as asked18:24
* bauzas needs to leave18:24
sshmlbrgThen, should we disable this option so that attach works for shelved_offloaded VMs?18:25
dansmithbauzas: okay did you want me to make the mods to use the new method?18:25
sean-k-mooneythere is more context here18:26
sean-k-mooneysshmlbrg: https://github.com/openstack/nova/commit/07a24dcef7ce6767b4b5bab0c8d3166cbe5b39c018:26
sshmlbrgi need a few minutes to get it :)18:27
sean-k-mooneysshmlbrg: it looks like the curent check was added to fix https://bugs.launchpad.net/nova/+bug/169484418:28
sean-k-mooneybut it may have broken seveled atatch in the process18:28
sean-k-mooneyskimming the patch it maybe looks like the intent was to fall back to the default schduler zone18:29
sean-k-mooneyi think in this sepcific case it woudl be valide to pass false18:30
sean-k-mooneyif an donly if instnace.az was None in either the request spec or the instance table in teh cell db18:31
sean-k-mooneybasically if the isntance is shelve_offloaded. and it not pinend to any az18:31
sean-k-mooneythen we can possibly disable the afinity check18:32
sean-k-mooneybut that may lead to issue unshevling18:32
sean-k-mooneyunless we pinned the shleved instance to the relevent az18:32
sean-k-mooneythat is only vailid to do however if cros_az_attach=false18:33
sean-k-mooneysince we can now unshlve to an az18:34
sshmlbrgYes, 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
sean-k-mooneythe 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 az18:34
sean-k-mooneysshmlbrg: its blocked if you use the non default beahvior18:35
sshmlbrgok18:35
sean-k-mooneysshmlbrg: teh reals fix is to delete the ablity for nova to prevent cross_az entirly18:35
sean-k-mooneythat never shoudl have been a per compute config option18:35
sean-k-mooneyit should be a attibute on the cinder volume18:36
sean-k-mooneyi.e. when attaching a volume you shoudl be able to choose if cross az storage is allowed or not18:36
sean-k-mooneythe reason it snot that way, beyond legacy18:36
sean-k-mooneyis as a end user you dont knwo if the strage backend is accable from the current host18:36
sean-k-mooneyits tricky18:37
sshmlbrgok, i hope i got it, need to summarize it. Is it bug or ...?18:38
sean-k-mooneyits proably a but im just not sure how to fix it18:49
sean-k-mooneyim inclided to say pass false and then requrie pepoel to unshlve to the same az fi thats how the clodu is confiugred18:50
sean-k-mooneywe 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 costs18:51
sshmlbrgI 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.18:53
sean-k-mooneyso that not correct18:54
sean-k-mooneyinstnace that dont request a az shoudl not be pinned to one by default18:54
sshmlbrgunderstand why18:54
sean-k-mooneyif they have a cidner volume and land on a host with cross_az_attach=false and it does not violate the requirement nova will pin it18:55
sean-k-mooneysshmlbrg: did the instance have a voluem before it was shelved?18:56
sshmlbrgyes, volume-backed instance18:56
sean-k-mooneyok then it should be pinned already18:57
sean-k-mooneyso the bug is that its proably not usign the az form the request spec if its not set in the host18:57
sean-k-mooney* in the instance table18:57
sshmlbrgyes18:58
sean-k-mooneyok so tha that specific edge case is fixable18:58
sean-k-mooneywe proably cant fix the case where it did not have a volume before it was shelved eaisly18:59
sean-k-mooneybut we coudl fix this case.18:59
sean-k-mooneycan you write that up as a bug18:59
sean-k-mooneysshmlbrg: im not sure if its somethign you feel comfortable trying to fix18:59
sshmlbrgget availability_zone from RequestSpec for instance?19:00
sean-k-mooneyif its shelve offloaded19:01
sshmlbrgI would like to fix it under your guidance :) I will create a bug tomorrow.19:01
sean-k-mooneyand if its not pinend then just proceed as if it passed i think19:01
sshmlbrgsean-k-mooney: Thanks a lot for your attention. Stay in touch19:03
sean-k-mooneysshmlbrg: no worreis, https://github.com/openstack/nova/blob/88a36a5a0099aa52f9ea93905c7c56911b2bf0b3/nova/objects/request_spec.py#L781-L791 is your starting point 19:04
sean-k-mooneyyou can use Requestspec.get_by_instance_uuid() to get the request spec object if its shelve offloaded19:05
sean-k-mooneyand then grab the az https://github.com/openstack/nova/blob/88a36a5a0099aa52f9ea93905c7c56911b2bf0b3/nova/objects/request_spec.py#L7619:05
sean-k-mooneyif that is not none then you need to compare to the volume19:05
sean-k-mooneyif it is then i think returnign form the function might be ok19:06
sean-k-mooneywe will need to see what others think19:06
mikalMorning19:11
sean-k-mooneymikal: o/19:12
opendevreviewMengyang Zhang proposed openstack/nova-specs master: Add Burst Length Support to Cinder QoS  https://review.opendev.org/c/openstack/nova-specs/+/93265319:30
opendevreviewsean mooney proposed openstack/nova master: Deprecate linux bridge support  https://review.opendev.org/c/openstack/nova/+/94229120:58
sean-k-mooneybauzas: ^ thats the nova side fo the deprecation21:00

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