Manage and unmanage shares

Registered by Valeriy Ponomaryov on 2014-12-11

Manila does not have possibility to import/register already existing shares on storages to its DB.

We agreed that manage/unmanage functionality will be implemented initially only for driver_manage_share_servers=False driver's, because this is the easier case to implement.

Use cases:
1. As admin I want to add existing NAS to manila (as driver_manage_share_servers=False backend) and import existing shares to manila using "manila manage" command.
2. As admin I want to unmanage share from manila to perform some maintenance.

Blueprint information

Status:
Complete
Approver:
Ben Swartzlander
Priority:
Medium
Drafter:
Valeriy Ponomaryov
Direction:
Needs approval
Assignee:
Igor Malinovskiy
Definition:
Drafting
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Ben Swartzlander on 2015-01-22
Completed by
Ben Swartzlander on 2015-03-19

Related branches

Sprints

Whiteboard

Implementation diagrams (Igor Malinovskiy):
- share-mange https://docs.google.com/a/mirantis.com/drawings/d/1hkUMBWEjfTfI8EUpWXeZbgXbQrYyBy7FPU-WeIsn6VQ/edit

Gerrit topic: https://review.openstack.org/#q,topic:bp/manage-shares,n,z

Addressed by: https://review.openstack.org/144098
    Add service id to information provided by API

Addressed by: https://review.openstack.org/147495
    Add base manage/unmanage share functionality

Addressed by: https://review.openstack.org/163553
    Implement manage/unmanage support in generic driver

(?)

Work Items

Work items:
1) Add service id to information provided by API: DONE
2) implement share-manage[unmanage] API: INPROGRESS

This blueprint contains Public information 
Everyone can see this information.