Ask Your Question
3

Can glance move images between storage backends?

asked 2014-12-19 11:03:13 -0500

jproulx gravatar image

I want to finally kill of my old "file" back end and move all the images that are still lingering there into RBD (currently our default store), can glance do this?

I can script something up to crawl the images directory, push the bits into ceph, and then 'glance image-update --location' but if glance can also move the bits that would be nice.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-28 23:15:09 -0500

deepakcs gravatar image

Per http://ceph.com/docs/next/rbd/rbd-openstack/#configuring-glance (http://ceph.com/docs/next/rbd/rbd-ope...) it says Glance can use multiple backends, so can't you could have file and RBD as 2 backends, with rbd being the default backend ?

Then, glance image-update --copy-from <image_url> works ?

Per http://docs.openstack.org/cli-reference/content/glanceclient_commands.html (http://docs.openstack.org/cli-referen...) : --copy-from Similar to '--location' in usage, but this indicates that the Glance server should immediately copy the data and store it in its configured image store.

Disclaimer: I am just helping off looking at the CLI help, not a glance expert myself :)

edit flag offensive delete link more

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

2 followers

Stats

Asked: 2014-12-19 11:03:13 -0500

Seen: 659 times

Last updated: Dec 19 '14