<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Firstly, make sure you’re using the latest glance client ( <a href="https://github.com/openstack/python-glanceclient">https://github.com/openstack/python-glanceclient</a> )<div>Also, make sure you’re an admin user</div><div><br><div><div>On May 20, 2014, at 2:55 PM, Scott Devoid <<a href="mailto:devoid@anl.gov">devoid@anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Abel, Warren,</div><div><br></div>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 snapshot instance_uuid).<div>

<br></div><div>I am hoping that I'm being dumb or this is a lack of documentation issue.</div><div><br></div><div>~ Scott</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 20, 2014 at 4:49 PM, Warren Wang <span dir="ltr"><<a href="mailto:warren@wangspeed.com" target="_blank">warren@wangspeed.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<br>



<br>Warren<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div>Warren</div>
<br><br></font></span><div class="gmail_quote"><div><div class="h5">On Tue, May 20, 2014 at 5:41 PM, Scott Devoid <span dir="ltr"><<a href="mailto:devoid@anl.gov" target="_blank">devoid@anl.gov</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr">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.<div><br></div><div>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 instance.</div>





<div><br></div><div>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. [1]</div>





<div><br></div><div>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. [2]</div>





<div><br></div><div>Thank you in advance for the help,</div><div>~ Scott</div><div><br></div><div>[1] <a href="http://developer.openstack.org/api-ref-identity-v2.html" target="_blank">http://developer.openstack.org/api-ref-identity-v2.html</a></div>





<div>[2] <a href="https://bugs.launchpad.net/glance/+bug/942118" target="_blank">https://bugs.launchpad.net/glance/+bug/942118</a></div><div><br></div><div><br></div></div>
<br></div></div><div class="">_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>
_______________________________________________<br>OpenStack-operators mailing list<br><a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br></blockquote></div><br></div></body></html>