Ask Your Question

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

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

deepakcs gravatar image

Per ( 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 ( : --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

Get to know Ask OpenStack

Resources for moderators

Question Tools



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

Seen: 835 times

Last updated: Dec 19 '14