[Openstack-operators] glance and swift

J.O'Loughlin at surrey.ac.uk J.O'Loughlin at surrey.ac.uk
Wed Oct 26 08:54:52 UTC 2011


Hi All,

Has anybody managed to configure glance to use swift?

I've created a glance account and user on swift and can upload files:

>swift list -A https://127.0.0.1:8080/auth/v1.0/ -U glance:glance -K glance glance_bucket

virtualization-2edition.pdf

Now, I'm truing to update glance config, /etc/glance/glance-api.conf

default_store = swift
swift_store_auth_address = https://131.227.75.25:8080/auth/
swift_store_user = glance
swift_store_key=glance
swift_store_container = glance_bucket

and restart glance, but when I upload images into nova they are ending up in local filesystem /var/lib/glance/images instead of in swift.

Any help appreciated.

Kind Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader


More information about the Openstack-operators mailing list