Revision history [back]

swift_store_auth_address is the address of the authentication service used by Swift, which is Keystone in most cases. I agree that the documentation could be a bit clearer.

By the way, you should put your Swift configuration in a separate file and link to it from glance-api.conf. I have just deployed a Stein Devstack cloud and find the following in glance-api.conf:

[glance_store]
stores = file, http, swift
default_swift_reference = ref1
swift_store_config_file = /etc/glance/glance-swift-store.conf
swift_store_create_container_on_put = True
default_store = swift

and the following in glance-swift-store.conf:

[ref1]
user_domain_id = default
project_domain_id = default
auth_version = 3
auth_address = http://192.168.1.201/identity/v3
key = PASSWORD
user = service:glance-swift

swift_store_auth_address is the address of the authentication service used by Swift, which is Keystone in most cases. I agree that the documentation could be a bit clearer.

By the way, you should put your Swift configuration in a separate file and link to it from glance-api.conf. I have just deployed a Stein Devstack cloud and find the following in glance-api.conf:

[glance_store]
stores = file, http, swift
default_swift_reference = ref1
swift_store_config_file = /etc/glance/glance-swift-store.conf
swift_store_create_container_on_put = True
default_store = swift

and default_swift_reference refers to the following section in the glance-swift-store.conf: file:

[ref1]
user_domain_id = default
project_domain_id = default
auth_version = 3
auth_address = http://192.168.1.201/identity/v3
key = PASSWORD
user = service:glance-swift

auth_address is the Keystone endpoint. user is the project (service) and the user (glance-swift) of the Swift account used by Glance.

swift_store_auth_address is the address of the authentication service used by Swift, which is Keystone in most cases. I agree that the documentation could be a bit clearer.

By the way, you should put your Swift configuration in a separate file and link to it from glance-api.conf. I have just deployed a Stein Devstack cloud and find the following in glance-api.conf:

[glance_store]
stores = file, http, swift
default_swift_reference = ref1
swift_store_config_file = /etc/glance/glance-swift-store.conf
swift_store_create_container_on_put = True
default_store = swift

default_swift_reference refers to the section in the glance-swift-store.conf file:

[ref1]
user_domain_id = default
project_domain_id = default
auth_version = 3
auth_address = http://192.168.1.201/identity/v3
key = PASSWORD
user = service:glance-swift

auth_address is the Keystone endpoint. user is the project (service) and the user (glance-swift) of the Swift account used by Glance.Glance. key is the password of that user.