Comment 1 for bug 1665410

Revision history for this message
Michael Hohnbaum (hohnbaum) wrote : Re: [Bug 1665410] [NEW] Mapping multiple disks to guests errors on ubuntu KVM

Jon,

Libvirt issue - can someone from the Server team take a look?

Thanks.

                     Michael

On 02/16/2017 09:09 AM, Launchpad Bug Tracker wrote:
> bugproxy (bugproxy) has assigned this bug to you for Ubuntu:
>
> While trying to add multiple disks to ubuntu guest on an ubuntu KVM, the following error is reported.
> Error: internal error: process exited while connecting to monitor: qemu-system-ppc64: -drive file=/dev/sdd,format=raw,if=none,id=drive-scsi0-0-0-0,cache=none,aio=native: Duplicate ID 'drive-scsi0-0-0-0' for drive
>
> It seems libvirt is using the same id for more than one disk. My
> impression is that something is wrong with the libvirt being used in
> Ubuntu 16.04.x.
>
> The target device parsing logic which generates the device alias has
> gone wrong as the XML used has the target dev names given in unusual
> format as vd2, vd3 where usual nomenclature is to have
> /^[fhv]d[a-z]+[0-9]*$/.
>
> The following regex should be followed while assigning the disk name: (regex) /^[fhv]d[a-z]+[0-9]*$/
> However, note that any trailing string of digits is simply ignored by libvirt.
>
> A patch has been sent upstream.
>
> The patch has been accepted upstream. commit 5729746.
>
> ** Affects: ubuntu
> Importance: Undecided
> Assignee: Taco Screen team (taco-screen-team)
> Status: New
>
>
> ** Tags: architecture-ppc64le bugnameltc-150842 severity-high targetmilestone-inin16042

--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.