NEC Storage does not support storage assisted migration and retype
against in-use volumes. In that cases, migrate_volume() and
retype() in NEC driver should return False to try host-assisted
migration or retype. However, the driver currently raises an
exception and the operation fails.
This patch fixes migrate_volume() and retype() to return False without
raising an exception.
Reviewed: https:/ /review. opendev. org/689383 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=8cc095d1d05 9fbb4db35c4ef7b 2fac82260dd930
Committed: https:/
Submitter: Zuul
Branch: master
commit 8cc095d1d059fbb 4db35c4ef7b2fac 82260dd930
Author: Naoki Saito <email address hidden>
Date: Fri Oct 18 18:42:34 2019 +0900
NEC driver: fix migrate/retype an in-use volume
NEC Storage does not support storage assisted migration and retype
against in-use volumes. In that cases, migrate_volume() and
retype() in NEC driver should return False to try host-assisted
migration or retype. However, the driver currently raises an
exception and the operation fails.
This patch fixes migrate_volume() and retype() to return False without
raising an exception.
Change-Id: I9ceadc200e4012 6cf121d74d3996e 511ba3f66df
Closes-Bug: #1848689