summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRafi Khardalian <rafi@metacloud.com>2013-03-01 08:53:52 +0000
committerRafi Khardalian <rafi@metacloud.com>2013-03-01 09:22:12 +0000
commit8bd8da476c9e7718cea6552e767ea51727d28418 (patch)
tree726a4b861579ed249884e7930a5e622970ea7154 /nova/exception.py
parent957a2a6909fb6b5d9773ef74160543f4d984cc96 (diff)
downloadnova-8bd8da476c9e7718cea6552e767ea51727d28418.tar.gz
nova-8bd8da476c9e7718cea6552e767ea51727d28418.tar.xz
nova-8bd8da476c9e7718cea6552e767ea51727d28418.zip
Fix ephemeral devices on LVM don't get mkfs'd
Fixes bug 1083424 Updated imagebackend to run the necessary callback conditionally based on whether LVM is configured for use and ephemeral_size is defined. The callback function was updated not to invoke qemu-img for LVM, since the ephemeral disk is already present/created via LVM. Lastly, the mkfs call had to be changed to be run as root, since we are dealing with raw devices. Change-Id: Ieb1febb0ea086f8e5063d92ca376d349fcd43a43
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions