glance and swift

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

glance and swift

J.O'Loughlin@surrey.ac.uk

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

Reply | Threaded
Open this post in threaded view
|

glance and swift

J.O'Loughlin@surrey.ac.uk

And this is the error message I'm seeing in the logs

ERROR [glance.store.swift] Could not find swift_store_auth_address in configuration options

Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader
________________________________________
From: openstack-operators-bounces at lists.openstack.org [openstack-operators-bounces at lists.openstack.org] On Behalf Of J.O'Loughlin at surrey.ac.uk [J.O'Loughlin at surrey.ac.uk]
Sent: 26 October 2011 09:54
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] glance and swift

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
_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators