<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ignazio, Radoslaw, <div class=""><br class=""></div><div class=""><div class="">thanks to you, I made some modifications and my environment seems to work better (the images are placed on the iiscsi bay on which the volumes are stored).</div><div class="">I installed the cache for glance. It works, well I think it does.</div><div class=""><br class=""></div><div class="">My question is: between the different formats (qcow2, raw or other), which is the most efficient if</div><div class="">- we create a volume then an instance from the volume</div><div class="">- we create an instance from the image</div><div class="">- we create an instance without volume</div><div class="">- we create a snapshot then an instance from the snapshot</div><div class=""><br class=""></div><div class="">Franck</div></div><div class=""><br class=""><div class=""><div class="">
<meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><br class=""></div></div></div><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"></div></div></div>
</div>
<div><blockquote type="cite" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"></div></div></div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">Le 19 nov. 2021 à 14:50, Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" class="">ignaziocassano@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Franck, this help you a lot.</div><div class="">Thanks Radoslaw</div><div class="">Ignazio<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 19 nov 2021 alle ore 12:03 Radosław Piliszek <<a href="mailto:radoslaw.piliszek@gmail.com" class="">radoslaw.piliszek@gmail.com</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If one sets glance_file_datadir_volume to non-default, then glance-api<br class="">
gets deployed on all hosts.<br class="">
<br class="">
-yoctozepto<br class="">
<br class="">
On Fri, 19 Nov 2021 at 10:51, Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank" class="">ignaziocassano@gmail.com</a>> wrote:<br class="">
><br class="">
> Hello Franck, glance is not deployed on all nodes at default.<br class="">
> I got the same problem<br class="">
> In my case I have 3 controllers.<br class="">
> I created an nfs share on a storage server where to store images.<br class="">
> Before deploying glance, I create /var/lib/glance/images on the 3 controllers and I mount the nfs share.<br class="">
> This is my fstab on the 3 controllers:<br class="">
><br class="">
> 10.102.189.182:/netappopenstacktst2_glance /var/lib/glance nfs  rw,user=glance,soft,intr,noatime,nodiratime<br class="">
><br class="">
> In my globals.yml I have:<br class="">
> glance_file_datadir_volume: "/var/lib/glance"<br class="">
> glance_backend_file: "yes"<br class="">
><br class="">
> This means images are on /var/lib/glance and since it is a nfs share all my 3 controlles can share images.<br class="">
> Then you must deploy.<br class="">
> To be sure the glance container is started on all controllers, since I have 3 controllers, I deployed 3 times changing the order in the inventory.<br class="">
> First time:<br class="">
> [control]<br class="">
> A<br class="">
> B<br class="">
> C<br class="">
><br class="">
> Second time:<br class="">
> [control]<br class="">
> B<br class="">
> C<br class="">
> A<br class="">
><br class="">
> Third time:<br class="">
> [control]<br class="">
> C<br class="">
> B<br class="">
> A<br class="">
><br class="">
> Or you can deploy glance 3 times using -t glance and -l <controllername><br class="">
><br class="">
> As far as the instance  stopped, I got I bug with a version of kolla.<br class="">
> <a href="https://bugs.launchpad.net/kolla-ansible/+bug/1941706" rel="noreferrer" target="_blank" class="">https://bugs.launchpad.net/kolla-ansible/+bug/1941706</a><br class="">
> Now is corrected and with kolla 12.2.0 it works.<br class="">
> Ignazio<br class="">
><br class="">
><br class="">
> Il giorno mer 17 nov 2021 alle ore 23:17 Franck VEDEL <<a href="mailto:franck.vedel@univ-grenoble-alpes.fr" target="_blank" class="">franck.vedel@univ-grenoble-alpes.fr</a>> ha scritto:<br class=""></blockquote></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></div></body></html>