skip periodic update on replicas in 'error_deleting'
Change-Id: I737dbc5138c81e6708b9ebae7e7c11622e124a3d Closes-Bug: #2024578 (cherry picked from commitca90c87c47
) (cherry picked from commit9338a3afec
) (cherry picked from commitc14f4f0940
)
This commit is contained in:
parent
3ba4d99288
commit
4597939d9e
@ -2668,6 +2668,7 @@ class ShareManager(manager.SchedulerDependentManager):
|
|||||||
# We don't poll for replicas that are busy in some operation,
|
# We don't poll for replicas that are busy in some operation,
|
||||||
# or if they are the 'active' instance.
|
# or if they are the 'active' instance.
|
||||||
if (share_replica['status'] in constants.TRANSITIONAL_STATUSES
|
if (share_replica['status'] in constants.TRANSITIONAL_STATUSES
|
||||||
|
or share_replica['status'] == constants.STATUS_ERROR_DELETING
|
||||||
or share_replica['replica_state'] ==
|
or share_replica['replica_state'] ==
|
||||||
constants.REPLICA_STATE_ACTIVE):
|
constants.REPLICA_STATE_ACTIVE):
|
||||||
return
|
return
|
||||||
|
@ -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 <https://bugs.launchpad.net/manila/+bug/2024556>`_
|
Loading…
Reference in New Issue
Block a user