<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=""><div class="">hello ignacio and thank you for all this information.</div><div class="">I also think that a structure with 3 servers may not be built properly, once again, arriving on such a project, without help (human help, because we find documents, documentations to be taken in order, with many different directions, choose the right OS, don't run into a bug (vpnaas for me), do tests, etc.). You have to make choices in order to move forward. I agree that I probably didn't do things the best way. And I regret it.</div><div class="">Thank you for this help on how the images work. Yes, in my case the images can be used after the "download" because they are in Qcow2. I will change this, I did not understand it.</div><div class="">It is clear that if a professional came to see my Openstack, they would tell me what is wrong, what I need to change, but hey, in the end, it still works a bit.</div><div class=""><br class=""></div><div class="">Thanks Ingnacio, really.</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><span style="color: rgb(31, 73, 125); font-family: Arial, sans-serif; font-size: 10pt; orphans: 2; widows: 2;" class=""><br class=""></span></div></div></div></div></div></div><div><blockquote type="cite" class=""><div class="">Le 18 nov. 2021 à 20:34, 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="auto" class="">I did not understand  very well how your infrastructure is done. <div dir="auto" class="">Generally speaking, I prefer to have 3 controllers , n computer nodes and external storage.</div><div dir="auto" class="">I think using iscsi images must be downloaded and  converted from qcow2 to raw format and it can takes a long time. In this case I used image cache. Probably when you create a volume from image you can see a download phase. If you use image cache the download is executed only the first time a volume from that image is created.</div><div dir="auto" class="">Sorry for my bad english.</div><div dir="auto" class="">Take a look at</div><div dir="auto" class=""><a href="https://docs.openstack.org/cinder/latest/admin/blockstorage-image-volume-cache.html#:~:text=Image%2DVolume%20cache%C2%B6,end%20can%20clone%20a%20volume" class="">https://docs.openstack.org/cinder/latest/admin/blockstorage-image-volume-cache.html#:~:text=Image%2DVolume%20cache%C2%B6,end%20can%20clone%20a%20volume</a>.<br class=""></div><div dir="auto" class="">Ignazio</div><div dir="auto" class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Gio 18 Nov 2021, 19:58 Franck VEDEL <<a href="mailto:franck.vedel@univ-grenoble-alpes.fr" rel="noreferrer noreferrer" target="_blank" class="">franck.vedel@univ-grenoble-alpes.fr</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">ok ... I got it ... and I think I was doing things wrong.</div><div class="">Okay, so I have another question.</div><div class="">My cinder storage is on an iscsi bay.</div><div class="">I have 3 servers, S1, S2, S2.</div><div class="">Compute is on S1, S2, S3.</div><div class="">Controller is on S1 and S2.</div><div class="">Storage is on S3.</div><div class="">I have Glance on S1. Building an instance from an image is too long, so you have to make a volume first.</div><div class="">If I put the images on the iSCSI bay, I mount a directory in the S1 file system, will the images build faster? Much faster ?</div><div class="">Is this a good idea or not?</div><div class=""><br class=""></div><div class="">Thank you again for your help and your experience</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;" class=""><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;" class=""><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;" class=""><div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;" class=""><div class=""><span style="color:rgb(31,73,125);font-family:Arial,sans-serif;font-size:10pt" class="">Franck </span></div></div></div><div style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt" class=""></div></div></div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">Le 18 nov. 2021 à 07:23, Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank" class="">ignaziocassano@gmail.com</a>> a écrit :</div><br class=""><div class=""><div dir="auto" class="">Hello, i solved using the following variabile in globals.yml:<div dir="auto" class="">glance_file_datadir_volume=somedir</div><div dir="auto" class="">and glance_backend_file="yes'</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">So if the somedir is a nfs mount point, controllers can share images. Remember you have to deploy glance on all controllers.</div><div dir="auto" class="">Ignazio</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Mer 17 Nov 2021, 23:17 Franck VEDEL <<a href="mailto:franck.vedel@univ-grenoble-alpes.fr" rel="noreferrer noreferrer noreferrer" target="_blank" class="">franck.vedel@univ-grenoble-alpes.fr</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">Hello and thank you for the help.</div><div class="">I was able to move forward on my problem, without finding a satisfactory solution.</div><div 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.</div><div 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.</div><div class="">I don't understand what happened. There is something wrong.</div><div class=""><br class=""></div><div class="">Is it normal that after updating the certificates, all instances are turned off?</div><div class="">thanks again</div><div class="">
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""></div></div></div><div style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt" class=""></div></div></div>
</div><div class="">Franck</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">Le 17 nov. 2021 à 21:11, Cyril Roelandt <<a href="mailto:cyril@redhat.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank" class="">cyril@redhat.com</a>> a écrit :</div><br class=""><div class=""><div class="">Hello,<br class=""><br class=""><br class="">On 2021-11-17 08:59, Franck VEDEL wrote:<br class=""><blockquote type="cite" 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=""></blockquote><br class="">We'd like to see the logs as well, especially the stacktrace.<br class=""><br class=""><blockquote type="cite" 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=""></blockquote><br class="">What commands are you running? What's the output? What's in the logs?<br class=""><br class=""><blockquote type="cite" 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=""></blockquote><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=""></div></div></blockquote></div><br class=""></div></blockquote></div>
</div></blockquote></div><br class=""></div></blockquote></div>
</div></blockquote></div><br class=""></body></html>