<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 9, 2023 at 5:09 PM Dmitriy Rabotyagov <<a href="mailto:noonedeadpunk@gmail.com">noonedeadpunk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Nicolas,<br>
<br>
No, we don't really maintain documentation for each cinder driver<br>
that's available. So we assume using an override variable for<br>
adjustment of cinder configuration to match the desired state.<br>
<br>
So basically, you can use smth like that in your user_variables.yml:<br>
<br>
cinder_backends:<br>
GPFSNFS:<br>
volume_backend_name: GPFSNFS<br>
volume_driver: cinder.volume.drivers.ibm.gpfs.GPFSNFSDriver<br>
<br>
cinder_cinder_conf_overrides:<br>
DEFAULT:<br>
gpfs_hosts: ip.add.re.ss<br>
gpfs_storage_pool: cinder<br>
gpfs_images_share_mode: copy_on_write<br>
....<br>
<br>
I have no idea though if gpfs_* variables can be defined or not inside<br>
the backend section, as they're referenced in DEFAULT in docs. But<br>
overrides will work regardless.<br>
<br></blockquote><div><br></div><div>Backend related configuration should always go in the [BACKEND] section and not</div><div>in the [DEFAULT] section so the documentation needs to be corrected for GPFS.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
чт, 9 мар. 2023 г. в 11:41, Nicolas Melot <<a href="mailto:nicolas.melot@lunarc.lu.se" target="_blank">nicolas.melot@lunarc.lu.se</a>>:<br>
><br>
> Hi,<br>
><br>
> I can find doc on using various backends for cinder<br>
> (<a href="https://docs.openstack.org/openstack-ansible-os_cinder/zed/configure-cinder.html#configuring-cinder-to-use-lvm" rel="noreferrer" target="_blank">https://docs.openstack.org/openstack-ansible-os_cinder/zed/configure-cinder.html#configuring-cinder-to-use-lvm</a>)<br>
> and some documentation to configure a GPFS backend for cinder<br>
> (<a href="https://docs.openstack.org/cinder/zed/configuration/block-storage/drivers/ibm-gpfs-volume-driver.html" rel="noreferrer" target="_blank">https://docs.openstack.org/cinder/zed/configuration/block-storage/drivers/ibm-gpfs-volume-driver.html</a>)<br>
> but I cannot find any documentation to deploy cinder with GPFS backend<br>
> using openstack-ansible. Does this exist at all? Is there any<br>
> documentation?<br>
><br>
> /Nicolas<br>
><br>
<br>
</blockquote></div></div>