Comment 2 for bug 1260773

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

Reviewed: https://review.openstack.org/62018
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=6ccc654a0509c4e308713f9e6fd95266cd112c9d
Submitter: Jenkins
Branch: master

commit 6ccc654a0509c4e308713f9e6fd95266cd112c9d
Author: Eric Harney <email address hidden>
Date: Fri Dec 13 10:39:09 2013 -0500

    LVM: Activate Thin Pool LV upon initialization

    If the LVM thin pool is not active, space calculation fails,
    as data_percent is not known. Activate the pool upon initialization,
    since we intend to use it anyway.

    Slightly refactors _get_thin_pool_free_space so that it is clear
    which missing/unexpected value is breaking things if a similar error
    occurs for some other reason.

    Closes-Bug: #1260773

    Change-Id: I7cb187746c1ac297b82254c6efa37ba1c5fbb3e1