Remove backend spec from share type while creating replica
If a share type includes the share_backend_name spec,
the scheduler may fail to schedule share replicas unless
all backends in a replication domain share the same
value for the capability "share_backend_name". Having
the same "share_backend_name" isn't desirable all the
time.
Ignore the share_backend_name spec from share type
while creating replica, so the scheduler will filter
a available backend according to the selection policy.
Change-Id: Ic8f7e6230298c222cc6cb5e4e4e8189524aaa81f
Closes-Bug: #1634734
(cherry picked from commit 700c1a02f0a357312df8f47932f83e86a3d2dc86)
(cherry picked from commit 19c4869a3f004e4ec699412c1831765b714aa93b)
Reviewed: https:/ /review. opendev. org/688171 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=e2fe03e2536 3a35bd07895505c 18d349e4a330e7
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit e2fe03e25363a35 bd07895505c18d3 49e4a330e7
Author: zengyingzhe <email address hidden>
Date: Fri Oct 28 15:26:22 2016 +0800
Remove backend spec from share type while creating replica
If a share type includes the share_backend_name spec, backend_ name". Having backend_ name" isn't desirable all the
the scheduler may fail to schedule share replicas unless
all backends in a replication domain share the same
value for the capability "share_
the same "share_
time.
Ignore the share_backend_name spec from share type
while creating replica, so the scheduler will filter
a available backend according to the selection policy.
Change-Id: Ic8f7e6230298c2 22cc6cb5e4e4e81 89524aaa81f 12df8f47932f83e 86a3d2dc86) ec699412c183176 5b714aa93b)
Closes-Bug: #1634734
(cherry picked from commit 700c1a02f0a3573
(cherry picked from commit 19c4869a3f004e4