]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
improves lvm version parsing for customised builds
authorGiulio Fidente <gfidente@redhat.com>
Thu, 10 Oct 2013 12:59:44 +0000 (14:59 +0200)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 10 Oct 2013 17:12:00 +0000 (11:12 -0600)
commitde031813b90d4a29fc6011a53fefa6c19001022e
treef4ed2b66cf7f261aa89ce9f818ecdbcd5671ec95
parentf021629df31328324ca429c29a827efab832eee0
improves lvm version parsing for customised builds

supports_thin_provisioning now uses a regexp to ensure parsing of
lvm version succeeds when the build is customised; also adds a test
for a customised string parsing

Closes-Bug: #1237994
Change-Id: I49049a58bbdb5315b9d2d7c259a9324ca15d78cb
(cherry picked from commit 51fd5edb106e26d65696ce37a70eef6a4f75b1e2)
cinder/brick/local_dev/lvm.py
cinder/tests/brick/test_brick_lvm.py