Comment 12 for bug 1536248

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

Reviewed: https://review.openstack.org/283085
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f5ec1be2d8bdecb0b94bfb298b03bb1e49ee8cc4
Submitter: Jenkins
Branch: stable/liberty

commit f5ec1be2d8bdecb0b94bfb298b03bb1e49ee8cc4
Author: Mitsuhiro Tanino <email address hidden>
Date: Fri Jan 22 11:31:25 2016 -0500

    [LVM] Restore target config during ensure_export

    If server crash or reboot happened, LIO target configuration
    will be initialized after boot up a server. Currently, Cinder
    has a functionality to save LIO target configuration to save
    file at several checkpoint.

    If LIO target service is configured properly, LIO target
    configuration is restored by this service during boot up
    a server, but if not, existing in-use volumes would become
    inconsistent status after c-vol service starts.

    If there is no iSCSI target configuration during
    ensure_export, LIO dirver should restore the saved
    configuration file to avoid the problem.

    Closes-Bug: #1536248
    Change-Id: I74d300ba26a08b6f423f5ed3e13495b73cfbbd52
    (cherry picked from commit 5cec4056eb061004b400c1dc5b946bf890b4bab0)