<div dir="auto">All right, just tested to move the directive and it now works like a charm!</div><div dir="auto"><br></div><div dir="auto">Thanks a lot!</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 mai 2022 à 19:54, Abhishek Kekane <<a href="mailto:akekane@redhat.com">akekane@redhat.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 24 May 2022 at 9:42 PM, Gaël THEROND <<a href="mailto:gael.therond@bitswalk.com" target="_blank">gael.therond@bitswalk.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">Ok ok, I was kinda assuming that but was a bit lost by both doc and code as doc specify it multiple time within config but also within the configuring page but this time with third alternative location ^^</div><div dir="auto"><br></div><div dir="auto">Will test that and let you know.</div><div dir="auto"><br></div><div dir="auto">Thanks a lot for this first review.</div></blockquote><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">No worries, please let me know if you have any questions.</div></div></div><div><div class="gmail_quote"><div dir="auto"><br></div><div dir="auto">Abhishek </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto"></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 mai 2022 à 18:10, Abhishek Kekane <<a href="mailto:akekane@redhat.com" target="_blank">akekane@redhat.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 24 May 2022 at 9:34 PM, Gaël THEROND <<a href="mailto:gael.therond@bitswalk.com" target="_blank">gael.therond@bitswalk.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">Sure! However it is specified two times within the official glance configuration, once in glance_store and once in glance.store.swift.store but that last section is really not that well documented.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://docs.openstack.org/glance/latest/configuration/glance_api.html#glance-store" target="_blank">https://docs.openstack.org/glance/latest/configuration/glance_api.html#glance-store</a></div></div></blockquote><div dir="auto"><br></div><div dir="auto">Ack, that needs to be fixed then, important thing is if you are using multiple stores then store specific parameters must go under specific store section otherwise they won’t get recognised.</div></div></div><div><div class="gmail_quote"><div dir="auto"><br></div><div dir="auto">Abhishek </div><div dir="auto"><br></div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 mai 2022 à 17:54, Abhishek Kekane <<a href="mailto:akekane@redhat.com" target="_blank">akekane@redhat.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">Hi Gaël,</div><div dir="auto"><br></div><div dir="auto">Can you try moving default_swift_reference from glance_store section to particular swift store section, i.e. cold as per your configs.</div><div dir="auto"><br></div><div dir="auto">I guess that is the issue.</div><div dir="auto"><br></div><div dir="auto">Abhishek </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 24 May 2022 at 7:30 PM, Gaël THEROND <<a href="mailto:gael.therond@bitswalk.com" target="_blank">gael.therond@bitswalk.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hi everyone,<br><br>I'm currently enabling glance multi backend support for one of our platforms and we're facing a weird situation.<div><br></div><div>This platform is a CentOS 8 Stream based Openstack VICTORIA and when we enable the multi-backends feature, the swift store isn't working properly.<br><br>When we try to send an image to this store we end up with the following error message:</div><div><font style="color:rgb(255,0,0)"><b>"<span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px">ERROR glance_store._drivers.swift.store </span><span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px">-</span><span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"> A value </span><span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px">for</span><span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"> swift_store_auth_address is required.</span>"</b></font></div><div><br></div><div>Here is the complete log trace:<br><a href="https://paste.opendev.org/show/bGeCJjSB1C5GwD6JYFvu/" target="_blank">https://paste.opendev.org/show/bGeCJjSB1C5GwD6JYFvu/</a><br><br>I'm a bit surprised because according to the error message and the glance_store code it means that either my <span><font style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0)"><b style="font-family:"Bitstream Vera Sans Mono",monospace"><font style="font-family:"Bitstream Vera Sans Mono",monospace;color:rgb(255,0,0)">default_swift_reference</font></b><font style="font-family:"Bitstream Vera Sans Mono",monospace;color:rgb(64,112,160)"> </font></font>or<font style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(0,0,0)"><font style="font-family:"Bitstream Vera Sans Mono",monospace;color:rgb(64,112,160)"> </font><b style="font-family:"Bitstream Vera Sans Mono",monospace"><font style="font-family:"Bitstream Vera Sans Mono",monospace;color:rgb(255,0,0)">auth_address </font></b></font>fromthe<font style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px;color:rgb(64,112,160)"> </font><span style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"><font style="font-family:"Bitstream Vera Sans Mono",monospace;color:rgb(255,0,0)"><b style="font-family:"Bitstream Vera Sans Mono",monospace">default_swift_reference </b></font></span>isn't set.<br></span><br><a href="https://opendev.org/openstack/glance_store/src/branch/stable/victoria/glance_store/_drivers/swift/store.py#L1267" target="_blank">https://opendev.org/openstack/glance_store/src/branch/stable/victoria/glance_store/_drivers/swift/store.py#L1267</a><br><br>However as you can see on my glance-api.conf file I've (seems so) correctly set the glance_store directive and the store settings:<br><br>glance-api.conf: <a href="https://paste.opendev.org/show/bjFAPCjlCG6MqINGsIlK/" target="_blank">https://paste.opendev.org/show/bjFAPCjlCG6MqINGsIlK/</a><br>glance-swift.conf: <a href="https://paste.opendev.org/show/bcCfBQDj32T3qgiJj3P7/" target="_blank">https://paste.opendev.org/show/bcCfBQDj32T3qgiJj3P7/</a><br><br>I'm only using a single tenant glance container within the admin project.<br>What's really weird is this issue still arise and exist with any known (to me) combination of configuration.<br><br>I've tried to declare the store right within the glance-api.conf file, but it's not working.<br>I've tried to declare the store right within the glance-api.conf file and with the deprecated swift_store_auth_address directive instead of the auth_address one, it's not working.<br>I've tried to declare the store right within the glance-api.conf file and with the deprecated swift_store_auth_address directive plus the auth_address one, it's not working.
<br>I've tried to replace auth_address directive with the deprecated swift_store_auth_address within the glance-swift.conf, same error and issue again.<br><br>When I replace the default_backend value with performance, uploading an image works perfectly.</div><div><br></div><div>I know that my swift CEPH RGW backed endpoint works as I use it already to store data. I've even tried to push an image on it both using CLI (openstack object) and cURL API call and it works.</div><div>I'm a bit lost here, so if anyone is having thoughts on this I would be happy to hear you!</div><div><br></div><div>Thanks a lot everyone!</div></div>
</blockquote></div></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div>
</blockquote></div></div>
</blockquote></div></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div>
</blockquote></div></div>
</blockquote></div></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div>
</blockquote></div></div>