<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="">Hello,<div class="">thanks a lot , you help me to understand a lot of things.</div><div class=""><br class=""></div><div class=""><div class="">in particular that I have a lot of modifications to make to have an operational openstack and with good performance.</div><div class="">If my iscsi bay is attached to S3 (I have S1, S2 and S3), I have to put glance on S3 with a mount in the filesystem of S3, and enable the cache.</div><div class="">My images are in qcow2. suddenly I do not know if I modify them.</div><div class="">Finally, and I don't know if this is the best solution, to make images that work well, I go through virtualbox, then from VDI to RAW (then from RAW to QCOW2 but it was a big mistake if I well understood). For example, I am having trouble with an opnsense image if I create the iinstance from iso and Horizon. If I go through virtualbox on another computer, then copy the files, the image is OK. Weird ….</div><div class=""><br class=""></div><div class="">Ah, I forgot, I didn't realize that order was important in a module [module]. Really not easy to handle all of this.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Anyway thank you for your help. I will check the docs again and try to change this next week.</div><div class=""><br class=""></div><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><span style="color: rgb(31, 73, 125); font-family: Arial, sans-serif; font-size: 10pt; orphans: 2; widows: 2;" class="">Franck </span></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><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="">
>><br class="">
>> Hello and thank you for the help.<br class="">
>> I was able to move forward on my problem, without finding a satisfactory solution.<br class="">
>> 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.<br class="">
>> 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.<br class="">
>> I don't understand what happened. There is something wrong.<br class="">
>><br class="">
>> Is it normal that after updating the certificates, all instances are turned off?<br class="">
>> thanks again<br class="">
>><br class="">
>> Franck<br class="">
>><br class="">
>> Le 17 nov. 2021 à 21:11, Cyril Roelandt <<a href="mailto:cyril@redhat.com" target="_blank" class="">cyril@redhat.com</a>> a écrit :<br class="">
>><br class="">
>> Hello,<br class="">
>><br class="">
>><br class="">
>> On 2021-11-17 08:59, Franck VEDEL wrote:<br class="">
>><br class="">
>> Hello everyone<br class="">
>><br class="">
>> I have a strange problem and I haven't found the solution yet.<br class="">
>> Following a certificate update I had to do a "kolla-ansible -t multinode reconfigure ».<br class="">
>> 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 class="">
>><br class="">
>> I am trying to create a new instance to check general operation. ERROR.<br class="">
>> 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 class="">
>><br class="">
>><br class="">
>> We'd like to see the logs as well, especially the stacktrace.<br class="">
>><br class="">
>> 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 class="">
>><br class="">
>> I create an empty volume: it works.<br class="">
>> I am creating a volume from an image: Failed.<br class="">
>><br class="">
>><br class="">
>> What commands are you running? What's the output? What's in the logs?<br class="">
>><br class="">
>><br class="">
>> However, I have my list of ten images in glance.<br class="">
>><br class="">
>> I create a new image and create a volume with this new image: it works.<br class="">
>> I create an instance with this new image: OK.<br class="">
>><br class="">
>> What is the problem ? The images present before the "reconfigure" are listed, visible in horizon for example, but unusable.<br class="">
>> Is there a way to fix this, or do we have to reinstall them all?<br class="">
>><br class="">
>><br class="">
>> What's your configuration? What version of OpenStack are you running?<br class="">
>><br class="">
>><br class="">
>><br class="">
>> Cyril<br class="">
>><br class="">
>><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>