Ask Your Question

Swfit configuration for glance

asked 2017-02-02 00:37:56 -0500

ankits gravatar image


I am facing issue with swift configuration on openstack glance. Can someone please share a working confugration.

edit retag flag offensive close merge delete


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 to False. gravatar ( 2017-03-18 12:20:19 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-02-02 07:28:55 -0500

dbaxps gravatar image
edit flag offensive delete link more

answered 2017-02-02 00:44:28 -0500

This is from devstack.


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


user_domain_id = default
project_domain_id = default
auth_version = 3
auth_address =
key = your-password
user = service:glance-swift
edit flag offensive delete link more


@Bernd Bausch Thanks for your reply.I am still facing issue.Making suggested changes is not helping here Would sharing config will help here.

ankits gravatar imageankits ( 2017-02-02 02:43:50 -0500 )edit

You could start by sharing the issue.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-02 03:01:36 -0500 )edit

@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.

ankits gravatar imageankits ( 2017-02-02 04:03:32 -0500 )edit

@Bernd Bausch openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | 94eed1b9-c532-4ac4-bd3b-d75a7557e297 | cirros | active | +----------------------------

ankits gravatar imageankits ( 2017-02-02 04:04:59 -0500 )edit

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.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-02 04:12:39 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-02-02 00:37:56 -0500

Seen: 293 times

Last updated: Feb 02 '17