Ask Your Question

Want to move glance image service and its data to another host in Mitaka

asked 2016-12-22 07:07:22 -0500

AbuAyesha gravatar image

Hi All,

Please let me know the procedure to move glance from controller to another host without data (images, snapshots, database entries etc..) loss in mitaka version.

Appreciate your help.

edit retag flag offensive close merge delete


Moving the data depends on the store you configured.

Otherwise, at a high level you need to install programs and config files at the destination host and adapt the nova and cinder config and the service catalog. Not sure if other parts of OpenStack use Glance.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-19 09:53:27 -0500 )edit

Why does a December question suddenly pop up in March?

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-19 09:53:57 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-03-18 13:40:51 -0500

In your new node, install the desired OpenStack release with the suitable set of Glance configurations. You can then perform data migrations as described in: (

Also refer to ( if you intend to upgrade to a newer release.

Depending on the store you are using for Glance, you will have to make the image files available accordingly.

edit flag offensive delete link more

answered 2017-03-21 02:19:51 -0500

Vinoth gravatar image

1) Follow the glance installation steps in your new glance node starting from "Install and configure components" from the below link

2) Skip the DB / glance service creation part.

3) Create the new ENDPOINT for the glance service pointing to your new glance node IP / hostname.

4) Delete the old glance endpoint.

5) Run glance-manage db_sync

IMPORTANT: Always backup! Before migrating the glance service. Copy the glance dir manually from /var/lib/glance dir. In the worst case, we could upload a new image with the available disk in this directory. also Backup the glance DB.


Vinoth Kumar Selvaraj

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-22 07:07:22 -0500

Seen: 562 times

Last updated: Mar 21 '17