can't upgrade to using multi-backend on an existing setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
John Griffith | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you deploy Cinder as per the default using the docs, you can't later decide to add backends using the multi-backend functionality. The reason is that multi-backend is implemented by appending a backend-name to the host entry. So if you convert the config to multi-backend the hostname for any volumes that you have created are no longer associated with a valid volume-driver.
There are only two ways to address this currently:
1. Manually modify the host entry in the database for each of the volumes to point to the "new" backend host
2. Don't use multi-backend, but instead, deploy another Cinder node BUT in this case use multi-backend with a single enabled backend in the conf file.
We should probably change the docs and the default configuration of Cinder to setup using the multi-backend format, that way it's possible to add backends later without losing access to volumes. At the very least we should document very clearly in the docs that you need to consider this sort of thing when planning your deployment. Some prefer to actually scale out nodes, and in the case of multiple LVM's that's recommended anyway.
Changed in cinder: | |
milestone: | none → juno-1 |
Changed in cinder: | |
milestone: | juno-1 → juno-2 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-2 → 2014.2 |
With this link specifying the way multi-backends should be added http:// docs.openstack. org/admin- guide-cloud/ content/ multi_backend. html what more is expected out of this Bug ?
Thanks.