How do i setup s3 for glance
Hello,
currently i'm using Openstack Ocata with glance version 2.6.0 - manuel installation
I want to configure glance-api.conf to upload the images to aws s3. For this i have searched for integration guides, found some example configuration like this: https://ask.openstack.org/en/question/17985/glance-with-s3-backend-store/ (https://ask.openstack.org/en/question...)
But in my glance-api.conf there is no s3 resource, i have try to configure it:
[glance_store]
stores = http,s3
default_store = s3
s3_store_host = http://s3.amazonaws.com
s3_store_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxx
s3_store_secret_key = xxxxxxxxxxxxxxxxxxxxxxxxxx
s3_store_bucket = image.xxx
s3_store_create_bucket_on_put = False
But when i try to upload an image i got followin message from glance api log:
ERROR glance ConfigFileValueError: Value for option default_store is not valid: Valid values are [file, filesystem, http, https, swift, swift+http, swift+https, swift+config, rbd, sheepdog, cinder, vsphere], but found 's3'
So s3 is not a valid default_store option, in Red_Hat_Enterprise_Linux_OpenStack_Platform it is possible to configure it that way: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Configuration_Reference_Guide/section_image-service-sample-configuration-files.html (https://access.redhat.com/documentati...)
How do i setup default_Store = s3 in Glance - vanilla opentsack installation?
I'm a beginner if you can give me a step by step or lead me to helpful documentation it would be great. I have searched through a lot of documentation, but i think, i'm missing some ground knowledge to solve this issue.
best regards david