cinder-volume Active/Active HA support
Right now cinder-volume service can run only in Active/Passive HA fashion.
This is due to several reasons:
* Local file locks in manager that protect resources used for example for
creation of volumes from deleting.
* Local file locks in RemoteFS (and dependent) drivers. These locks are used
to block operations that cannot run concurrently (like taking a snapshot).
* Non-atomic state transitions in c-api that may cause race conditions.
This blueprint proposes a switch to use Tooz_ library for distributed locking.
Blueprint information
- Status:
- Complete
- Approver:
- Mike Perez
- Priority:
- Undefined
- Drafter:
- Michal Dulko
- Direction:
- Needs approval
- Assignee:
- Michal Dulko
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Michal Dulko
Related branches
Related bugs
Sprints
Whiteboard
This work is tracked in https:/
Gerrit topic: https:/
Addressed by: https:/
Replace locks in volume manager
Addressed by: https:/
Start/Stop coordinator with Services
Addressed by: https:/
Replace locks in remotefs backend driver
Addressed by: https:/
Remove API races from create_volume flow.
Gerrit topic: https:/