Hi Sam, thank you for your answer. I had a look, the swift store endpoint ist listet 3 times in the keystone, publicurl admin and internal endpoint. To try, I also set it in the glance-api.conf: swift_store_endpoint = http://controller:8080/v1/ I also tried swift_store_endpoint = http://controller:8080/v1/AUTH_%(tenant_id)s but both gave me the same result as bevor. Is this the right endpoint url for swift? In which config file and with what option do I have to enter it in the glance configuration? Thank you and kind regards, Michael
> Sam Morrison <sorri...@gmail.com> hat am 18. Juli 2016 um 01:41 geschrieben: > > Hi Michael, > > This would indicate that glance can’t find the swift endpoint in the keystone > catalog. > > You can either add it to the catalog or specify the swift url in the config. > > Cheers, > Sam > > > > > > On 15 Jul 2016, at 9:07 PM, Michael Stang > > > <michael.st...@dhbw-mannheim.de mailto:michael.st...@dhbw-mannheim.de > > > > wrote: > > > > Hi everyone, > > > > I tried to setup swift as backend for glance in our new mitaka > > installation. I used this in the glance-api.conf > > > > > > [glance_store] > > stores = swift > > default_store = swift > > swift_store_create_container_on_put = True > > swift_store_region = RegionOne > > default_swift_reference = ref1 > > swift_store_config_file = /etc/glance/glance-swift-store.conf > > > > > > > > and in the glance-swift-store.conf this > > > > [ref1] > > auth_version = 3 > > project_domain_id = default > > user_domain_id = default > > auth_address = http://controller:35357/ > > user = services:swift > > key = xxxxx > > > > When I trie now to upload an image it gets the status "killed" and this > > is in the glance-api.log > > > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > [req-0ec16fa5-a605-47f3-99e9-9ab231116f04 de9463239010412d948df4020e9be277 > > 669e037b13874b6c871 > > 2b1fd10c219f0 - - -] Failed to upload image > > 6de45d08-b420-477b-a665-791faa232379 > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > Traceback (most recent call last): > > 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 > > ata_to_store > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > context=req.context) > > 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 > > ackend > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > verifier=verifier) > > 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 > > r > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils return > > store_op_fun(store, *args, **kwargs) > > 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 > > dd > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > allow_reauth=need_chunks) as manager: > > 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 > > get_manager_for_store > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils store, > > store_location, context, allow_reauth) > > 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 > > ine 64, in __init__ > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > self.storage_url = self._get_storage_url() > > 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 > > ine 160, in _get_storage_url > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils raise > > exceptions.BackendException(msg) > > 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 > > 404) > > 2016-07-15 12:21:44.379 14230 ERROR glance.api.v1.upload_utils > > > > > > > > anyone an idea what i'm missing in the config file oder what might be > > the problem? > > > > Thanks and kind regards, > > Michael > > > > _______________________________________________ > > OpenStack-operators mailing list > > OpenStack-operators@lists.openstack.org > > mailto:OpenStack-operators@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > > > > >
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators