Tuesday, 2023-10-10

opendevreviewmelanie witt proposed openstack/nova master: Add encryption support to convert_image  https://review.opendev.org/c/openstack/nova/+/87093401:06
opendevreviewAmit Uniyal proposed openstack/nova master: Adds device tagging functional tests  https://review.opendev.org/c/openstack/nova/+/89516205:52
opendevreviewAmit Uniyal proposed openstack/nova master: Adds device tagging functional tests  https://review.opendev.org/c/openstack/nova/+/89516206:00
opendevreviewAmit Uniyal proposed openstack/nova master: Adds device tagging functional tests  https://review.opendev.org/c/openstack/nova/+/89516206:35
hamidlotfi_Hi there,07:13
hamidlotfi_In the nova database, I see much `LOCK WAIT` on the `neutron.ports` table 07:13
hamidlotfi_and I putting  a sample log for the lock wait 07:13
hamidlotfi_I want to know if is this a bug in the structure of a table or the script of the update or the user mistake.07:13
hamidlotfi_https://www.irccloud.com/pastebin/o4HQQaEK/07:13
hamidlotfi_@dansmith @bauzas @sahid_ 09:54
*** ministry is now known as __ministry10:10
dvo-plvsean-k-mooney, Are you here ?10:22
sean-k-mooneydvo-plv: o/10:44
dvo-plvI wouldl iek to talk with you regarding out blueprint nt nic support, if you have free time for it 10:45
dvo-plvpreviously we decided that we will try to pass socket name with ovs command for dpdk port type10:45
sean-k-mooneyyes and i ask can we pass the name to ovs when addign the port so that we didn not have to compute one that matched the nic driver format10:47
sean-k-mooneywe also discussed that some of the magic constant are actully discoverable form sysfs like the vf offset10:47
dvo-plvyes10:48
dvo-plvwe spent some time on the investigation and this is not possible to do it for dpdk port type with ovs. there will be alot of changes, DPDK community will not approve it10:49
sean-k-mooneythats not ideal10:49
dvo-plvSo I would like to get back to the separate os-vif plugin 10:50
dvo-plvwhat do you think about that ?10:50
sean-k-mooneynot nessiarly what that means is that nova needs to tell neutron the vf specific info10:50
sean-k-mooneyso we need to pass info to the ml2 driver in the binding_profile10:51
sean-k-mooneyneutron can then use that to generate the socket path. alternitivly we could jsut generate the path ourselve in nova10:51
dvo-plvpath is not a problem, specific socket name is the root cause10:52
sean-k-mooneythe socket name is path of the path :)10:52
sean-k-mooneybut yes10:52
dvo-plvSo, we can somehow use port binding profile for this purposes? 10:54
sean-k-mooneyyes that is what its for to pass info form nova to the network backend10:56
sean-k-mooneywe normally sotre the pci_adress in it10:56
sean-k-mooneybut we can have other fields like the offset ectra10:56
sean-k-mooneyor we can just comppute the socket name and pass that10:56
sean-k-mooneywhich is proably the better option10:57
sean-k-mooneysince nova does not have the base path (neutron/ovs does have that info) 10:57
sean-k-mooneyso we can provide the socket name in the binding profile and neutron can append that to the base socket path10:57
sean-k-mooneyand then we will get the full path back which we can store in the xml10:58
dvo-plvokay, i see. but i have a question how we should handle pci. for socket name stdvio10, we need to use pci 0000:65:01.2. So we need vendor specific mechanism for parse socket name11:00
sean-k-mooneyits the other way around11:00
sean-k-mooneywe are selecting VFs in the pci tracker11:00
sean-k-mooneyand you need to compute the socket name from the adress11:01
sean-k-mooneythe main issue  i think is still the multi device support11:01
sean-k-mooneysince the previous algorthim did not support more hten one nic 11:02
dvo-plvyes, currently we do not support multinic setup11:03
sean-k-mooneyright so i dont think we should support this in nova until that is addressed11:03
dvo-plvHonestly, i forget about that, I will investigate internal if we have some plan how this should be done in the future, because as far as I know we have plan to provide this feature11:04
dvo-plvBut if this is a limitation for be in the common code, what about to pass us with separate os-vif plugin, which will handle all this issuses ?11:06
sean-k-mooneya out of tree os-vif plugin will also reqiure your own ml2 driver in neutron11:06
dvo-plvyes, we can implement it too, like Agilio https://github.com/Netronome/agilio-ovs-openstack-plugin/tree/master/vif_plug_agilio_ovs11:08
*** haleyb|away is now known as haleyb13:26
opendevreviewDan Smith proposed openstack/nova master: WIP: Compile mdev samples for nova-next  https://review.opendev.org/c/openstack/nova/+/89770813:57
dansmithbauzas: this is getting close to working ^13:58
bauzasdansmith: wow, thanks13:58
dansmithlast round only failed because I didn't sudo something14:00
sean-k-mooneydansmith: would you mind in a followup allowing us to enabel other moduels14:01
sean-k-mooneyi.e. mdpy or mbochs?14:02
dansmithsean-k-mooney: yeah I was going to do all the samples, I just wanted to get the mechanics working14:02
dansmithor do you mean *any* other module?14:02
sean-k-mooneyi was thinking of makign CONFIG_SAMPLE_VFIO_MDEV_MTTY=m14:03
sean-k-mooneya list14:03
sean-k-mooneybut mainly jsut the mtty samples14:03
sean-k-mooneyit might be nice if the set of flags to enable in the kernel config was just a var you could set in the local.conf14:04
sean-k-mooneyalthough14:04
sean-k-mooneylooking at it again14:04
dansmithit's not that easy14:04
sean-k-mooneyyou alls need to call make per module14:04
sean-k-mooneyso ya never mind14:04
dansmithunless you want to build the whole kernel, you need to know configs and target module files, and the deps14:04
bauzasfwiw, this will actually depend on what we can do with live-migration :)14:05
dansmithbut yeah, I'll extend this to do all the mdev samples14:05
sean-k-mooneydansmith: ya lets keep it simple14:05
bauzasif that's done per mtty, cool14:05
dansmithbauzas: oh I know, but we could also apply a patch here14:05
bauzasyeah, let's just start this simple with mtty14:05
sean-k-mooneybauzas: so this is useful even without live migration14:05
bauzasyup, definitely14:05
sean-k-mooneyit woudl be a majory win just to get any coverage of mdevs14:06
sean-k-mooneyso ya we can add follow up patches to do the nova config generation to enabel them 14:06
sean-k-mooneybut that would be good to do in the devstack plugin to14:07
dansmithyeah, point me at what I need to do config-wise14:07
sean-k-mooneyyou technnially dont need that since we can just shove config snipit into config via local.conf14:07
dansmithack, but if it can do something for each sample it finds or something...14:08
sean-k-mooneyam [device]enabled_mdev_types ...14:08
sean-k-mooneyhttps://docs.openstack.org/nova/latest/configuration/config.html#devices.enabled_mdev_types14:08
sean-k-mooneythere is an example in teh help text14:08
sean-k-mooneyah that raises a diffent point14:09
sean-k-mooneyright now nova required the parent of the mdev to be a pci adress14:09
sean-k-mooneyto use these modules we need to lift that limiation14:09
dansmithI really know nothing about mdevs.. once I insert the module is there a list of those types somewhere? or will the type just be mtty?14:09
sean-k-mooneywhen you insert the module you will be able to see mdev type under /sys14:09
sean-k-mooneyit will be mtty-1 or mtty-214:12
sean-k-mooneyfor 1 port or 2 port serial device14:12
sean-k-mooneyyou can show them with tree /sys/devices/virtual/mtty/mtty/14:12
dansmithack14:14
sean-k-mooneythe modifciation to make nova mdev support work is minor but nova will need to be twaked slightly as the way we create teh placement RP currenlty usees the parent pci adress in teh rp name14:14
dansmithack, well, maybe worth getting ahead of that14:15
dansmithgrr, my jammy machine is doing unattended upgrades.. I effing hate that new default behavior14:15
sean-k-mooneyits been enabled by default i think since 20.0414:15
sean-k-mooneybut ya it ocationally breaks devstack14:16
sean-k-mooneywhen the apt lock is held by it14:16
dansmithit's just not something I want without being asked, on really any machine14:16
sean-k-mooneyi think it defaults to security updates only14:16
sean-k-mooneyso i get there intent14:17
dansmithit's just not something I want without being asked, on really any machine14:17
sean-k-mooneyits actully an install option too but the cloud images default to it. but ya i get that14:17
bauzasI need to get my daugter from school but I'll be back in a sec14:25
opendevreviewPavlo Shchelokovskyy proposed openstack/nova master: Update disk.info in finish_migration  https://review.opendev.org/c/openstack/nova/+/89784214:46
bauzasdansmith: if you want me to look at that, lemme know15:00
bauzasI'll also compile the module in my own devstack instance15:00
dansmithbauzas: look at what? fixing the nova pci parent requirement?15:00
dansmithI forgot, I still have one other thing I need to fix, which is getting the version of the module to match the running kernel.. I'm not sure why that's not working, but I think it's because it's outside the debian build system15:03
bauzasdansmith: wdym about the pci parent requirement ?15:04
dansmithbauzas: see above from sean-k-mooney 15:05
bauzasah15:06
bauzasshit indeed15:06
bauzas-ETOOMANYTHINGSTODOATSAME15:07
bauzasdansmith: sean-k-mooney: we need the parent address to know which GPU this is using15:09
dansmithI think sean-k-mooney was implying that these devices don't have a pci parent15:10
bauzashttps://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L802915:12
bauzasyeah, but I guess those devices have a parent fortunately15:12
bauzasfrom what I can read, the parent is "virtual'"15:13
bauzashttps://docs.kernel.org/driver-api/vfio-mediated-device.html#directories-and-files-under-the-sysfs-for-each-physical-device15:13
bauzasactually, no, its name is "mtty"15:14
bauzashttps://github.com/torvalds/linux/tree/master/samples/vfio-mdev#using-the-mtty-vfio-mdev-sample-code15:14
bauzasso, somehow we would need to modify nova to say "meh, if the pci address is "mtty", don't change it"15:14
sean-k-mooneydansmith: correct it wont create a pci device15:29
sean-k-mooneybauzas: yep something like that i was thinig of a centinal like "virtual"15:30
sean-k-mooneyinstead of allowing any string15:30
bauzasshould be something easy15:30
bauzaswe have a few things to change, but that may work15:30
bauzasprovided we indeed have some kind of global attribute 15:31
sean-k-mooneyi looke at the code a while ago we only realy use this for the placement rp name15:31
bauzaswe key dicts on pci address15:31
bauzasbut 'virtual' or whatever else (say mtty) works15:31
sean-k-mooneyyep so we just need a hashable key which cna be the mdev_type15:31
bauzasno15:31
sean-k-mooneywell thats what mtty would be15:32
bauzashttps://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L797615:32
bauzaswe key types per pci device15:32
*** haleyb_ is now known as haleyb15:32
bauzasbut this can be "for mtty those are the types it supports'"15:32
sean-k-mooney yes but i dont think you understaood what i was suggesting15:32
bauzasmy bad then15:33
sean-k-mooneybasiclly when we see virtual for the pci adress on the config i was suggeting we generate a identify such as virtual_<mdev-type>15:33
sean-k-mooneyto use everywhere we actully woudl use the pci adress15:33
bauzasah15:33
bauzaswell, technically the virtual device has N possible types15:34
sean-k-mooneybut we  could just leave it as a stirng and see on this is not a real pci adres just pass it as is15:34
sean-k-mooneyya it does and unlike some hardware15:34
bauzasfor config options, we can just leave it to be 'virtual'15:34
sean-k-mooneythey are consumable indepently i belive15:34
bauzaswe just parse the option here https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L797115:35
bauzasbut I guess we can accept if it's the global attribute name15:35
bauzasthat said, nothing to be documented15:35
sean-k-mooneybauzas: for what tis worht the parent of the device is libvirt is going to be the root device15:35
bauzassean-k-mooney: well, if I'm relying on sysfs, this is unfortunately 'mtty' if the path is /sys/devices/virtual/mtty/mtty/15:38
bauzashttps://docs.kernel.org/driver-api/vfio-mediated-device.html#directories-and-files-under-the-sysfs-for-each-physical-device15:38
sean-k-mooneyyes15:39
sean-k-mooneythe mtty module only create 1 virtual device15:40
sean-k-mooneyso it will by mtty15:40
sean-k-mooneythat also why i suggested using virtual as the placeholder :)15:40
sean-k-mooneyso we could use virtual/mtty/mtty or simial as the place holder but i didnt really want to fully log the thing to the sys layout15:41
sean-k-mooneywhen using the netdev sim module for vdpa15:41
sean-k-mooneyyou can have it create muplie virutal devices15:41
sean-k-mooneyi guess we can keep it simple and just start with one15:42
bauzasyeah, I don't disagree with you15:43
bauzasdoh, forgot the reminder and the agenda 15:53
bauzasreminder: nova meeting in 6 mins15:53
bauzasher.15:53
bauzashere.15:53
* bauzas runs errand to write some agenda15:54
bauzas#startmeeting nova16:00
opendevmeetMeeting started Tue Oct 10 16:00:13 2023 UTC and is due to finish in 60 minutes.  The chair is bauzas. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
opendevmeetThe meeting name has been set to 'nova'16:00
bauzas#link https://wiki.openstack.org/wiki/Meetings/Nova#Agenda_for_next_meeting16:00
bauzashello everyone, a bit busy today but let's run it quickly16:00
elodilleso/16:00
han-guangyuo/16:00
gmanno/16:01
bauzasok, I guess we can softly start16:01
bauzas#topic Bugs (stuck/critical) 16:02
bauzas#info No Critical bug16:02
bauzas#link https://bugs.launchpad.net/nova/+bugs?search=Search&field.status=New 46 new untriaged bugs (+2 since the last meeting)16:02
bauzas#info Add yourself in the team bug roster if you want to help https://etherpad.opendev.org/p/nova-bug-triage-roster16:02
bauzasmelwitt: around ?16:02
Ugglao/16:03
gibio~16:04
gibiI did not manage to look at bugs. Sorry16:04
bauzasnp16:05
bauzasokay let's continue16:07
bauzas#info bug baton is melwitt16:08
bauzas#info https://bugs.launchpad.net/nova/+bug/2026345 failed for nova few times.16:08
bauzas#topic Gate status 16:09
bauzas#link https://bugs.launchpad.net/nova/+bugs?field.tag=gate-failure Nova gate bugs 16:10
bauzas#link https://zuul.openstack.org/builds?project=openstack%2Fnova&project=openstack%2Fplacement&pipeline=periodic-weekly Nova&Placement periodic jobs status16:10
bauzas#info Please look at the gate failures and file a bug report with the gate-failure tag.16:11
bauzasanything to discuss ?16:11
bauzaslooks not16:12
bauzas#topic Release Planning 16:12
bauzas#link https://releases.openstack.org/caracal/schedule.html16:12
bauzas#info Nova deadlines are not yet defined and will be once the PTG happens16:12
bauzas#info Caracal-1 milestone in 5 weeks16:12
bauzasagain, any questions so far ,16:12
bauzas?16:12
sean-k-mooneynope16:13
bauzascontinuing so16:13
bauzas#topic Caracal vPTG planning 16:13
bauzas#info Sessions will be held virtually October 23-2716:13
bauzas#info Register yourselves on https://ptg2023.openinfra.dev/ even if the event is free16:13
bauzas#link https://etherpad.opendev.org/p/nova-caracal-ptg PTG etherpad16:13
bauzas#info add your own topics into the above etherpad if you want them to be discussed at the PTG16:13
bauzasthat's it 16:13
bauzaswe already have a few topics, thanks folks who added them16:14
bauzasbut please continue to add some if you want16:14
bauzas#topic Review priorities 16:14
bauzas#link https://review.opendev.org/q/status:open+(project:openstack/nova+OR+project:openstack/placement+OR+project:openstack/os-traits+OR+project:openstack/os-resource-classes+OR+project:openstack/os-vif+OR+project:openstack/python-novaclient+OR+project:openstack/osc-placement)+(label:Review-Priority%252B1+OR+label:Review-Priority%252B2)16:14
bauzas#info As a reminder, people eager to review changes can +1 to indicate their interest, +2 for asking cores to also review16:14
bauzasI said I was about to propose a Gerrit dashboard for those, I had no time yet to do it16:15
bauzas#action bauzas to propose a Gerrit dash16:15
bauzas#topic Stable Branches 16:15
bauzaselodilles: ?16:15
elodillesyepp16:15
elodillesi'm not aware of any gate issue16:15
elodillesotherwise nothing else to report16:15
elodilles#info stable branch status / gate failures tracking etherpad: https://etherpad.opendev.org/p/nova-stable-branch-ci16:15
elodillesplease add stable gate issues if you see any ^^^16:16
bauzas++16:16
elodillesthat's all from me16:16
bauzascool16:17
bauzas#topic Open discussion 16:19
bauzas(bauzas) Specless blueprint approval for https://blueprints.launchpad.net/nova/+spec/aggregatemultitenancyisolation-to-support-unlimited-tenant16:19
sean-k-mooney hum 16:20
bauzaswdyt about that ?16:20
sean-k-mooneydont we support having multiple keys16:21
sean-k-mooneyso i didnt think there was an effective limit today16:21
sean-k-mooneyor parhaps we require one aggreate per tenatnt today i would have to review the code16:22
sean-k-mooneythe patch is basiclly enabling what i orgianlly tought already worked16:23
sean-k-mooneyinstead of looking for filter_tenant_id explictly16:23
sean-k-mooneyjust making that a prefix16:23
sean-k-mooneyso you can have filter_tenant_id=<tenant-0> filter_tenant_id_1=<tenant-1>16:24
sean-k-mooneythats proably an ok change to make16:24
* dansmith stumbles in late16:24
sean-k-mooneytenant isolation shoudl be done via placement16:25
sean-k-mooneyand we shoudl really be removing the filter based approch so im not sure16:25
bauzassahid wanted to still use the filters16:27
sean-k-mooneyi would be in favor of deprecateding it for removal in D if  the current fucntionlaiy is supproted by the placment approch16:27
sean-k-mooneyhttps://docs.openstack.org/nova/latest/admin/aggregates.html#tenant-isolation-with-placement16:28
dansmithtenant isolation can't be done entirely in placement right?16:28
bauzasI think sahid actually wanted to backport this16:28
sean-k-mooneyi belive it can16:28
dansmithall we can do is select an aggregate and then get placement to limit for us16:29
bauzasyou know what ? we can punt this until he can be around16:29
sean-k-mooneyso given this dicussion i would say not a specless blueprint16:29
sean-k-mooneyspec or ptg discussion16:29
dansmithright16:29
sean-k-mooneyi think the fucntionaliyt is possible today withthe placement approch so i would question why we dont remove the filter16:30
sean-k-mooneyso i would like to capture the answer to  that 16:30
bauzasokay, let's say this16:31
bauzasI'll tell this to sahid tomorrow16:31
bauzasand he could explain why he still wants to use filters16:32
bauzas(IMHO like I said, backports)16:32
bauzasdo all agree ?16:32
sean-k-mooneybackports are a downstream problem16:32
bauzassure, but this is easier with a python module like a filter, right?.16:33
sean-k-mooneythat is not a good reason to extend it upstream unless its useful upstream16:33
bauzassure, we need to discuss the usecases16:33
bauzasbut I'm not in favor of removing every single filter we have16:33
dansmithagree16:33
bauzassome operators still run filters on their choices16:33
bauzasanyway, let's punt this until PTG or when sahid can join us16:34
dansmithwe have the prefilter for isolation, which uses placement's aggregates to do some isolation, but I'll have to revisit my understanding of the differences16:34
bauzas#agreed defer this agreement to the next PTG16:34
bauzasI'll add a topic in the PTG etherpad16:34
sean-k-mooneydansmith: we deveoped that prefilter to eventurlly remove this one16:34
sean-k-mooneyhttps://specs.openstack.org/openstack/nova-specs/specs/rocky/implemented/placement-req-filter.html#proposed-change16:36
bauzassean-k-mooney: well, for CPUFilter, I totally agree with removing it16:36
sean-k-mooneythis was the first prefilter that you wote many moons ago 16:36
bauzasI'm just saying that for non-allocatable filters (placing things) we may leave those if those are cheap to maintain16:37
sean-k-mooneyright but this filter is know to be problematic16:37
bauzasbecause this is a python module and not another SQL query16:37
sean-k-mooneyso i realy dont think this is a good example ot extned16:37
dansmithsean-k-mooney: I know, but I think there were limitations16:37
bauzasanyway, we punted the potential agreement to the next PTG16:38
dansmithI thought we agreed to punt until PTG ?16:38
dansmithyeah16:38
bauzasso let's stop for now16:38
sean-k-mooneysure16:38
bauzasand I'll give you all extra 20 mins of your time16:38
bauzasthanks all16:38
bauzasany other item before we close ?16:38
sean-k-mooneyi just wanted to highlight i reporposed the healtcheck spec https://review.opendev.org/c/openstack/nova-specs/+/89722516:39
bauzasoh right, I've seen it16:39
sean-k-mooneyso if we can reappove that it would be good16:39
bauzasI just need to look at it16:39
sean-k-mooneyack16:39
sean-k-mooneythats all from me16:39
bauzastuesdays are usually upstream days for me, but I was vamped into some crazy internal thing16:39
bauzasanyway, ending now16:39
bauzasthanks all16:40
bauzas#endmeeting16:40
opendevmeetMeeting ended Tue Oct 10 16:40:04 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:40
opendevmeetMinutes:        https://meetings.opendev.org/meetings/nova/2023/nova.2023-10-10-16.00.html16:40
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/nova/2023/nova.2023-10-10-16.00.txt16:40
opendevmeetLog:            https://meetings.opendev.org/meetings/nova/2023/nova.2023-10-10-16.00.log.html16:40
sean-k-mooneybauzas: if your looking at repoposals then https://review.opendev.org/c/openstack/nova-specs/+/895924 would be alos nice to look at16:40
bauzasyeah I need to do reviews16:40
bauzasmy gerrit nova-specs dashboard misses me16:40
opendevreviewDan Smith proposed openstack/nova master: WIP: Compile mdev samples for nova-next  https://review.opendev.org/c/openstack/nova/+/89770816:42
dansmithokay locally mtty.ko gets built and inserted during devstack16:42
bauzas<316:43
bauzasif I have time tomorrow, I'll work on a nova WIP to change the libvirt driver to use a specific 'virtual' device for mtty16:44
bauzasso we shall be able to test 16:45
opendevreviewDan Smith proposed openstack/nova master: WIP: Compile mdev samples for nova-next  https://review.opendev.org/c/openstack/nova/+/89770816:58
dansmith2023-10-10 17:19:30.033749 | controller | ++ /opt/stack/nova/devstack/lib/mdev_samples:compile_mdev_samples:28 :   grep mdev17:21
dansmith2023-10-10 17:19:30.055298 | controller | mdev                   28672  1 mtty17:21
dansmith\o/17:21
sean-k-mooneycool17:42
sean-k-mooneywe dont do a virsh nodedev-list in the ci logs do we17:42
sean-k-mooneyi woudl assume not17:42
dansmithidk, but I just ran that locally and I don't see any mdev stuff in there17:54
sean-k-mooneyi think they only show up when you create one17:54
sean-k-mooneyits also cached when libvirt starts17:54
sean-k-mooneyso if it starts before the module is loaded that could be an issue17:54
sean-k-mooneyrestarting libvirt clears the cache17:54
sean-k-mooneycan you try " echo "83b8f4f2-509f-382f-3c1e-e6bfe0fa1001" >    \17:56
sean-k-mooney         /sys/devices/virtual/mtty/mtty/mdev_supported_types/mtty-2/creat"""17:56
dansmithmdev_83b8f4f2_509f_382f_3c1e_e6bfe0fa1001_mtty17:57
sean-k-mooneycool17:57
dansmithlooks like it works17:57
sean-k-mooneyso nova has two modes of opertation17:57
sean-k-mooneyyou can either precreate the mdevs and it will use them17:57
sean-k-mooneyor it will create tehm if you dont 17:58
sean-k-mooneybut ya from a qemu/libvirt point of view i think that means its workign17:58
dansmithsweert17:58
sean-k-mooneyoh right it was out of tree.. 18:03
sean-k-mooneyfor what its worht this is how you boot a vm in nova with hardware offloaded networkign using mdev before that is merged in qemu/libvirt/the kernel https://github.com/openstack/nova/commit/13de00c20477189201f102499cc6451f47765c5c18:07
sean-k-mooneythat is not relevent beyond the fact i was checkign how we configured the mdevs and vf via the devstack plugin18:10
sean-k-mooneyhttps://github.com/intel-orchestration-software/networking-vhost-vfio/blob/master/devstack/libs/vhost-vfio#L367-L39318:10
sean-k-mooneyso we just allocated the vf on the defice and created the mdevs dymically in nova18:11
sean-k-mooneyso not really relevent in this case since there are no vfs to allcoate18:11
tobias-urdinany good idea's on how one should handle cputune.shares issues on stable releases? https://bugs.launchpad.net/nova/+bug/1978489 – last comment in https://gitlab.com/libvirt/libvirt/-/issues/161 aged well "...I think this problematic change is only now starting to hit people" oh yes it will :)18:22
sean-k-mooneywe partly fixed this18:45
sean-k-mooneywe stopped generating implcit cpu shares in zed i belvie18:45
sean-k-mooneyand we basically say dont use the explit ones 18:45
sean-k-mooneywe have not removed/depreated the feature entirly18:46
sean-k-mooneysimply because we have never done that before18:46
sean-k-mooneybut perfonslly i would fix it by deprecateing them on master for caracal and delete the feature in D18:46
sean-k-mooneytobias-urdin: proably not waht you want to hear so the more helpful answer is18:46
sean-k-mooneyyou need to reize today before you upgrade18:47
sean-k-mooneywe could also add a nova manage command liek https://github.com/openstack/nova/blob/master/nova/cmd/manage.py#L321118:47
sean-k-mooneyto allow updating the embded flavor extra specs18:48
sean-k-mooneythat not negerally safe but in this case it is18:48
tobias-urdinthanks, yeah it was an interesting read for sure and something i completely missed last year19:05
tobias-urdinimo the approach taken in libvirt is pretty bad, im kinda sad it wasn't better handled at all in https://gitlab.com/libvirt/libvirt/-/issues/161 either19:06
tobias-urdinfortunately is that we dont set it as extra specs but we do however have large instances that will be impacted just based on the cpu.shares value being greater than the limit there 19:07
tobias-urdinso for us on yoga i guess i'll just have to carry that patch until i'm on zed, shouldn't be that long19:07
tobias-urdinim just a little bit scared about the impact for large instances removing that entirely but i guess i dont have a choice, i felt like scaling the value for cgroupv2 in cputune.shares and introducing a new cputune.weight was more elegant, anyway19:11
* tobias-urdin signs out for today19:17

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