Support for locking and unlocking shares
This specification concerns a feature discussed at the 2023.2 Bobcat PTG.
We need a mechanism in Manila to allow locking a share from deletion. Such a locking mechanism will be used by nova when mounting Manila shares to expose to guests via VirtIOFS. Without a lock, shares can be deleted while they are mounted. Deleting a mounted share that's hard mounted on a nova virtual machine host will likely bring down the host.
Blueprint information
- Status:
- Not started
- Approver:
- Carlos Eduardo
- Priority:
- Undefined
- Drafter:
- Goutham Pacha Ravi
- Direction:
- Needs approval
- Assignee:
- Goutham Pacha Ravi
- Definition:
- Approved
- Series goal:
- Accepted for bobcat
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Addressed by: https:/
Allow locking shares against deletion
Gerrit topic: https:/
Addressed by: https:/
Allow restricting access rules fields and deletion
Addressed by: https:/
Resource Locks: Support for share deletion lock
Addressed by: https:/
Test resource locks
Addressed by: https:/
Add access rules restriction tests
Addressed by: https:/
TrivialFix: Don't warn on legitimate all_projects usage