Swfit configuration for glance
Hi,
I am facing issue with swift configuration on openstack glance. Can someone please share a working confugration.
First time here? Check out the FAQ!
Hi,
I am facing issue with swift configuration on openstack glance. Can someone please share a working confugration.
This is from devstack.
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
glance-swift-store.conf:
[ref1]
user_domain_id = default
project_domain_id = default
auth_version = 3
auth_address = http://192.168.5.10/identity/v3
key = your-password
user = service:glance-swift
@Bernd Bausch Thanks for your reply.I am still facing issue.Making suggested changes is not helping here Would sharing config will help here.
@Bernd Bausch Thanks for your reply. I have a openstack setup with swift as object store. I have created a image also via glance. But on the openstack dash board the created image is not showing. I believe that the configurations are correct.
@Bernd Bausch openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | 94eed1b9-c532-4ac4-bd3b-d75a7557e297 | cirros | active | +----------------------------
Well, you can upload and list the image, so there is no problem with Glance. Perhaps you have selected a different project in the dashboard, and the image is not public.
Asked: 2017-02-02 00:37:56 -0600
Seen: 167 times
Last updated: Feb 02 '17
Are you using Swift in single-tenant mode or multi-tenant mode for Glance? i.e., Please ensure that if you are following the suggestion from the first answer, the config option
swift_store_multi_tenant
is set toFalse
.