Earlier  
Posted Nick Remark
#openstack-nova - 2023-10-10
15:06:37 bauzas ah
15:06:44 bauzas shit indeed
15:07:00 bauzas -ETOOMANYTHINGSTODOATSAME
15:09:34 bauzas dansmith: sean-k-mooney: we need the parent address to know which GPU this is using
15:10:10 dansmith I think sean-k-mooney was implying that these devices don't have a pci parent
15:12:31 bauzas https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L8029
15:12:45 bauzas yeah, but I guess those devices have a parent fortunately
15:13:19 bauzas from what I can read, the parent is "virtual'"
15:13:47 bauzas https://docs.kernel.org/driver-api/vfio-mediated-device.html#directories-and-files-under-the-sysfs-for-each-physical-device
15:14:14 bauzas actually, no, its name is "mtty"
15:14:19 bauzas https://github.com/torvalds/linux/tree/master/samples/vfio-mdev#using-the-mtty-vfio-mdev-sample-code
15:14:53 bauzas so, somehow we would need to modify nova to say "meh, if the pci address is "mtty", don't change it"
15:29:45 sean-k-mooney dansmith: correct it wont create a pci device
15:30:13 sean-k-mooney bauzas: yep something like that i was thinig of a centinal like "virtual"
15:30:20 sean-k-mooney instead of allowing any string
15:30:41 bauzas should be something easy
15:30:54 bauzas we have a few things to change, but that may work
15:31:14 bauzas provided we indeed have some kind of global attribute
15:31:21 sean-k-mooney i looke at the code a while ago we only realy use this for the placement rp name
15:31:27 bauzas we key dicts on pci address
15:31:43 bauzas but 'virtual' or whatever else (say mtty) works
15:31:48 sean-k-mooney yep so we just need a hashable key which cna be the mdev_type
15:31:55 bauzas no
15:32:06 sean-k-mooney well thats what mtty would be
15:32:09 bauzas https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L7976
15:32:19 bauzas we key types per pci device
15:32:39 bauzas but this can be "for mtty those are the types it supports'"
15:32:44 sean-k-mooney yes but i dont think you understaood what i was suggesting
15:33:10 bauzas my bad then
15:33:29 sean-k-mooney basiclly 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:46 sean-k-mooney to use everywhere we actully woudl use the pci adress
15:33:55 bauzas ah
15:34:08 bauzas well, technically the virtual device has N possible types
15:34:11 sean-k-mooney but we could just leave it as a stirng and see on this is not a real pci adres just pass it as is
15:34:36 sean-k-mooney ya it does and unlike some hardware
15:34:36 bauzas for config options, we can just leave it to be 'virtual'
15:34:42 sean-k-mooney they are consumable indepently i belive
15:35:03 bauzas we just parse the option here https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L7971
15:35:14 bauzas but I guess we can accept if it's the global attribute name
15:35:21 bauzas that said, nothing to be documented
15:35:23 sean-k-mooney bauzas: for what tis worht the parent of the device is libvirt is going to be the root device
15:38:22 bauzas sean-k-mooney: well, if I'm relying on sysfs, this is unfortunately 'mtty' if the path is /sys/devices/virtual/mtty/mtty/
15:38:38 bauzas https://docs.kernel.org/driver-api/vfio-mediated-device.html#directories-and-files-under-the-sysfs-for-each-physical-device
15:39:49 sean-k-mooney yes
15:40:01 sean-k-mooney the mtty module only create 1 virtual device
15:40:07 sean-k-mooney so it will by mtty
15:40:25 sean-k-mooney that also why i suggested using virtual as the placeholder :)
15:41:06 sean-k-mooney so 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 layout
15:41:41 sean-k-mooney when using the netdev sim module for vdpa
15:41:52 sean-k-mooney you can have it create muplie virutal devices
15:42:09 sean-k-mooney i guess we can keep it simple and just start with one
15:43:31 bauzas yeah, I don't disagree with you
15:53:37 bauzas doh, forgot the reminder and the agenda
15:53:46 bauzas reminder: nova meeting in 6 mins
15:53:48 bauzas her.
15:53:50 bauzas here.
16:00:13 bauzas #startmeeting nova
16:00:13 opendevmeet Meeting 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:13 opendevmeet Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
16:00:13 opendevmeet The meeting name has been set to 'nova'
16:00:24 bauzas #link https://wiki.openstack.org/wiki/Meetings/Nova#Agenda_for_next_meeting
16:00:37 bauzas hello everyone, a bit busy today but let's run it quickly
16:00:40 elodilles o/
16:00:43 han-guangyu o/
16:01:03 gmann o/
16:01:51 bauzas ok, I guess we can softly start
16:02:09 bauzas #topic Bugs (stuck/critical)
16:02:17 bauzas #info No Critical bug
16:02:23 bauzas #link https://bugs.launchpad.net/nova/+bugs?search=Search&field.status=New 46 new untriaged bugs (+2 since the last meeting)
16:02:38 bauzas #info Add yourself in the team bug roster if you want to help https://etherpad.opendev.org/p/nova-bug-triage-roster
16:02:45 bauzas melwitt: around ?
16:03:23 Uggla o/
16:04:11 gibi o~
16:04:31 gibi I did not manage to look at bugs. Sorry
16:05:46 bauzas np
16:07:16 bauzas okay let's continue
16:08:24 bauzas #info bug baton is melwitt
16:08:29 bauzas #info https://bugs.launchpad.net/nova/+bug/2026345 failed for nova few times.
16:09:46 bauzas #topic Gate status
16:10:24 bauzas #link https://bugs.launchpad.net/nova/+bugs?field.tag=gate-failure Nova gate bugs
16:10:31 bauzas #link https://zuul.openstack.org/builds?project=openstack%2Fnova&project=openstack%2Fplacement&pipeline=periodic-weekly Nova&Placement periodic jobs status
16:11:01 bauzas #info Please look at the gate failures and file a bug report with the gate-failure tag.
16:11:53 bauzas anything to discuss ?
16:12:19 bauzas looks not
16:12:24 bauzas #topic Release Planning
16:12:29 bauzas #link https://releases.openstack.org/caracal/schedule.html
16:12:34 bauzas #info Nova deadlines are not yet defined and will be once the PTG happens
16:12:37 bauzas #info Caracal-1 milestone in 5 weeks
16:12:49 bauzas again, any questions so far ,
16:12:51 bauzas ?
16:13:12 sean-k-mooney nope
16:13:32 bauzas continuing so
16:13:37 bauzas #topic Caracal vPTG planning
16:13:40 bauzas #info Sessions will be held virtually October 23-27
16:13:44 bauzas #info Register yourselves on https://ptg2023.openinfra.dev/ even if the event is free
16:13:47 bauzas #link https://etherpad.opendev.org/p/nova-caracal-ptg PTG etherpad
16:13:51 bauzas #info add your own topics into the above etherpad if you want them to be discussed at the PTG
16:13:55 bauzas that's it
16:14:12 bauzas we already have a few topics, thanks folks who added them
16:14:20 bauzas but please continue to add some if you want

Earlier   Later