<div dir="ltr"><div dir="ltr">Thanks a lot !!</div><div dir="ltr"><br></div><div dir="ltr">What about [os_glance_tasks_store] ? Is it needed ?<br></div><div dir="ltr"><br></div><div>Best Regards, Massimo</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 26, 2021 at 7:08 AM Abhishek Kekane <<a href="mailto:akekane@redhat.com">akekane@redhat.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"><div dir="ltr"><div style="font-family:verdana,sans-serif">Also I forget to mention that Wallaby onwards there is no need to configure a shared filesystem for `os_glance_staging_store` for any of the import methods.</div><div style="font-family:verdana,sans-serif"><br></div><div><div dir="ltr"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 26, 2021 at 11:35 AM Abhishek Kekane <<a href="mailto:akekane@redhat.com" target="_blank">akekane@redhat.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"><div dir="ltr"><div style="font-family:verdana,sans-serif">Hi Massimo,</div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">If you are planning to use glance-direct import method then you need to configure os_glance_staging_store using a shared filesystem. If you plan to use only web-download and copy-image import methods then you don't need a shared filesystem for os_glance_staging_store.</div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">If glance-direct needs to be used then the below path needs to be on a shared file system.<br></div><div style="font-family:verdana,sans-serif">[os_glance_staging_store]</div><div style="font-family:verdana,sans-serif">filesystem_store_datadir = /path/to/staging/store</div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">If only web-download and copy-image import methods will be used then still you need to set the above section in glance-api.conf but no need for a shared filesystem in this case.</div><div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif"><br></div><div><div dir="ltr"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 26, 2021 at 11:29 AM Massimo Sgaravatto <<a href="mailto:massimo.sgaravatto@gmail.com" target="_blank">massimo.sgaravatto@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"><div dir="ltr">We are using OpenStack Train but we plan to migrate soon to something newer<div><br>The glance-api service is deployed on 2 nodes.<br><br>We used to have 2 backends for glance (file and rbd) but now we want to use only ceph. So I guess the configuration for the stores can be simply something like this [*]</div><div><br>Reading:<br><a href="https://docs.openstack.org/glance/train/admin/multistores.html" target="_blank">https://docs.openstack.org/glance/train/admin/multistores.html</a><br><br></div><div>is not too clear to me if I have to configure somewhere filesystem_store_datadir.<br>In particular do I have to configure the  [os_glance_tasks_store] and<br>[os_glance_staging_store] reserved stores ?<br>If so, do I still need shared (between the 2 glance-api nodes )filesystems<br>for them ?<br><br></div><div>Thanks, Massimo<br><br><br>[*]<br><br>[DEFAULT]<br>enabled_backends = rbd:rbd<br><br>[glance_store]<br>default_backend = rbd<br><br><br>[rbd]<br>store_description = Ceph in replica 3<br>rbd_store_pool = glance-cloudtest<br>rbd_store_user = glance-cloudtest<br>rbd_store_ceph_conf = /etc/ceph/ceph.conf<br>rbd_store_chunk_size = 8<br></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>