<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 color="#ff0000"><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 class="gmail-k" 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/">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 class="gmail-na" style=""><font style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"><b style=""><font color="#ff0000">default_swift_reference</font></b><font color="#4070a0"> </font></font>or<font style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"><font color="#4070a0"> </font><b style=""><font color="#ff0000">auth_address </font></b></font>fromthe<font color="#4070a0" style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"> </font><span class="gmail-na" style="font-family:"Bitstream Vera Sans Mono",monospace;font-size:13px"><font color="#ff0000"><b>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">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/">https://paste.opendev.org/show/bjFAPCjlCG6MqINGsIlK/</a><br>glance-swift.conf: <a href="https://paste.opendev.org/show/bcCfBQDj32T3qgiJj3P7/">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>