<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Hi Mark, first thank you for replying so quickly to help me.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">It's relative to the host, used in the host part of a bind mount for </span><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">the glance-api container.</span></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div><div dir="ltr"><span style="color:rgb(102,102,102);font-family:verdana,sans-serif">This is great and that was the missing key info I needed<span class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">. </span></span></div><div dir="ltr"><span style="color:rgb(102,102,102);font-family:verdana,sans-serif"><span class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></span></span></div><div><span style="color:rgb(102,102,102);font-family:verdana,sans-serif"><span class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Have a great day!</span></span><br></div><div dir="ltr"><br></div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Kind regards,</div><br></div><div dir="ltr"><br></div><div dir="ltr">Tony Pearce<br><br><br></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 1 Jul 2021 at 16:26, Mark Goddard <<a href="mailto:mark@stackhpc.com">mark@stackhpc.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">On Thu, 1 Jul 2021 at 09:00, Tony Pearce <<a href="mailto:tonyppe@gmail.com" target="_blank">tonyppe@gmail.com</a>> wrote:<br>
><br>
> How do I configure the glance container to use a host-mounted NFS share? It is not covered in the kolla-ansible documentation [1]. What it does say is to set the file path using "glance_file_datadir_volume". I believe that this is relative to the container (not the host).<br>
<br>
It's relative to the host, used in the host part of a bind mount for<br>
the glance-api container.<br>
<br>
><br>
> Do I need to mount the local host (nfs) directory as a docker volume for glance as additional step? If so, how do I achieve this with kayobe / kolla-ansible?<br>
<br>
Yes. You could use a kayobe custom playbook<br>
<a href="https://docs.openstack.org/kayobe/latest/custom-ansible-playbooks.html" rel="noreferrer" target="_blank">https://docs.openstack.org/kayobe/latest/custom-ansible-playbooks.html</a><br>
><br>
> Some background:<br>
> After a successful deployment of 3 controller nodes I have one glance service which is dependent on one of these controller nodes being available always. My intent is to provide a NFS share for glance that removes the dependency.<br>
<br>
The most common approach is to use Ceph for glance & cinder, but this<br>
adds significant complexity. NFS is probably a reasonable second best.<br>
<br>
><br>
> [1] OpenStack Docs: Glance - Image service<br>
><br>
> Kind regards,<br>
><br>
> Tony Pearce<br>
><br>
</blockquote></div>