<html><head></head><body>Hi,<br>
<br>
just create an empty image (Without file or location param), then use add-location to set your locations.<br>
<br>
 Fabian Zimmermann<br>
<br><br><div class="gmail_quote">Am 19. April 2018 06:15:33 MESZ schrieb Cory Hawkless <Cory@Hawkless.id.au>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Looking for some help with defining glance images. I'm running a new Queens installation and do not have the V1 API enabled in Glance.<br><br>So the Glance V1 API has been deprecated for some time now (I believe) and best I can tell there is no support in the V2 API for defining an existing image into glance.<br>I.E, I have some volumes in my Ceph pool that I'd like to expose to Glance, but the old method of using "glance image-create --disk-format raw --id $IMAGE_ID  --location rbd://$CLUSTER_ID/$POOL/$IMAGE_ID/snap" no longer works because this is a V1 command with the V2 API having no support for the --location flag.<br><br>I'm primarily dealing with large(ish) windows images around 100GB mark, so exporting them to a file then importing them using the --file command is very sub optimal.<br><br>Without an outright database hack, is there any way to define an existing Ceph based volume to be used by Glance?<br>If there is not a way to do this then can I safely enable the V1 API in Queens? How long until V1 support is removed and I'm back to square 1<br><br>Thanks in advance<br>Cory<br><br><hr><br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>Post to     : openstack@lists.openstack.org<br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br></pre></blockquote></div></body></html>