<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Michael,<div class=""><br class=""></div><div class="">This would indicate that glance can’t find the swift endpoint in the keystone catalog.</div><div class=""><br class=""></div><div class="">You can either add it to the catalog or specify the swift url in the config.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Sam</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On 15 Jul 2016, at 9:07 PM, Michael Stang <<a href="mailto:michael.stang@dhbw-mannheim.de" class="">michael.stang@dhbw-mannheim.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi everyone,</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> </div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I tried to setup swift as backend for glance in our new mitaka installation. I used this in the glance-api.conf</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> </div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><p class="">[glance_store]<br class="">stores = swift<br class="">default_store = swift<br class="">swift_store_create_container_on_put = True<br class="">swift_store_region = RegionOne<br class=""><span style="font-size: 9pt;" class="">default_swift_reference = ref1<br class=""></span>swift_store_config_file = /etc/glance/glance-swift-store.conf</p><div class=""> <br class="webkit-block-placeholder"></div><p class="">and in the glance-swift-store.conf this</p><p class="">[ref1]<br class="">auth_version = 3<br class="">project_domain_id = default<br class="">user_domain_id = default<br class="">auth_address =<span class="Apple-converted-space"> </span><a href="http://controller:35357/" class="">http://controller:35357</a><br class="">user = services:swift<br class="">key = xxxxx</p><p class="">When I trie now to upload an image it gets the status "killed" and this is in the glance-api.log</p><p class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils [req-0ec16fa5-a605-47f3-99e9-9ab231116f04 de9463239010412d948df4020e9be277 669e037b13874b6c871<br class="">2b1fd10c219f0 - - -] Failed to upload image 6de45d08-b420-477b-a665-791faa232379<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils Traceback (most recent call last):<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance/api/v1/upload_utils.py", line 110, in upload_d<br class="">ata_to_store<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils context=req.context)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/backend.py", line 344, in store_add_to_b<br class="">ackend<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils verifier=verifier)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/capabilities.py", line 226, in op_checke<br class="">r<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils return store_op_fun(store, *args, **kwargs)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", line 532, in a<br class="">dd<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils allow_reauth=need_chunks) as manager:<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", line 1170, in<br class="">get_manager_for_store<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils store, store_location, context, allow_reauth)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/connection_manager.py", l<br class="">ine 64, in __init__<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils self.storage_url = self._get_storage_url()<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/connection_manager.py", l<br class="">ine 160, in _get_storage_url<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils raise exceptions.BackendException(msg)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils BackendException: Cannot find swift service endpoint : The resource could not be found. (HTTP<br class="">404)<br class="">2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils</p><div class=""> <br class="webkit-block-placeholder"></div><p class="">anyone an idea what i'm missing in the config file oder what might be the problem?</p><p class=""><span style="font-size: 9pt;" class="">Thanks and kind regards,<br class="">Michael</span></p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack-operators mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OpenStack-operators@lists.openstack.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-operators@lists.openstack.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></div></blockquote></div><br class=""></div></div></body></html>