Fix migate_volume API with replication_status ‘not-capable’
When migrating a volume with replication_status = 'not-capable',
migrate_volume api will reject it because 'not-capable' isn't in
the replication_status expected list.
This patch fixes the issue by adding ‘not-capable’ to the expected
replication_status list.
Reviewed: https:/ /review. openstack. org/514988 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=6b5ff682fe4 5eda12da666ff26 126f573478b2f0
Committed: https:/
Submitter: Zuul
Branch: master
commit 6b5ff682fe45eda 12da666ff26126f 573478b2f0
Author: yixuanzhang <email address hidden>
Date: Wed Oct 25 17:25:51 2017 +0800
Fix migate_volume API with replication_status ‘not-capable’
When migrating a volume with replication_status = 'not-capable', _status list.
migrate_volume api will reject it because 'not-capable' isn't in
the replication_status expected list.
This patch fixes the issue by adding ‘not-capable’ to the expected
replication
Change-Id: I6bcdbd8343cca2 37c5f85077273a8 ea18c6f534d
Closes-Bug: #1727248