← Back to team overview

openstack team mailing list archive

Re: Download a specific image from Glance to local hard drive

 

Those are your complete/actual image files. They are named by the
UUIDs they use. You can copy these and rename to appropriate name with
the suitable extension, .img or .qcow2 etc depending on what format
they actually are.

Regards,
Balu

On Thu, Jun 20, 2013 at 5:17 PM, Narayanan, Krishnaprasad
<narayana@xxxxxxxxxxxx> wrote:
> Hi,
>
> If I get it correctly, the folder /var/lib/glance/images has only the UUID inside it. Where will I able to see the complete image (.img or .tar.gz)?
>
> Thanks
> Krishnaprasad
>
> -----Original Message-----
> From: Sylvain Bauza [mailto:sylvain.bauza@xxxxxxxxxxxx]
> Sent: Donnerstag, 20. Juni 2013 12:53
> To: Michael Still
> Cc: Narayanan, Krishnaprasad; openstack@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openstack] Download a specific image from Glance to local hard drive
>
> Hi,
>
> While I was working on Essex, I was simply looking at the image UUID and copying it from /var/lib/glance/images, that's it.
>
> I was not aware of glance image-download, which is great (same command for all Glance backends).
>
> -Sylvain
>
> Le 20/06/2013 11:53, Michael Still a écrit :
>> I'm not sure. Essex is very old now. Try running "glance help" and see
>> what happens?
>>
>> Michael
>>
>> On Thu, Jun 20, 2013 at 7:49 PM, Narayanan, Krishnaprasad
>> <narayana@xxxxxxxxxxxx> wrote:
>>> Hi Michael,
>>>
>>> Is this command valid in OpenStack ESSEX?
>>>
>>> Thanks
>>> Krishnaprasad
>>>
>>> -----Original Message-----
>>> From: mikalstill@xxxxxxxxx [mailto:mikalstill@xxxxxxxxx] On Behalf Of
>>> Michael Still
>>> Sent: Donnerstag, 20. Juni 2013 11:46
>>> To: Narayanan, Krishnaprasad
>>> Cc: openstack@xxxxxxxxxxxxxxxxxxx
>>> Subject: Re: [Openstack] Download a specific image from Glance to
>>> local hard drive
>>>
>>> On Thu, Jun 20, 2013 at 7:33 PM, Narayanan, Krishnaprasad <narayana@xxxxxxxxxxxx> wrote:
>>>> Hallo All,
>>>>
>>>> I am using OpenStack ESSEX and want to download an image from glance
>>>> to my local hard drive. Can I get to know any commands in glance (in
>>>> ESSEX) using which I can perform this operation?
>>> Take a look at the image-download command to the glance command line client.
>>>
>>> Cheers,
>>> Michael
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References