<HTML>
<HEAD>
<TITLE>Re: [Openstack] Uploading images to glance</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>U can check out the following:<BR>
<BR>
<a href="https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/helpers/glance.py#L292">https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/helpers/glance.py#L292</a><BR>
<BR>
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.<BR>
<BR>
On 5/25/12 10:13 AM, "Guilherme Birk" <<a href="guibirk@hotmail.com">guibirk@hotmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>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 ?       <BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>