Thursday, 2023-06-01

*** dmellado17 is now known as dmellado104:55
opendevreviewMichel Nederlof proposed openstack/nova master: Add ability to flatten RBD disks upon clone  https://review.opendev.org/c/openstack/nova/+/88459507:35
opendevreviewMichel Nederlof proposed openstack/nova master: Add ability to flatten RBD disks upon clone  https://review.opendev.org/c/openstack/nova/+/88459507:42
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (db)  https://review.opendev.org/c/openstack/nova/+/83119309:37
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (objects)  https://review.opendev.org/c/openstack/nova/+/83940109:37
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (manila abstraction)  https://review.opendev.org/c/openstack/nova/+/83119409:37
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (drivers and compute manager part)  https://review.opendev.org/c/openstack/nova/+/83309009:37
opendevreviewribaudr proposed openstack/nova master: Mounting the shares as part of the initialization process  https://review.opendev.org/c/openstack/nova/+/88007509:37
opendevreviewribaudr proposed openstack/nova master: Deletion of associated share mappings on instance deletion  https://review.opendev.org/c/openstack/nova/+/88147209:37
opendevreviewribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (api)  https://review.opendev.org/c/openstack/nova/+/83683009:37
opendevreviewribaudr proposed openstack/nova master: Check shares support  https://review.opendev.org/c/openstack/nova/+/85049909:37
opendevreviewribaudr proposed openstack/nova master: Add metadata for shares  https://review.opendev.org/c/openstack/nova/+/85050009:37
opendevreviewribaudr proposed openstack/nova master: Add instance.share_attach notification  https://review.opendev.org/c/openstack/nova/+/85050109:37
opendevreviewribaudr proposed openstack/nova master: Add instance.share_detach notification  https://review.opendev.org/c/openstack/nova/+/85102809:37
opendevreviewribaudr proposed openstack/nova master: Add shares to InstancePayload  https://review.opendev.org/c/openstack/nova/+/85102909:37
opendevreviewribaudr proposed openstack/nova master: Add helper methods to attach/detach shares  https://review.opendev.org/c/openstack/nova/+/85208509:38
opendevreviewribaudr proposed openstack/nova master: Add libvirt test to ensure metadata are working.  https://review.opendev.org/c/openstack/nova/+/85208609:38
opendevreviewribaudr proposed openstack/nova master: Add virt/libvirt error test cases  https://review.opendev.org/c/openstack/nova/+/85208709:38
opendevreviewribaudr proposed openstack/nova master: Add share_info parameter to reboot method for each driver (driver part)  https://review.opendev.org/c/openstack/nova/+/85482309:38
opendevreviewribaudr proposed openstack/nova master: Support rebooting an instance with shares (compute and API part)  https://review.opendev.org/c/openstack/nova/+/85482409:38
opendevreviewribaudr proposed openstack/nova master: Add instance.share_attach_error notification  https://review.opendev.org/c/openstack/nova/+/86028209:38
opendevreviewribaudr proposed openstack/nova master: Add instance.share_detach_error notification  https://review.opendev.org/c/openstack/nova/+/86028309:38
opendevreviewribaudr proposed openstack/nova master: Add share_info parameter to resume method for each driver (driver part)  https://review.opendev.org/c/openstack/nova/+/86028409:38
opendevreviewribaudr proposed openstack/nova master: Support resuming an instance with shares (compute and API part)  https://review.opendev.org/c/openstack/nova/+/86028509:38
opendevreviewribaudr proposed openstack/nova master: Add helper methods to rescue/unrescue shares  https://review.opendev.org/c/openstack/nova/+/86028609:38
opendevreviewribaudr proposed openstack/nova master: Support rescuing an instance with shares (driver part)  https://review.opendev.org/c/openstack/nova/+/86028709:38
opendevreviewribaudr proposed openstack/nova master: Support rescuing an instance with shares (compute and API part)  https://review.opendev.org/c/openstack/nova/+/86028809:38
opendevreviewribaudr proposed openstack/nova master: Allow to mount manila share using Cephfs protocol  https://review.opendev.org/c/openstack/nova/+/88386209:38
opendevreviewribaudr proposed openstack/nova master: Docs about Manila shares API usage  https://review.opendev.org/c/openstack/nova/+/87164209:38
opendevreviewribaudr proposed openstack/nova master: Add configuration option share_local_fs  https://review.opendev.org/c/openstack/nova/+/88499409:38
opendevreviewribaudr proposed openstack/nova master: Add hw_share_local_fs extra specs and image property  https://review.opendev.org/c/openstack/nova/+/88499509:38
opendevreviewribaudr proposed openstack/nova master: Add LOCAL storage type  https://review.opendev.org/c/openstack/nova/+/88499609:38
opendevreviewribaudr proposed openstack/nova master: Add share_local_fs scheduler filter  https://review.opendev.org/c/openstack/nova/+/88499709:38
opendevreviewribaudr proposed openstack/nova master: Add new api to retrieve local share (object and db)  https://review.opendev.org/c/openstack/nova/+/88499809:38
opendevreviewribaudr proposed openstack/nova master: Manage local share (driver part)  https://review.opendev.org/c/openstack/nova/+/88499909:38
opendevreviewribaudr proposed openstack/nova master: Manage local share (compute manager part)  https://review.opendev.org/c/openstack/nova/+/88500009:38
opendevreviewribaudr proposed openstack/nova master: Do not mount local share at startup (init_instance)  https://review.opendev.org/c/openstack/nova/+/88500109:38
opendevreviewribaudr proposed openstack/nova master: Do not umount local share if instance id deleted  https://review.opendev.org/c/openstack/nova/+/88500209:38
opendevreviewribaudr proposed openstack/nova master: Support spawn an instance with a local share (driver part)  https://review.opendev.org/c/openstack/nova/+/88500309:38
opendevreviewribaudr proposed openstack/nova master: Support spawn an instance with a local share (compute manager part)  https://review.opendev.org/c/openstack/nova/+/88500409:38
Uggla_bauzas, ^ should fix what we discussed, I have added what I have done for scaphandre as well on top of the serie.09:41
Uggla_bauzas, I need to test a couple of things with devstack, then I will try to reorganize the serie to have the API related stuff on the top.09:47
opendevreviewMichel Nederlof proposed openstack/nova master: Add ability to flatten RBD disks upon clone  https://review.opendev.org/c/openstack/nova/+/88459510:09
bauzasUggla_: ack, cooking now10:15
Uggla_sean-k-mooney[m], can you please remember me the issue with numa and memfd. So far I understand that tweaking numa is not required anymore with As of QEMU 5.0.0 and libvirt 6.9.0. Do I miss something ?12:54
*** efried1 is now known as efried12:55
sean-k-mooneyi discovered that recently too12:56
sean-k-mooneyso your rigt with a new enough qemu memfd does not require numa to be configured12:56
sean-k-mooneyso we could start makeing that our default memory backend in nova/libvirt12:56
sean-k-mooneyspecificaly our default coudl evolve to 12:57
sean-k-mooney<memoryBacking>12:57
sean-k-mooney    <source type="memfd"/>12:57
sean-k-mooney    <access mode="shared"/>12:57
sean-k-mooney  </memoryBacking>12:57
sean-k-mooneythat will enable virtio fs and vhost-user to start workign automaticlaly without any special addtional configuration12:57
sean-k-mooneyUggla_: however our current min qemu is 4.2.0 or declared next min is 5.2.012:58
sean-k-mooneyso we need to actuly raise the min version befoer we do that12:58
sean-k-mooneykashyap was ment to be workign on that but i have not seen any patches yet12:59
Uggla_sean-k-mooney, as a reminder for virtiofs I require a qemu > 5.0.0 and libvirt > 6.2.0.13:02
Uggla_sean-k-mooney, anyway assuming I find the time to do it, any objection to write a spec for memfd ? (so we could review it at PTG ?)13:03
sean-k-mooneygo for it13:04
Uggla_sean-k-mooney, thx13:04
sean-k-mooneywhat i have proposed in the past is adding hw:memory_backend=file|anonumous|memfd|hugepage13:04
sean-k-mooneyand if we raise the min then memfd can be the default13:04
sean-k-mooneywhen its not set13:05
Uggla_what is anonymous ?13:05
sean-k-mooneywhat we use today just speeled incorrectly13:05
sean-k-mooneynon shared 4k pages13:06
Uggla_ok you think there will be no "side effect" to switch to memfs as default ?13:07
sean-k-mooneythere are sideeffect but i think its a better default. provided we have a new enoguh qemu13:08
sean-k-mooneyspecificly im suggeting changin two defaults13:08
Uggla_ok 13:08
sean-k-mooneyhw:memory_backing=memfd which im suggeting should be the new default woudl set <source type="memfd"/> and  <access mode="shared"/>13:09
sean-k-mooneythe  <access mode="shared"/> is the main delta13:09
sean-k-mooneymemfd ensure there is a file decriptor allcoated to the memory segment13:09
sean-k-mooneycombinded with  <access mode="shared"/> that means dpdk or or other tools that do security scaning tools can map the guest memory an acess it form the host13:10
sean-k-mooneyso that will enabel ovs-dpdk to work out of the box without requiring the vm to use hugepages or file backed memory13:11
Uggla_cool !13:11
sean-k-mooneyand it will make virtio-fs work which is your main usecase enable but the maniall share work you are doing and the scaphanda work13:11
sean-k-mooneythe reason for keeping anonymous is for those that dotn what <access mode="shared"/>13:12
Uggla_yep, it might simplify the host config too.13:12
Uggla_sure, it good to keep anonymous for people who does not want to use shared mem, for any reason.13:13
sean-k-mooneyyes so put to gether a spec and we can debate the default in it but i would be infavor of using memfd as it has may advantages13:13
Uggla_I agree, will do that.13:14
Uggla_Another thing, I'm not sure you have seen my note yesterday about virtofs not supporting readonly. Do you thing proposing virtio9p as an alternative to virtiofs could be useful ?13:15
Uggla_or we should just wait virtiofs to support it ?13:15
sean-k-mooneyvirtio9p does not apprer to be supported by libvirt13:17
sean-k-mooneyoh13:18
sean-k-mooneyits an atribute you can set 9pfs13:18
Uggla_hum are you sure, I can configure it using virtual machine manager, and I think it uses libvirt.13:18
sean-k-mooneyit might be setting things qit qemu args13:21
Uggla_it looks like the conf is: https://paste.opendev.org/show/bC6FS8a7RP2J0tT9G2Jn/13:23
sean-k-mooneyya so it looks like its the defautl driver if you dont use virtio-fs13:24
Uggla_I have not dig into it, this is just the conf porposed by virtual machine manager. I'm a bit afraid about the <address type="pci"... as I don't really know the purpose so far.13:26
sean-k-mooneyim not sure that readonly is really required but perhaps we should consider it13:26
Uggla_sean-k-mooney, I have discussed and open a ticket to the virt team to have it supported.13:26
sean-k-mooneyUggla_: thats just the adress in the vm where its mounted13:27
sean-k-mooneyUggla_: we can rely on it however fo the intial enablement13:27
sean-k-mooneywe have a policy of rquiring features to be in a released version of libvirt/qemu before we can use it in nova13:27
sean-k-mooneyi woudl perhaps isnteead consier addign ahard limit on the virtiofs size and allwo it to be read write13:28
sean-k-mooneybut lets see what others think13:28
Uggla_one of the benefits is that virtio9p seems to not have issue with snapshot etc... but probably less performant than virtiofs.13:33
Uggla_I think virtio9p does not require shared memory that's the reason why.13:35
Uggla_sean-k-mooney, regarding virtiofs if we really want ro we can work around it using a bind mount and explain it it the doc.13:38
Uggla_sean-k-mooney, do you thing it worth to also write a spec for virtio9p ?13:39
sean-k-mooneyno14:13
sean-k-mooneyi dont think we shoudl add supprot for virtio9p14:13
sean-k-mooneyit has much lower performacne and it will likely get remvoed eventully once virtiofs has reach feature partiy14:13
opendevreviewDanylo Vodopianov proposed openstack/nova-specs master: Add support for Napatech LinkVirt SmartNICs  https://review.opendev.org/c/openstack/nova-specs/+/85929014:30
opendevreviewDanylo Vodopianov proposed openstack/nova-specs master: Add support for Napatech LinkVirt SmartNICs  https://review.opendev.org/c/openstack/nova-specs/+/85929014:53
opendevreviewDanylo Vodopianov proposed openstack/nova-specs master: Add support for Napatech LinkVirt SmartNICs  https://review.opendev.org/c/openstack/nova-specs/+/85929015:13
*** JayF is now known as Guest196221:37
*** JasonF is now known as JayF21:37

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