]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix except in lvm.py
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 27 Aug 2013 00:52:02 +0000 (00:52 +0000)
committerJohn Griffith <john.griffith@solidfire.com>
Tue, 27 Aug 2013 00:55:45 +0000 (00:55 +0000)
commitccfc7e96ff6c2e56c5f94a8634c9d4270a5b07ce
treed41ab48d94973c724d2a8199a961221a683632bc
parentedea6f62184e178f7fbe24565dcada140e6dfa44
Fix except in lvm.py

Consolidation of brick exceptions into a single
brick exception.py file neglected to updated files
that were using it:
    (see change I577d403f02c2fd0d727d2694776008e1e9791453)

The result is the lvm driver was doing an except on lvm.VolumeGroupNotFound
which didn't exist anymore as it's in brick/exception now.

We still need to clean up exceptions all through here, and this still
isn't handled by service init anyway, but at least with this we are
raising a valid exception.

Change-Id: I588e9ac6548823b291d284f68f6133879bf3dfbf
Fixes: bug 1216122
cinder/volume/drivers/lvm.py