Comment 4 for bug 1848689

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

Reviewed: https://review.opendev.org/708540
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d08d32914d8a2cfa3cf1d941ecf547ef1ace9875
Submitter: Zuul
Branch: stable/train

commit d08d32914d8a2cfa3cf1d941ecf547ef1ace9875
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
    (cherry picked from commit 8cc095d1d059fbb4db35c4ef7b2fac82260dd930)