[Openstack] Uploading images to glance

Joshua Harlow harlowja at yahoo-inc.com
Fri May 25 18:12:34 UTC 2012


U can check out the following:

https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/helpers/glance.py#L292

It should be pretty easy to follow, it uses the glance and keystone python clients to upload, given an archive it will try to find the kernel//root/ramdisk images and then upload them with the corresponding metadata and so on... Should be relatively easy to follow.

On 5/25/12 10:13 AM, "Guilherme Birk" <guibirk at hotmail.com> wrote:

I'm using cloud-publish to upload images to glance. All my infraestructure is working fine using essex. Now I'm creating a small API using Python and I don't know how to upload an image with a kernel file and a ram-disk file using cURL. I just found a command to upload a single file at the Glance API documentation. Any suggestion of how can I do this upload ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120525/3e5fb735/attachment.html>


More information about the Openstack mailing list