Transfers a share from one user to another user.
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:
- zed-rc1
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
API 2.74. Add tests for share transfer.
Addressed by: https:/
Update micversion to 2.75, support share transfer between project
Addressed by: https:/
[DNM] Triage cleanup failure with share transfer test