Add volume type support
Add multiple backend support to Manila. User will be able to list enabled share services and info about them - host on which share service is running, backend name, service status (UP or DOWN). Using this data user will be able to define 'types' (volume types), which is an abstraction over backend name. User will specify volume type on share creation, and this way will be able to choose particular backend (or share service) for a share.
Blueprint information
- Status:
- Complete
- Approver:
- Ben Swartzlander
- Priority:
- High
- Drafter:
- Aleksandr Chirko
- Direction:
- Approved
- Assignee:
- Aleksandr Chirko
- Definition:
- Discussion
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- juno-1
- Started by
- Aleksandr Chirko
- Completed by
- Ben Swartzlander
Related branches
Related bugs
Sprints
Whiteboard
Implementation outline
https:/
(bswartz) I would like to see a little more detail here but the general direction is approved. When in doubt I would like to follow the cinder implementation as closely as possible. Where not possible we should bring up the issues for discussion with the core team.
Gerrit topic: https:/
Addressed by: https:/
Added API to manage volume types
Addressed by: https:/
Retrieve share_backend name from config on get_share_stats
Addressed by: https:/
Added volume_types to DB
(vponomaryov): main volume-type functionality is implemented. Need to update BP as "complited."