[Openstack-operators] Does anyone copy images between multiple glance instances?
devoid at anl.gov
Tue May 20 21:55:16 UTC 2014
Thanks for the quick replies! We are ok with running a script to copy
images from one glance to another. Eventual consistency is ok and we only
need this to run until we can shutdown the Essex era glance. But the
problem I have is that the glance-client doesn't give me full visibility
into an image's attributes, or the API won't let me set attributes (like
I am hoping that I'm being dumb or this is a lack of documentation issue.
On Tue, May 20, 2014 at 4:49 PM, Warren Wang <warren at wangspeed.com> wrote:
> I think what you ultimately want is a unified glance infrastructure, and
> we're in the same boat. Currently, I don't know of a good way to do this
> without taxing the network links, or slowing down the snapshots
> drastically. For now, we have settled on manually syncing the base
> instances from one region to the others.
> On Tue, May 20, 2014 at 5:41 PM, Scott Devoid <devoid at anl.gov> wrote:
>> We have two glance instances in separate deployments (an essex deployment
>> and a havana deployment) and we would like to synchronize images between
>> the two.
>> Uploading the raw image data works fine with either the command line or
>> the API, but making the metadata consistent is quite difficult. In the
>> essex API I can't even find container_format or disk_format reported in the
>> I also can't find a way with the client to affix the snapshot metadata on
>> the Havana side other than through a direct HTTP PATCH request, and it is
>> not very clear what headers that request is expecting. 
>> Another thought I had, since both instances of glance are using the
>> Filesystem store (w/ separate NFS deployments) was to simply use the
>> existing NFS in essex and inform the havana glance about the existence of
>> an image through the --location tag. However this is intentionally blocked.
>> Thank you in advance for the help,
>> ~ Scott
>>  http://developer.openstack.org/api-ref-identity-v2.html
>>  https://bugs.launchpad.net/glance/+bug/942118
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-operators