Transfers a share from one user to another user.

Registered by haixin

A share can be transfer created by project A. and transfer accepted by project B.
There are two scenarios, the first is DHSS=Fase, the second is DHSS=True.
In the first scenario, we just support transfer share without share network, The object of the transfer is Share
In the second scenario, we need to transfer share netwrok with all shares with it, The object of the transfer is Share Network.
In the first step, we implement only the first scenario, and then we implement the second scenario.

In both scenarios, the restrictions are as follows:
* share or share snapshot not in available status, can not transfer create.
* the share in share_group do not support transfer.
* Transfer accept failed due to insufficient remaining quota of target project
* "transfer-accept" need to call driver complete project_id change, such as CephFS driver stores the project_id as metadata.
* When receiving a transfer, users can choose whether to clear the share access rule. By default, the share access rule is not cleared

Blueprint information

Status:
Not started
Approver:
Goutham Pacha Ravi
Priority:
Medium
Drafter:
haixin
Direction:
Approved
Assignee:
haixin
Definition:
Drafting
Series goal:
Accepted for yoga
Implementation:
Unknown
Milestone target:
milestone icon zed-rc1

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/transfer-share-between-project

Addressed by: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/858351
    API 2.74. Add tests for share transfer.

Addressed by: https://review.opendev.org/c/openstack/manila/+/843832
    Update micversion to 2.75, support share transfer between project

Addressed by: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/895977
    [DNM] Triage cleanup failure with share transfer test

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.