Comment 7 for bug 1083424

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

Reviewed: https://review.openstack.org/23253
Committed: http://github.com/openstack/nova/commit/8bd8da476c9e7718cea6552e767ea51727d28418
Submitter: Jenkins
Branch: master

commit 8bd8da476c9e7718cea6552e767ea51727d28418
Author: Rafi Khardalian <email address hidden>
Date: Fri Mar 1 08:53:52 2013 +0000

    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