- Who we are
- What we know
- What we've created
- Hints and Kinks
- Checking Corosync cluster membership
- Configuring radosgw to behave like Amazon S3
- Downgrading to DRBD 8.3
- Fencing in Libvirt/KVM virtualized cluster nodes
- Fencing in VMware virtualized Pacemaker nodes
- GFS2 in Pacemaker (Debian/Ubuntu)
- Interleaving in Pacemaker clones
- Maintenance in active Pacemaker clusters
- Managing cron jobs with Pacemaker
- Mandatory and advisory ordering in Pacemaker
- Migrating virtual machines from block-based storage to RADOS/Ceph
- Network connectivity check in Pacemaker
- OCFS2 in Pacemaker (Debian/Ubuntu)
- Solid-state drives and Ceph OSD journals
- Solve a DRBD split-brain in 4 steps
- Testing Pacemaker clusters
- Totem "Retransmit List" in Corosync
- Turning Ceph RBD Images into SAN Storage Devices
- Which OSD stores a specific RADOS object?
- Presentations
- Ceph Tutorial (LCA 2013)
- Ceph: The Storage Stack for OpenStack (OpenStack Israel 2013)
- Die eigene Cloud mit OpenStack Essex (German, LinuxTag 2012)
- Fencing (LCE 2011)
- GlusterFS in HA Clusters (LCEU 2012)
- GlusterFS und Ceph (German, CeBIT 2012)
- Hands-On With Ceph (LCEU 2012)
- High Availability Update (OpenStack Summit Fall 2012)
- High Availability in OpenStack (CloudOpen 2012)
- High Availability in OpenStack (OpenStack Conference Spring 2012)
- Highly Available Cloud: Pacemaker integration with OpenStack (OSCON 2012)
- Mit OpenStack zur eigenen Cloud (German, CLT 2012)
- Mit OpenStack zur eigenen Cloud (German, OSDC 2012)
- More Reliable, More Resilient, More Redundant (OpenStack Summit April 2013)
- MySQL HA Deep Dive (MySQL Conference 2012)
- MySQL High Availability Deep Dive (PLUK 2012)
- MySQL High Availability Sprint (PLUK 2011)
- OpenStack Essex im Praxistest (German, Linuxwochen Wien 2012)
- OpenStack High Availability Update (Grizzly and Havana)
- Roll Your Own Cloud (LCA 2011)
- Storage Replication in HPHA (LCA 2012)
- Zen of Pacemaker (LCA 2012)
- hastexo in 100 Seconds
- Technical documentation
- News releases
- Hints and Kinks
- What we do
- What we charge
- What others say
Disclaimer
Please note: this information is provided on an as-is basis, without warranty of any kind, to the extent permitted by applicable law. Use at your own discretion.
Home › Installing OpenStack Essex (2012.1) on Ubuntu 12.04 ("Precise Pangolin") › Appendix C: Setting up the OpenStack ObjectStore (Swift) ›
Integrating OpenStack ImageService (Glance) with Swift
Submitted by martin on Mon, 2012-05-28 19:45
Setting up Swift is fun, but integrating it with Glance gives it an actual task within the OpenStack virtualization environment. So here's how to do it!
Please note: To make this work, you will at least need version 2012.1-0ubuntu2 of the glance package as there is a bug in previous versions that keeps Glance from cooperating properly with Swift.
To integrate Glance with Swift, the first thing to do is to find out the actual credentials that Glance has to use to connect with Swift. If you followed this howto, the Glance username will be glance and the password will be hastexo.
Open /etc/glance/glance-api.conf in a browser and change the value of default_store = to swift. Scroll down to the line starting with swift_store_auth_address and put in the address of the machine running swift-proxy. In this example, the correct entry would be
swift_store_auth_address = http://10.42.0.66:5000/v2.0/
Afterwards, change the value of swift_store_auth_version = to 2, the value of swift_store_user = to service:glance (or the name of the user you used if you used a different one than in this example), the value of swift_store_key = to hastexo (or your local custom password) and the value of swift_store_container to glance. Finally, also make sure that swift_store_create_container_on_put = is set to True. Save the file and restart glance-api:
service glance-api restart
That's it - your Glance will now store its images in Swift! To test this, add an image as described in step 2 of this howto to the Glance image store. If that operation succeedes, your Glance Swift integration is working properly.

Comments
Glance Auth address