Friday, 2023-06-09

opendevreviewKiran Pawar proposed openstack/nova-specs master: SR-IOV NIC device tracking in Placement  https://review.opendev.org/c/openstack/nova-specs/+/88456905:28
plibeau1hello guys, do you have sometime to review: https://review.opendev.org/c/openstack/nova/+/86117208:54
sean-k-mooneyplibeau1: i dont see any of the previous feedback adressed12:52
sean-k-mooneyport creation should not be using the admin client12:52
sean-k-mooneyport binding should be using the admin client or service user 12:52
opendevreviewribaudr proposed openstack/nova master: Deletion of associated share mappings on instance deletion  https://review.opendev.org/c/openstack/nova/+/88147212:53
opendevreviewribaudr proposed openstack/nova master: Add metadata for shares  https://review.opendev.org/c/openstack/nova/+/85050012:53
opendevreviewribaudr proposed openstack/nova master: Add share_info parameter to reboot method for each driver (driver part)  https://review.opendev.org/c/openstack/nova/+/85482312:53
opendevreviewribaudr proposed openstack/nova master: Support rebooting an instance with shares (compute manager part)  https://review.opendev.org/c/openstack/nova/+/85482412:53
opendevreviewribaudr proposed openstack/nova master: Add share_info parameter to resume method for each driver (driver part)  https://review.opendev.org/c/openstack/nova/+/86028412:53
opendevreviewribaudr proposed openstack/nova master: Support resuming an instance with shares (compute manager part)  https://review.opendev.org/c/openstack/nova/+/86028512:53
opendevreviewribaudr proposed openstack/nova master: Add helper methods to rescue/unrescue shares  https://review.opendev.org/c/openstack/nova/+/86028612:53
opendevreviewribaudr proposed openstack/nova master: Support rescuing an instance with shares (driver part)  https://review.opendev.org/c/openstack/nova/+/86028712:53
opendevreviewribaudr proposed openstack/nova master: Support rescuing an instance with shares (compute manager part)  https://review.opendev.org/c/openstack/nova/+/86028812:53
opendevreviewribaudr proposed openstack/nova master: Allow to mount manila share using Cephfs protocol  https://review.opendev.org/c/openstack/nova/+/88386212:53
opendevreviewribaudr proposed openstack/nova master: Add configuration option share_local_fs  https://review.opendev.org/c/openstack/nova/+/88499412:53
opendevreviewribaudr proposed openstack/nova master: Add hw_share_local_fs extra specs and image property  https://review.opendev.org/c/openstack/nova/+/88499512:53
opendevreviewribaudr proposed openstack/nova master: Add LOCAL storage type  https://review.opendev.org/c/openstack/nova/+/88499612:53
opendevreviewribaudr proposed openstack/nova master: Add share_local_fs scheduler filter  https://review.opendev.org/c/openstack/nova/+/88499712:53
opendevreviewribaudr proposed openstack/nova master: Add new api to retrieve local share (object and db)  https://review.opendev.org/c/openstack/nova/+/88499812:53
opendevreviewribaudr proposed openstack/nova master: Manage local share (driver part)  https://review.opendev.org/c/openstack/nova/+/88499912:53
opendevreviewribaudr proposed openstack/nova master: Manage local share (compute manager part)  https://review.opendev.org/c/openstack/nova/+/88500012:53
opendevreviewribaudr proposed openstack/nova master: Do not mount local share at startup (init_instance)  https://review.opendev.org/c/openstack/nova/+/88500112:53
opendevreviewribaudr proposed openstack/nova master: Do not umount local share if instance id deleted  https://review.opendev.org/c/openstack/nova/+/88500212:53
opendevreviewribaudr proposed openstack/nova master: Support spawn an instance with a local share (driver part)  https://review.opendev.org/c/openstack/nova/+/88500312:53
opendevreviewribaudr proposed openstack/nova master: Support spawn an instance with a local share (compute manager part)  https://review.opendev.org/c/openstack/nova/+/88500412:53
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (API)  https://review.opendev.org/c/openstack/nova/+/83683012:53
opendevreviewribaudr proposed openstack/nova master: Check shares support (API)  https://review.opendev.org/c/openstack/nova/+/85049912:53
opendevreviewribaudr proposed openstack/nova master: Add instance.share_attach notification  https://review.opendev.org/c/openstack/nova/+/85050112:53
opendevreviewribaudr proposed openstack/nova master: Add instance.share_detach notification  https://review.opendev.org/c/openstack/nova/+/85102812:53
opendevreviewribaudr proposed openstack/nova master: Add shares to InstancePayload  https://review.opendev.org/c/openstack/nova/+/85102912:53
opendevreviewribaudr proposed openstack/nova master: Add instance.share_attach_error notification  https://review.opendev.org/c/openstack/nova/+/86028212:53
opendevreviewribaudr proposed openstack/nova master: Add instance.share_detach_error notification  https://review.opendev.org/c/openstack/nova/+/86028312:53
opendevreviewribaudr proposed openstack/nova master: Add libvirt test to ensure metadata are working.  https://review.opendev.org/c/openstack/nova/+/85208612:53
opendevreviewribaudr proposed openstack/nova master: Add virt/libvirt error test cases  https://review.opendev.org/c/openstack/nova/+/85208712:53
opendevreviewribaudr proposed openstack/nova master: Docs about Manila shares API usage  https://review.opendev.org/c/openstack/nova/+/87164212:53
opendevreviewribaudr proposed openstack/nova master: Check shares support (compute manager)  https://review.opendev.org/c/openstack/nova/+/88575112:53
opendevreviewribaudr proposed openstack/nova master: Check shares support (only API exception)  https://review.opendev.org/c/openstack/nova/+/88575212:53
opendevreviewribaudr proposed openstack/nova master: Add helper methods to attach/detach shares  https://review.opendev.org/c/openstack/nova/+/88575312:53
opendevreviewAmit Uniyal proposed openstack/nova master: Reproducer for dangling bdms  https://review.opendev.org/c/openstack/nova/+/88145712:59
opendevreviewAmit Uniyal proposed openstack/nova master: Delete dangling bdms  https://review.opendev.org/c/openstack/nova/+/88228412:59
opendevreviewAmit Uniyal proposed openstack/nova master: WIP: Refactor CinderFixture  https://review.opendev.org/c/openstack/nova/+/88575612:59
Uggla_sean-k-mooney, bauzas  ^  I have reorganized the patch in the way that API is merged after introducing manilla_shares and scaphandre. I have also flaged the patches in 2 differents topics. Is it ok for ypu ?13:01
sean-k-mooneyUggla_: the scaphandre changes are still after the db and object changes13:05
Uggla_sean-k-mooney, yep because I need them13:05
sean-k-mooneyyou shoudl not need themn13:05
sean-k-mooneybecause the scaphandre code shoudl not be using the db or ojbect changes  form the manial feature13:06
Uggla_sean-k-mooney, I define a LOCAL share type --> and this to use metadata and block the ops due to virtiofs.13:06
sean-k-mooneythe scaphandre usage fo virtio fs si not a share13:07
sean-k-mooneywe shoudl not have a LOCAL share type 13:07
sean-k-mooneyi assumne you did it that way to mirror the block device mappings...13:08
Uggla_sean-k-mooney, also to share some common code parts.13:09
sean-k-mooneyya so i disgree with that approch13:09
sean-k-mooneyif its not a manial share it should not be modeled using share objects13:09
Uggla_sean-k-mooney, hum, but it so "close" so I though to reuse a maximum of stuff.13:13
sean-k-mooneywell im -2 on that and it is not what we approved in the spec13:15
sean-k-mooneyi need ot go to the pharmacy quickly but there are many sideffect to the approch you have taken that i dont think are correct form a design or mantaince point of view13:16
sean-k-mooneywe do not intent to allwo the share attapchment api to attach/detach "local shares" if we did that would eb a sperate feature and spec form either of the two you are working on13:16
sean-k-mooneyill hopefully be back in 30-45 mins13:17
Uggla_ok13:17
bauzasUggla_: sean-k-mooney: I need to review the scaphandre patches tbh, but I don't have any problem to use a specific local share type13:17
bauzasso we could persist it13:17
Uggla_sean-k-mooney, bauzas to be honest I thought that was a not so bad approach as 90% of the code is the same except that the mountpoint on the compute does not come from manila.13:23
Uggla_but let's wait sean-k-mooney to be back.13:23
dansmithI haven't reviewed them, but if the idea is to create share objects for the local shares as if they were manila shares, I agree that seems wrong13:41
sean-k-mooneythat is the current approch13:42
sean-k-mooneyif we were to have a local share type and model it tha tway i would expect use to provde a way for end users to attach/detach them and have nova create a folder dynmicaly to hold the content and copy the content form one host to anohter on cold migration13:43
sean-k-mooneythe share attchment api as propsoed is not desginse to hanel that13:43
sean-k-mooneyfor scaphandre there is nor requiremtn to copy data on cold migration it doesnt even make sense in that specific case13:44
dansmithpresumably it means the user sees that local share in the shares api, and (hopefully) is barred from deleting it13:44
sean-k-mooneythe share api has no way to speicf a capasity13:44
sean-k-mooneydansmith: ya so we woudl not want it to be listed or deletable as that provides a second way to configure scaphandre mounts13:45
dansmithright13:45
sean-k-mooneythe only thingn the manilla shares feature and scaphandre have in common is they both use virtio fs13:46
dansmithright13:46
dansmithso I would treat these local shares as "do whatever the conf says" that we handle when we're building the xml on reboot or whatever13:46
sean-k-mooneythe flavor extra spec/image porpety is the only metadta reiqured ot know if the feature is used13:46
dansmithand not represent them in the database, api, etc13:46
dansmithmore like configdrive than anything else13:46
sean-k-mooneyyes13:47
sean-k-mooneyconfigdrive is a good example13:47
sean-k-mooneyby the way i can see usecasue for being able to have local storage on a host exposed to the guest as virtio-fs passthough. i just dont htinke the share attachemt feature is what we should use to build that13:49
dansmithyou mean more use cases than just scaphandre right? I definitely can13:49
sean-k-mooneythat is its own seperate feature13:50
dansmithbut not user-controllable and not visible like an attachment13:50
sean-k-mooneywell i coudl see it being user contoleable but there is a quota aspect that woudl have to be adress13:50
dansmithwhen would we ever want to allow the user to request "show me /etc on the host" ?13:51
sean-k-mooneythat not what i mean13:51
sean-k-mooneyi mean we coudl allow the user to have addtional storage form a folder we create on the host like ephemeal storage13:51
dansmithoh sure, right13:52
dansmithnot sure we should expose that as a share in the same way as manila though13:52
sean-k-mooneyi.e. a way to add addtional sotrage without having to do it via a resize13:52
sean-k-mooneyya its a seperate thing13:52
dansmithagree13:52
dansmithI was just typing out "we might want to expose ephemeral disks as filesystems instead" before you said it13:53
dansmithso yeah, I can definitely see that, but I think that's a sort of third use case for this13:53
sean-k-mooneyits more "As a user i would like to be ablt to attch addtion local storage to an instance without needign to resize"13:53
dansmithfirst being manila, second being "the admin wants this configdrive-like thing inserted into me", and third epehemeral fs space13:53
dansmithwell, resize or mkfs but yeah13:54
sean-k-mooneyhonestly the motivation for ti is pretty low until you can do it while the vm is running13:54
dansmithI can also imagine people wanting two instances with hard affinity to share a fast local disk as a filesystem13:55
dansmithi.e. db-and-http workers and things13:56
sean-k-mooneyanyway Uggla_ i have concerns with the current apptoch. i have not done a full review of the patchs but i thing directionally we shoudl try and only share the virtiofs xml generation btween these two features13:56
dansmithbut the local share thing should really be a tack-on at the end of this right?13:56
dansmiththe set is extremely long right now so just breaking that stuff off the end for now would make sense to me and focus on getting the manila bit working as the primary goal13:56
sean-k-mooneywell i atcully dont think we shoudl do the local share as part of this work this cyle13:57
sean-k-mooneyi was ortgnallly hoping that the virtiofs xml change woudl be first then scaphandre abd mainila could progess in parallel13:58
sean-k-mooneybut i entrily expect us to be able to merge scaphandre support without any of the manilla supprot being merge outside the virtiofs part in the libvirt driver13:58
dansmithyes I would think so too, but you're also saying do that after manila (now) right?13:59
sean-k-mooneynot really13:59
dansmith[06:57:02]  <sean-k-mooney> well i atcully dont think we shoudl do the local share as part of this work this cyle13:59
dansmithwhat does that mean then?13:59
sean-k-mooneythe intoduction of a local share type 14:00
sean-k-mooneyif we were to have that i would prefer to defer that to the other uscase of epmperal fs or simialr14:00
dansmiththe scaphandre case is just a special configuration of a local share no?14:00
sean-k-mooneyim conlifcted on how to respond to that14:00
sean-k-mooneyi want to say no because i dont think scaphandre's use of virtio-fs shoudl me modeled as a share in the db14:01
dansmithby "local share" I'm meaning the "operator has configured nova to always insert this share into all guests on this host"14:01
sean-k-mooneyso its a special case fo virtio-fs 14:01
dansmithmaybe we need to define some terms14:01
sean-k-mooneyi would cinsider it a special case foinsterting this "filesystem path" into all guest that request it14:02
dansmithokay I'm a bit confused then14:02
sean-k-mooneyi would reall like to keep "share" to refer only to manialla shares14:02
dansmithI agree with that14:02
sean-k-mooneyif we want to allow arbairy addtional filesystem to be provided to a guest via an api that woudl be a new filesystem attach api14:03
sean-k-mooneyfor scaphandre as you said i think config drive is a better mental model14:03
sean-k-mooneywe have an image property/extra spec that act as a request for it and a trait on host that supprot it14:04
dansmithhow about a 15 minute meet on the topic real quick?14:04
sean-k-mooneythere is no requirement for modileign it in the db or as object or in the api beyond the image property/extra spec14:04
dansmithUggla_: ?14:04
sean-k-mooneysure i can do that14:06
dansmithmeet.google.com/duc-bfai-mrv14:06
sean-k-mooneyanyone who is interested is welcome to join by the way ^14:07
dansmithyup14:07
Uggla_dansmith, sean-k-mooney sorry was out to get Rose, reading14:14
bauzasdansmith: sean-k-mooney: Uggla_ : doh, I need to go to get my daughter in 5 mins14:18

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