Ask Your Question

Glance in Multidatacenter

asked 2011-10-15 02:35:40 -0500

nati-ueno gravatar image

How can I sync image data on multi-datacenter environment on Glance? Is there way to do this in dialo release?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-10-15 12:28:29 -0500

jaypipes gravatar image

Hi Nati-san!

OK, so doing cross-datacenter sync'ing is not currently fully supported in Glance. However, we are adding functionality in the Essex timeframe that should be able to fulfill this functionality. It will depend partly on the underlying storage system that Glance is using. If you use Swift, you can do cross-container sync'ing using the methods described here:

After that is set up, then objects that are added to Glance using a Swift backend, will sync to containers located in separate clusters. But the Glance Registry will still only have a single URI location for the image file, and will not be able to tell a client if there are alternate locations to retrieve the image (from the sync'd Swift containers).

The following blueprint in Glance is designed to overcome this problem, by having the registry server supply a /images/<id>/replicas resource that can return those alternate storage locations:

We hope to get this blueprint completed around the E3 milestone or earlier.

Cheers! -jay

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-10-15 02:35:40 -0500

Seen: 169 times

Last updated: Oct 15 '11