Ask Your Question

How to switch Cinder volumes between controllers?

asked 2014-07-24 01:43:01 -0600

Misak gravatar image

updated 2014-07-25 12:41:51 -0600

smaffulli gravatar image

Hello, what should I do if one of my OpenStack Controllers (each has cinder-api, cinder-scheduler, cinder-volume) dies. I cannot manage volumes, which was created by died controller. How can I switch ownership to another one?

edit retag flag offensive close merge delete


Same problem. Anyone help us?

Jakub gravatar imageJakub ( 2014-07-24 03:44:26 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-25 15:47:27 -0600

gabriel_staicu gravatar image


Here you have to take into consideration what storage backend you are using for the cinder volumes. If you are using as backend lvms on controllers it is normal that if one controller goes down you can not anymore use the volumes created on that controller. If you cannot bring up anymore the controller than you just delete the corresponding volumes records directly from the cinder database.

On the other hand, if you are using high available storage (like ceph or glusterfs) if a controller goes down the information from the volume (the block device) still exists but in the cinder database is still associated to the controller that went down. What you can do to manage the volume is to change the value of parameter host in the table volumes from the database cinder from the old controller to the new controller.


edit flag offensive delete link more


gabriel is right if you're using HA backend volumes you don't have this problem because in my case glusterfs will switch automatically from the failed node to an other (replicated volumes). So the the main point is you need to choose the correct storage backend.

foexle gravatar imagefoexle ( 2014-07-26 03:25:09 -0600 )edit

Hi, we are using IBM SVC driver. Have you tested that switching database parameter to different controller works? There are not other files at controller?

Jakub gravatar imageJakub ( 2014-07-27 03:41:55 -0600 )edit

Your Answer

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

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-24 01:43:01 -0600

Seen: 261 times

Last updated: Jul 25 '14