Friday, 2025-02-21

sean-k-mooneymelwitt: +2 on your repodcuer and fix for the listDevices thing00:15
melwittsean-k-mooney: thanks :)00:15
melwittsean-k-mooney: hm ... the top patch is still failing the spice test after merging the tempest change. seems to be the same error about "additional schema properties"03:11
sean-k-mooneydid the tempet one merge?03:12
melwittyes. it merged and then I rechecked it03:12
melwittnot sure if I'm missing something03:13
sean-k-mooneylet me check the results03:13
sean-k-mooneywere you watching it live03:13
sean-k-mooneyi dont see zuul reproting yet03:13
melwittyeah watching it live. as soon as it turned red03:14
melwittnot sure if this will work https://zuul.openstack.org/stream/85ee800351e444bcbf37a907f0e9ac50?logfile=console.log03:14
sean-k-mooneyi have it open :)03:14
melwittheh03:14
sean-k-mooneyi think this is a diffent error03:15
melwittmy first thought is I wonder if it somehow has to do with the image properties patch merged, if some schema update was needed for that?03:15
sean-k-mooneyyep that what im thinking03:15
melwittbleh03:15
melwittwe really need a better way (or a way :P) to make sure we sync tempest with api changes03:16
sean-k-mooneyso we need ot also update the tempest schema validate with the 2.98 stuff03:16
sean-k-mooneywell normlay we merge the tempets change after the api change and have a dnm on nova to show its working03:16
sean-k-mooneyso nova(api) <- tempest <- nova (DNM)03:17
melwittI see03:18
sean-k-mooneyso this isnt a problem with any of mikal patches03:18
sean-k-mooneyits because tempest is not aware of 2.9803:18
melwittok. that makes sense then03:18
sean-k-mooneyand any test that uses 2.99 is going to fail if it does a server show i think03:19
melwittyeah I think you're right03:19
sean-k-mooneygiven it 3:20 i shoudl probaly either go to bed or get a glass of wiskey03:21
sean-k-mooneywe could push a patch to tempest and then put a patch on top of the speice direct one to verify it fixes it03:22
melwittthose are some choices lol03:22
melwittyeah. I could probably do that. I have done a tempest schema patch once before03:23
sean-k-mooneyi mean it clearly to late? early? for coffee03:23
melwittyeah. no coffee03:23
sean-k-mooneyok so it kind of an issue with mikals tempest patch but only because the schemav299 tehy defiend does not have the image stuff03:29
sean-k-mooneyso we need to add a 2_98 and update https://review.opendev.org/c/openstack/tempest/+/942023/3/tempest/lib/api_schema/response/compute/v2_99/servers.py#1503:29
sean-k-mooneyto import that instead03:29
melwittah ok03:30
sean-k-mooneyalso when we hit 2.100 can we defien a 3.0 that is just 2.100 and move on withour lives03:30
melwittlol. that's ... a good point03:30
sean-k-mooneyit wouldnt be the first tiem we had a 3.0 ...03:31
melwitthah. yeah03:31
masahitohi nova folks, please review the API bug fix for v2.96 and later version if you have time.  https://review.opendev.org/c/openstack/nova/+/93965803:32
sean-k-mooneyoht he pined az03:33
masahitoyes :-)  The show scheduler hint feature needs to follow similar change because it checks request_spec.03:34
sean-k-mooneyim currently ruminating on https://review.opendev.org/c/openstack/nova/+/939658/6/nova/api/openstack/compute/views/servers.py#22203:36
sean-k-mooneysyliticlly this annoys me but im tryign to decied if there is actully an issue 03:36
sean-k-mooneyif i read that if cascade03:37
sean-k-mooneyit imples provided_az is either the litral boolean False or its a sting contiaing the az name03:38
sean-k-mooneyso the data type of provided_az is union(NONE|bool|str)03:40
masahitoyes, I also wondering it follows Nova's nice coding manner. The _get_pinned_az needs to identify 3 patterns as commented.03:40
sean-k-mooneyso None is only passe if show is invoed and prived_az is not passed03:42
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/939658/6/nova/api/openstack/compute/views/servers.py#24403:42
sean-k-mooneycorrect?03:42
sean-k-mooneyin what case is false passed?03:43
masahitoright.03:43
masahitofales is passed if list is invoked and no request_specs object to an instance03:44
sean-k-mooneyah03:44
sean-k-mooneyit woudl be nice if None was passed then03:45
sean-k-mooneythats form here right https://review.opendev.org/c/openstack/nova/+/939658/6/nova/api/openstack/compute/views/servers.py#53903:45
sean-k-mooneyif we change req_specs_dict.get(server.uuid, False) to req_specs_dict.get(server.uuid, None)03:46
sean-k-mooneyim trying to decide if that allows use to simplfy the if03:47
sean-k-mooneyit would allow use toe get rid of the first two brances and jsut replace it with pinned_az = provided_az03:48
sean-k-mooneybut the else woudl have to become if pinned_az is None:03:48
masahitobut in that case, _get_pinned_az can't identify pre-fetheched None in list or no input in show.03:48
masahitos/no input in show/no input None in show/03:48
sean-k-mooneysure but im trying to decied if that matters03:48
sean-k-mooneyif we dont have a request spec then it cant be pinned03:49
masahitoi see. 03:49
sean-k-mooneyim not sayign you should change this03:50
sean-k-mooneyim trying to undersand the desing chooices that lead to this current patch03:51
sean-k-mooney"if provided_az is False:" is very specific and odd03:51
masahitothanks for the follow up.  my reply is one previous your message.03:51
sean-k-mooneyyou are using False as a sential03:51
sean-k-mooneybut it might be better to actuly create a new sentail object instead03:51
sean-k-mooneyand use that instead03:51
sean-k-mooneyso its clear what its role is03:52
masahitolike a empty request_spec object instead of False?03:52
sean-k-mooneyno03:52
sean-k-mooneyso at teh module level define sentinel = object()03:53
sean-k-mooneythen do req_specs_dict.get(server.uuid, sentinel) here03:53
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/939658/6/nova/api/openstack/compute/views/servers.py#53903:53
sean-k-mooneyand   if provided_az is sentinel:03:54
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/939658/6/nova/api/openstack/compute/views/servers.py#22203:54
sean-k-mooneyrather then using the singleton False object create your own03:55
sean-k-mooneyyou can give it a descriptive name03:55
sean-k-mooneyAZ_NOT_IN_REQUEST_SEPC = obejct()03:55
masahitoI may get your point. at the first if-condition checks the provided_az is the sentinel object or not.03:55
sean-k-mooneyright03:56
sean-k-mooneybasiclly https://python-patterns.guide/python/sentinel-object/#sentinel-objects03:56
sean-k-mooneyill leave a comment to this effect and also +103:57
sean-k-mooneyletss see if others care one way or the other03:58
masahitoLet me update to use the sentinel. I don't think it difficult change.03:59
sean-k-mooneysure03:59
opendevreviewMasahito Muroi proposed openstack/nova master: Use dict object for request_specs_dict in the _list_view  https://review.opendev.org/c/openstack/nova/+/93965804:07
masahitoupdated. thanks04:10
sean-k-mooneyi have one nit in the release note but im +204:10
sean-k-mooneymelwitt: im not sure if you wrote that patch or not but im actully got to head to sleep now,  enjoy whats left of your evnening 04:38
melwittsean-k-mooney: no not yet. gnight o/04:39
sshmlbrgsean-k-mooney: o/04:57
opendevreviewsean mooney proposed openstack/nova master: only show standard image propeties in server show.  https://review.opendev.org/c/openstack/nova/+/94241305:30
sean-k-mooneygibi: ^ that shoudl fix 05:30
sean-k-mooneyhttps://launchpad.net/bugs/209838405:30
sean-k-mooneywell maybe not05:33
sean-k-mooneythis is ligtly diffent damb it05:33
sean-k-mooneywell that fixes a bug but it might only be a partial fix05:35
opendevreviewMerged openstack/nova-specs master: Extend image-properties-in-server-show spec with rebuild  https://review.opendev.org/c/openstack/nova-specs/+/94036005:55
mikalsean-k-mooney / melwitt: there is this WIP tempest patch for v2.98 -- https://review.opendev.org/c/openstack/tempest/+/93937506:59
mikalI am a little surprised its not in merge conflict now though.06:59
mikalOh wait, that's the _other_ _other_ competitor for v2.98? Is there any existing attempt at testing for v2.98? If it changed the schema how did it merge without any tempest tests?07:12
mikalI am confused enough that I am going to stop and think about this some more.07:12
mikalI cannot find a proposed tempest change for the code which landed as v2.98.07:18
opendevreviewJohannes Kulik proposed openstack/nova master: libvirt: fix maxphysaddr passthrough dom parsing  https://review.opendev.org/c/openstack/nova/+/94237107:42
melwittsean-k-mooney: I saw your comments on the image properties patch and your fix patch. I assume that means I should hold off on trying any tempest schema patch for 2.98 for the moment if there is some bug in the API response?08:36
ratailorsean-k-mooney, you around ?08:39
sshmlbrgratailor: he's sleeping08:40
ratailorsshmlbrg, ack. Thanks!08:41
opendevreviewRajesh Tailor proposed openstack/nova master: only show standard image properties in server show.  https://review.opendev.org/c/openstack/nova/+/94241310:23
sean-k-mooneymelwitt: it does not change teh schema becuase in the schema its just a dict of sting11:11
opendevreviewVasyl Saienko proposed openstack/nova-specs master: Expose vlan trunking in metadata/configdrive  https://review.opendev.org/c/openstack/nova-specs/+/47181511:41
nishahi nova folks, please review the one line bug fix for port after live migration if you have time. thank you! https://review.opendev.org/c/openstack/nova/+/93633812:04
sean-k-mooneynisha: that not a trivile change12:04
sean-k-mooneyi skimmed it when you first pushed it and i did have tiem to fully load all the context12:05
sean-k-mooneythere are some filed that should be diffent between the souce and dest12:06
sean-k-mooneyfor example the pci adress of an sriov nic.12:07
sean-k-mooneyso this need careful review to ensure its actully correct12:08
sean-k-mooneythe binding provile is an admin only filed that is ment to be used by nova to pass info to the neutron network backend12:09
sean-k-mooneyits not a freform field that operators or end user are allowed to put arbitary keys in12:09
nishaahh I see. thank you for taking a look at it already.12:10
sean-k-mooneywhat filed were being lost in your case12:11
sean-k-mooneydo you have a specific case that is broken12:11
sean-k-mooney{"os_vif_delegation": true} was not ment to be the only content by the way it was ment to be added to the prociel and remvoe dlater12:12
sean-k-mooneythe bug doe snot say it just say "openstack port set $port_id --binding-profile aaa=bbb --binding-profile ccc=ddd"12:14
sean-k-mooneywhich is not supproted12:14
sean-k-mooneythere is only one filed that can be set by a human in the bidnign profile ant that trusted_vf12:15
sean-k-mooneyand removing that has been on our todo list forever12:15
nishain our case, the bgp network settings are set to the port in the binding profile and after live migration it is completely overwritten by os_vif_delegation12:21
sean-k-mooneythat doesn not sound like a supprote setup. can you point to the neutron pluging and confirm what virt driver your using12:27
sean-k-mooneyin the case of use with nova the content of the binding profile is exlicively resrevd for novas use, for zun it reserved for zun for standalone ironic it cna use it but it may not modify it when used via nova12:29
sean-k-mooneythere is a bug on the nova side but its not ok for neturon to modify the content of that filed12:29
sean-k-mooneyso if the ml2 dirver is modifying its incorrect12:30
nishayes, ml2 is the neutron core plugin and libvirt driver12:35
sean-k-mooneythat does not answer my question12:36
sean-k-mooneywhich ml2 driver?12:36
sean-k-mooneythere are many12:36
cardoevsaienko: so fwiw, your trunk details patch https://review.opendev.org/c/openstack/nova/+/941227 with my suggested change works for us on real hardware12:49
opendevreviewVasyl Saienko proposed openstack/nova-specs master: Expose vlan trunking in metadata/configdrive  https://review.opendev.org/c/openstack/nova-specs/+/47181512:54
vsaienkocordoe: thanks, nova team asked to create a spec https://review.opendev.org/c/openstack/nova-specs/+/471815, and I've discovered that in my patch grenade job is failing because of issues with Instance object format not recognized correctly by older nova-compute. 12:55
opendevreviewLuis Enrique Morales Mendez proposed openstack/nova master: Add 'LOG' to archive_deleted_rows function  https://review.opendev.org/c/openstack/nova/+/94244113:05
cardoeLooking to land https://review.opendev.org/c/openstack/nova/+/942019 and then create some backports to 2024.2 and 2024.1 without that change those versions just log the SDK Result Object at <0xDEADBEEF> as the error message.13:06
nishasean-k-mooney: we use custom driver which is a combination of srv6 and l2isolate type driver using linuxbridge based agent, i suspect this is responsible to overwrite the binding_profile. i understand the current situation on nova's side. thank you for sharing the details.13:12
ratailorsean-k-mooney, you around ?15:57
opendevreviewmelanie witt proposed openstack/nova master: DNM test microversion 2.99  https://review.opendev.org/c/openstack/nova/+/94249321:01
mikalmelwitt / sean-k-mooney: https://review.opendev.org/c/openstack/tempest/+/942495 is an attempt at the schema changes in tempest for v2.98. I am fairly confident it is wrong.21:11
melwittmikal: I also uploaded one a few minutes ago heh. I'm running a DNM patch at the end of the series to see if it works21:18
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console object changes  https://review.opendev.org/c/openstack/nova/+/92687621:18
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console database changes  https://review.opendev.org/c/openstack/nova/+/92687721:18
opendevreviewMichael Still proposed openstack/nova master: libvirt: allow direct SPICE connections to qemu  https://review.opendev.org/c/openstack/nova/+/92484421:18
mikalmelwitt: oh I saw your nova one, did you do a tempest one too?21:18
melwittaaand it just got orphaned I think 21:19
melwitthaha, yes I did21:19
mikalmelwitt: I might have just stomped on yours then...21:19
mikalOk, I'll revert mine changes to the nova series. Sorry.21:19
melwittno I think it's ok21:19
mikalWell the series now depends on my lame attempt at a v2.98 schema in tempest21:19
melwittmikal: it looks like it's still working anyway21:20
mikalmelwitt: your tempest patch is definitely better than mine. I am pretty sure mine will get in your way unless your orphan test is just continuing to run?21:20
melwittit looks like it's pinned to PS 40. that's pretty cool21:21
melwittmikal: it's continuing to run. I didn't think it used to work that way but this is nice21:21
mikalI'll still have to drop the depends on for my WIP tempest change or it will get in the way. I'll do that now.21:22
opendevreviewDouglas Viroel proposed openstack/nova master: Add support for showing scheduler_hints in server details  https://review.opendev.org/c/openstack/nova/+/93860421:22
melwittsorry for duplicating. I wanted to try to help since the microversion race messed everything up21:22
mikalOh, I am very grateful for the help. I definitely don't want to be chasing this over the weekend, but I am also very worried about missing feature freeze at this point.21:23
mikalerror: remote unpack failed: error Missing tree 4a45ed28aa51f7ae9791b3f90a1fe8fef3c42dab21:23
mikalfatal: Unpack error, check server log21:23
mikalI have no idea what that means.21:24
melwittno, we will get it working21:24
melwittbleh. my DNM patch just failed. must be something in my tempest patch, I'll figure out what's wrong with it21:29
mikalI am just arguing with gerrit to try and remove that depends-on I only just added, but for reasons too boring to explain git review takes like five minutes in my workflow.21:30
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console object changes  https://review.opendev.org/c/openstack/nova/+/92687621:30
opendevreviewMichael Still proposed openstack/nova master: libvirt: direct SPICE console database changes  https://review.opendev.org/c/openstack/nova/+/92687721:30
opendevreviewMichael Still proposed openstack/nova master: libvirt: allow direct SPICE connections to qemu  https://review.opendev.org/c/openstack/nova/+/92484421:30
mikalRight, depends-on for my bad tempest change removed. melwitt, feel free to add a depends on to your change if that's easier. I am not offended by you uploading patches to that series.21:31
melwittsure. yeah adding depends-on would probably be better. tbh I didn't expect anyone would be doing anything with it today so I just stacked it on top :P21:33
melwittand will obviously abandon once this gets working21:33
mikalWhatever works for you is fine with me.21:37
mikalI need to go for a run before it gets any hotter outside, but I will check back in a couple of hours.21:37
opendevreviewMax proposed openstack/nova master: feat: nova-manage db instance events cleanup  https://review.opendev.org/c/openstack/nova/+/91692722:07
melwittsean-k-mooney, mikal: I think I got things working for 2.98 in tempest here https://review.opendev.org/c/openstack/tempest/+/942492. the spice series passes the spice tempest test with that cc gmann 23:28
sean-k-mooneyso skimming that i think that looks corect to me23:39
sean-k-mooneyand it "shoudl" fix the spice test i belvie23:39
melwittI tested it here https://review.opendev.org/c/openstack/nova/+/94249323:39
sean-k-mooneyoh awsome23:39
melwittit definitely works for now. but if we change the schema again (I saw the fix you are working on) then we'll need to correspondingly adjust tempest after I think23:40
sean-k-mooneyam we should not need to change it23:41
sean-k-mooneyif we change it from properties to image properties like ragesh suggested we woudl be ut that need a new microversion 23:42
sean-k-mooneyso we shoudl avoid that23:42
melwittwe definitely need to add 'null' as a type bc the api is currently returning None for some properties like hw_input_bus. I comment about it on your patch23:42
mikalThanks for chasing this down guys, I really appreciate it.23:43
melwittthe previous failure of the spice test was because 'null' wasn't allowed by the schema, so I added it to the schema on the tempest side23:43
mikalIs there anything I can do here to be helpful, or do you think its largely sorted out now?23:44
melwittafaict I think it's sorted. just need to merge this tempest patch and then we need to re-apply +2s and +W the bottom 3 patches. I assume we can diff against PS40 to see that no code changed23:45
melwitt*3 spice patches23:45
mikalThe first two still have their +2s in gerrit, the third one was clobbered.23:47
sean-k-mooneyi guess we have 2 chocies 23:50
sean-k-mooneywe coudl add null or we could jsut not print that key in that case23:50
sean-k-mooneyis None a valid value or is it just printign that because its unset?23:51
sean-k-mooneyi had to step away to let freya (my frieds dog im minding for the week) out23:52
sean-k-mooneybut i started lookign at the third spice patch23:52
sean-k-mooneymelwitt: we can add a depends on on my image property patch to make sure its tested with your tempest patch to make sure we confrom to it23:52
melwittyou know better than I do whether None is a valid/meaningful value. I would think it's not but I don't know for sure23:54
sean-k-mooneywe would have had to require it to be set to null in glance i think23:54
sean-k-mooneyi suspect not but we can adress that in my bugfix patch23:55
melwitt++23:55
melwittmikal: ah ok, thanks23:55
sean-k-mooneyi readded +2 on hte third23:56
sean-k-mooneyso reading your schema patch comment23:58
mikalsean-k-mooney: I assume the door has now closed on that os-traits change landing this cycle, yeah?23:58
sean-k-mooneyfor the bools ectra i thinks we can make sure we alwasy convert the vlues to stings23:58
sean-k-mooneymikal: am technically the release should have haappend today23:58
sean-k-mooneybut in realisty i dont know if it has so we could try and squeeze it in23:59
sean-k-mooneylet me check23:59

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