openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11140
Re: [Glance] Replication implementations
I think the path forward is first to gather information on what people are already doing w.r.t. replication, which you have helped trigger with this email. I'm definitely interested in seeing your solution. Once we get this information out in the open, we need to explore these existing solutions can be included with Glance. I'd prefer to go with an external tool that handles replication rather than baking it directly into the code right now, but if the work has already been done, I'm more than happy to consider it.
Brian
On May 2, 2012, at 8:24 PM, Michael Still wrote:
> Hi.
>
> I'd be interested in hearing from people who have implemented some form
> of replication with glance. I'm especially interested in how you went
> about it. I attended the session at the dev summit, but that was forward
> looking, and I am pretty sure that there wasn't any mention of current
> implementations.
>
> I'll get the ball rolling -- I have just implemented API level
> replication for glance for an internal project. It uses the glance API
> to replicate images from a master glance to slave glances. Its not very
> smart at the moment, it just copies everything.
>
> Current warts:
> - no support for metadata update
> - no support for filtering of what is replicated
> - maintaining amazon ec2 ids across regions requires twiddling the nova
> database where this mapping is stored
>
> Advantages of this approach:
> - API level replication means that I can run different versions of
> glance at each end of the replication relationship
> - it really wasn't that hard to do
>
> Would other people be interested in getting this code into glance,
> probably as a stand alone command line tool? Or has someone done
> something much better that I should be using instead?
>
> Cheers,
> Mikal
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Follow ups
References