Ask Your Question
0

Swfit configuration for glance

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

ankits gravatar image

Hi,

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

edit retag flag offensive close merge delete

Comments

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.

dharinin.ca gravatar imagedharinin.ca ( 2017-03-18 12:20:19 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

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

dbaxps gravatar image
edit flag offensive delete link more
0

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

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
edit flag offensive delete link more

Comments

@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 -0600 )edit

You could start by sharing the issue.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-02 03:01:36 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 167 times

Last updated: Feb 02 '17