Ask Your Question
1

Ability to download volume snapshot in openstack havana

asked 2014-08-27 09:23:03 -0500

vinod borole gravatar image

updated 2014-08-28 01:46:38 -0500

We have a use case to download the volume snapshot and we are using openstack havana version. We can see only nova commands to create the image/server snapshot and glance commands to download the Image/server snapshot. however, we do not see anything similar in Cinder that gives the ability to download the volume snapshot?

Are there any plans to support volume snapshot download in cinder?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-08-27 12:43:10 -0500

mpetason gravatar image

When you create a snapshot it is created by cinder and then uploaded to glance. You can download the snapshot from glance with the glance based commands:

http://docs.openstack.org/user-guide/...

The command you are looking for is image download:

image-download Download a specific image.

Usage:

glance image-download --file snapshot.raw f30b204e-1ce6-40e7-b8d9-b353d4d84e7d

More helpful information about how to get the UUID and download:

http://docs.openstack.org/user-guide/...

edit flag offensive delete link more

Comments

Thank you for a quick response. i am afraid this answers my questions, may be i had to phrase it a little differently (I have edited my question).

Well, I wish to download a volume not just a glance image

vinod borole gravatar imagevinod borole ( 2014-08-28 01:39:28 -0500 )edit
1

Vinode or mpetason,

I am also looking to do the same. I have created a snapshot of a Volume, and I wish to download the snapshot and upload it to another region. Have you guys found a way to do that or is there another way to transfer 'snapshots of a volume' between regions.

Thanks, Murtaza

murtaza gravatar imagemurtaza ( 2014-12-16 18:39:16 -0500 )edit

Agree that the solution provided doesn't seem to work (using Juno). I can get a list of volume snapshots using nova volume-snapshot-list. However, those don't appear in the output of glance image-list and glance image-download with either the snapshot's name or UUID fails.

sxc731 gravatar imagesxc731 ( 2016-01-03 10:46:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-27 09:23:03 -0500

Seen: 4,229 times

Last updated: Aug 28 '14