reset replica state not forbidden for active replica
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi,
what happened:
I had a share in a replication setup, A was my active replica (replica_state 'active'), B was my non-active replica (replica_state 'error', but the exact state doesn't matter).
I triggered 'manila share-replica-
I ended up in a situation with no active replica left.
I expected some server side validation preventing me to do such a stupid thing ;)
Can a respective safeguard be implemented?
Thanks,
Maurice
P.S.:
The out_of_sync replica A went into replica_state error later during periodic replica update.
Another user deleted (with force option?) the replica A in error as part of a cleanup.
Ooops -> my share was gone, data lost.
Changed in manila: | |
importance: | Undecided → Low |
Changed in manila: | |
status: | New → Incomplete |
tags: | added: low-hanging-fruit |
Changed in manila: | |
status: | Incomplete → New |
importance: | Low → Medium |
Changed in manila: | |
status: | New → Triaged |
See additional related discussions at https:/ /meetings. opendev. org/meetings/ manila/ 2023/manila. 2023-04- 06-15.00. log.htm