Comment 9 for bug 1561947

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

Guys, you can use swift store config file currently to get rid of this issue.
The problem you faced is just because keystone v3 is used but swift keystone creds were specified in glance-api.conf directly.
It is not recommended way to use swift driver. It is better to specify swift_store_config_file and default_swift_reference options where file contains swift user creds like:
[ref1]
auth_version = 3
project_domain_id = default
user_domain_id = default
auth_address = http://192.168.122.191:5000/v3
key = XXXXXXXXX
user = service:glance-swift
Please replace that ^ with your creds and everything should work fine.
This file allows to have several users working with swift so old images will be working if the new user will be created for swift-glance communication. Otherwise you will have big troubles when changing default user in swift driver.