diff --git a/manila/share/manager.py b/manila/share/manager.py index bae374356f..a7d6f648b2 100644 --- a/manila/share/manager.py +++ b/manila/share/manager.py @@ -2723,6 +2723,7 @@ class ShareManager(manager.SchedulerDependentManager): # We don't poll for replicas that are busy in some operation, # or if they are the 'active' instance. if (share_replica['status'] in constants.TRANSITIONAL_STATUSES + or share_replica['status'] == constants.STATUS_ERROR_DELETING or share_replica['replica_state'] == constants.REPLICA_STATE_ACTIVE): return diff --git a/releasenotes/notes/bug-2024556-skip-error-deleting-replicas-aa2ef4154d5e38f6.yaml b/releasenotes/notes/bug-2024556-skip-error-deleting-replicas-aa2ef4154d5e38f6.yaml new file mode 100644 index 0000000000..cddea08f5e --- /dev/null +++ b/releasenotes/notes/bug-2024556-skip-error-deleting-replicas-aa2ef4154d5e38f6.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Share replicas in state `error_deleting` are now skipped during periodic + updates. For more details, please refer to + `launchpad bug #2024556 `_