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.
Reviewed: https:/ /review. openstack. org/62018 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=6ccc654a050 9c4e308713f9e6f d95266cd112c9d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6ccc654a0509c4e 308713f9e6fd952 66cd112c9d
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: I7cb187746c1ac2 97b82254c6efa37 ba1c5fbb3e1