Comment 2 for bug 1848689

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/689383
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=8cc095d1d059fbb4db35c4ef7b2fac82260dd930
Submitter: Zuul
Branch: master

commit 8cc095d1d059fbb4db35c4ef7b2fac82260dd930
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: I9ceadc200e40126cf121d74d3996e511ba3f66df
    Closes-Bug: #1848689