Created
February 23, 2017 04:54
-
-
Save raddaoui/ac2e436c8a2fb02a5a5a01fc5db64144 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I putted below an example of how you can configure glance to store in swift | |
In glance-api.conf (usually you will find it /etc/glance/glance-api.conf where you installed glance) | |
[glance_store] | |
default_store = swift | |
stores = swift,http,cinder | |
swift_store_config_file = /etc/glance/glance-swift-store.conf | |
default_swift_reference = swift1 | |
swift_store_auth_insecure = False | |
swift_store_region = RegionOne | |
swift_store_container = glance_images | |
swift_store_create_container_on_put = True | |
swift_store_large_object_size = 5120 | |
swift_store_large_object_chunk_size = 200 | |
swift_store_retry_get_count = 5 | |
swift_store_endpoint_type = internalURL | |
then your /etc/glance/glance-swift-store.conf should look like this | |
[swift1] | |
user = service:glance | |
key = ed9e886d9333bb99 <------- put here your glance service password | |
user_domain_id = default | |
project_domain_id = default | |
auth_version = 3 | |
auth_address = http://172.22.12.44:5000/v3 <-------- put here you keystone endpoint | |
by the way, the key is glance user password, no service password if I do not misunderstand.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! but the configuration still doesn't work.my openstack is Mitaka!