Xen PV disks are ignored

Bug #1498576 reported by Bob Ball
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Medium
Bob Ball

Bug Description

whole_disk_name and partition_name functions in elements/ramdisk-base/extra-data.d/scripts/d/init-func have explicit checks for the device prefix.
Many prefixes are handled, however 'xvd', which is the default prefix used for Xen PV disks, is not handled.

The impact of this is Xen disks will not pass through these functions, and whole_device_name returns the empty string rather than (for example) /dev/xvda.

Changed in diskimage-builder:
assignee: nobody → Bob Ball (bob-ball)
status: New → In Progress
Changed in diskimage-builder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/226249
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=b5794f366532f4f906a860fe332f2403f2e6b623
Submitter: Jenkins
Branch: master

commit b5794f366532f4f906a860fe332f2403f2e6b623
Author: Bob Ball <email address hidden>
Date: Tue Sep 22 11:57:43 2015 +0100

    Add support for Xen PV disks

    Xen paravirtualised disks (supported by most modern kernels) have the
    "xvd" prefix (e.g. xvda0). The functions to strip partitions need to
    match on Xen PV disks otherwise the device name is discarded.

    Change-Id: I5539d2afba3fae30d1ddb49dcbf077113d38bbf7
    Closes-Bug: #1498576

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.