early return for _share_replica_update() if there is no active replica
If the parent share of the replica has no active replica,
this is an error situation where _share_replica_update() simply
returns and logs a warning if the replica being acted on has not
been already in error state itself before.
Change-Id: I9bdbbaafba413fa4b2a783130fd58a4b6c2cea4b
Partial-Bug: #1924230
(cherry picked from commit 7b7d18e14243c82c20b49f134a5a007f5f21fcdd)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/821753 /opendev. org/openstack/ manila/ commit/ 31f7c97205bb6a4 08a5c2fe5607c0e 6e1d115ea1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 31f7c97205bb6a4 08a5c2fe5607c0e 6e1d115ea1
Author: Maurice Escher <email address hidden>
Date: Fri Apr 16 15:26:20 2021 +0200
early return for _share_ replica_ update( ) if there is no active replica
If the parent share of the replica has no active replica, replica_ update( ) simply
this is an error situation where _share_
returns and logs a warning if the replica being acted on has not
been already in error state itself before.
Change-Id: I9bdbbaafba413f a4b2a783130fd58 a4b6c2cea4b c20b49f134a5a00 7f5f21fcdd)
Partial-Bug: #1924230
(cherry picked from commit 7b7d18e14243c82