cannot create access rule with non-active replica in error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
kiran pawar |
Bug Description
Hi,
in a replication setup - let's assume I have one active replica B in Availability Zone (AZ) B and one non-active replica A in AZ A - my non-active replica A is in error state.
The reasons for that may be various, especially it could be that I previously had the reverse situation (active in error, something went wrong on the source AZ A) and did a replica promote to get out of that. Now I want to add new access rules, e.g. I spun up new application servers in AZ B that now need to be able to access replica B.
But this fails with
'New access rules cannot be applied while the share or any of its replicas or migration copies lacks a valid host or is in an invalid state.'
Apparently all replicas in a replication setup need to be in a non-transitional, non-error state to add new access rules.
I believe this is for historic reasons from times before share replication was implemented - git blame shows this has been added 6 years ago https:/
Can this be adjusted?
Or is the way forward to delete the replica in error?
But since something is wrong on the backend of the replica in error, chances are high that it may not work. And force-delete is not my favourite: because either I don't allow my customers to force-delete anyhow, so they can't help themselves or it may leave orphans on the storage backend.
Thanks in advance for your thoughts,
Maurice
tags: | added: access-rules replication |
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
Changed in manila: | |
assignee: | Goutham Pacha Ravi (gouthamr) → nobody |
Changed in manila: | |
assignee: | nobody → kiran pawar (kpdev) |
Changed in manila: | |
importance: | Undecided → Medium |
milestone: | none → antelope-3 |
milestone: | antelope-3 → antelope-2 |
See additional related discussions at https:/ /meetings. opendev. org/meetings/ manila/ 2022/manila. 2022-03- 24-15.00. log.html