Ask Your Question
0

How to verify the successful swift backend configuration for glance [closed]

asked 2014-08-04 05:46:47 -0500

shanthakumar K gravatar image

Running in devstack.

I have configured swift as backend for glance store, is there a way to verify successfully glance images are getting uploaded in to swift containers.

I don't see any errors during the glance image upload but its not getting appeared in swift containers, so whats wrong in the configuration.

So in that case where it stores and how to verify the successful configuration of swift backend for glance

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-08-10 16:53:43.260746

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-08 12:41:45 -0500

mpetason gravatar image

This will depend on the configuration. If you are setting it up to upload per tenant then you will see each of these in the tenant list. If you are setting this up to use the service account then I believe the images will get saved to containers in the Services tenant.

You can view what is currently in swift with:

swift stat

If it returns no values then you need to change your openrc file to use one of the users in the Services tenant, then source it again and run:

swift stat

You should be able to see which configuration you are using in /etc/glance/glance-api.conf

If set to True enables multi-tenant storage mode which causes Glance images

to be stored in tenant specific Swift accounts.

#swift_store_multi_tenant = False

If that is False then it is probably storing it in the Services account using whichever login is specified in the configuration, usually glance.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-04 04:57:46 -0500

Seen: 213 times

Last updated: Aug 08 '14