<div dir="ltr"><div>Hello Franck, glance is not deployed on all nodes at default.</div><div>I got the same problem</div><div>In my case I have 3 controllers.</div><div>I created an nfs share on a storage server where to store images.</div><div>Before deploying glance, I create /var/lib/glance/images on the 3 controllers and I mount the nfs share.</div><div>This is my fstab on the 3 controllers:</div><div><br></div><div>10.102.189.182:/netappopenstacktst2_glance /var/lib/glance nfs rw,user=glance,soft,intr,noatime,nodiratime</div><div><br></div><div>In my globals.yml I have:</div><div>glance_file_datadir_volume: "/var/lib/glance"</div><div>glance_backend_file: "yes"</div><div><br></div><div>This means images are on /var/lib/glance and since it is a nfs share all my 3 controlles can share images.</div><div>Then you must deploy.</div><div>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.</div><div>First time:</div><div>[control]</div><div>A</div><div>B</div><div>C</div><div><br></div><div>Second time:</div><div>[control]</div><div>B</div><div>C</div><div>A</div><div><br></div><div>Third time:</div><div>[control]</div><div>C</div><div>B <br></div><div>A</div><div><br></div><div>Or you can deploy glance 3 times using -t glance and -l <controllername></div><div><br></div><div>As far as the instance stopped, I got I bug with a version of kolla.</div><div><a href="https://bugs.launchpad.net/kolla-ansible/+bug/1941706">https://bugs.launchpad.net/kolla-ansible/+bug/1941706</a></div><div>Now is corrected and with kolla 12.2.0 it works.</div><div>Ignazio<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 17 nov 2021 alle ore 23:17 Franck VEDEL <<a href="mailto:franck.vedel@univ-grenoble-alpes.fr">franck.vedel@univ-grenoble-alpes.fr</a>> ha scritto:<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 style="overflow-wrap: break-word;"><div>Hello and thank you for the help.</div><div>I was able to move forward on my problem, without finding a satisfactory solution.</div><div>Normally, I have 2 servers with the role [glance] but I noticed that all my images were on the first server (in / var / lib / docker / volumes / glance / _data / images) before the reconfigure, none on the second. But since the reconfiguration, the images are placed on the second, and no longer on the first. I do not understand why. I haven't changed anything to the multinode file.</div><div>so, to get out of this situation quickly as I need this openstack for the students, I modified the multinode file and put only one server in [glance] (I put server 1, the one that had the images before reconfigure), I did a reconfigure -t glance and now I have my images usable for instances.</div><div>I don't understand what happened. There is something wrong.</div><div><br></div><div>Is it normal that after updating the certificates, all instances are turned off?</div><div>thanks again</div><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div><br></div></div></div><div style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt"></div></div></div>
</div><div>Franck</div>
<div><br><blockquote type="cite"><div>Le 17 nov. 2021 à 21:11, Cyril Roelandt <<a href="mailto:cyril@redhat.com" target="_blank">cyril@redhat.com</a>> a écrit :</div><br><div><div>Hello,<br><br><br>On 2021-11-17 08:59, Franck VEDEL wrote:<br><blockquote type="cite">Hello everyone <br><br>I have a strange problem and I haven't found the solution yet. <br>Following a certificate update I had to do a "kolla-ansible -t multinode reconfigure ». <br>Well, after several attempts (it is not easy to use certificates with Kolla-ansible, and from my advice, not documented enough for beginners), I have my new functional certificates. Perfect ... well almost.<br><br> I am trying to create a new instance to check general operation. ERROR. <br>Okay, I look in the logs and I see that Cinder is having problems creating volumes with an error that I never had ("TypeError: 'NoneType' object is not iterable).<br></blockquote><br>We'd like to see the logs as well, especially the stacktrace.<br><br><blockquote type="cite">I dig and then I wonder if it is not the Glance images which cannot be used, while they are present (openstack image list is OK). <br><br>I create an empty volume: it works.<br>I am creating a volume from an image: Failed. <br></blockquote><br>What commands are you running? What's the output? What's in the logs?<br><br><blockquote type="cite"><br>However, I have my list of ten images in glance. <br><br>I create a new image and create a volume with this new image: it works. <br>I create an instance with this new image: OK. <br><br>What is the problem ? The images present before the "reconfigure" are listed, visible in horizon for example, but unusable. <br>Is there a way to fix this, or do we have to reinstall them all? <br></blockquote><br>What's your configuration? What version of OpenStack are you running?<br><br><br><br>Cyril<br><br></div></div></blockquote></div><br></div></blockquote></div>