Libvirt allows specifying out-of-spec disk dev attributes it is then unable to handle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Taco Screen team | ||
Trusty |
Won't Fix
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Taco Screen team |
Bug Description
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/
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]
The following regex should be followed while assigning the disk name: (regex) /^[fhv]
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.
tags: | added: architecture-ppc64le bugnameltc-150842 severity-high targetmilestone-inin16042 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → libvirt (Ubuntu) |
tags: | removed: bugnameltc-150842 severity-high |
tags: |
added: bugnameltc-150842 severity-high targetmilestone-inin16043 removed: targetmilestone-inin16042 |
tags: |
added: targetmilestone-inin1704 removed: targetmilestone-inin16043 |
Changed in ubuntu-power-systems: | |
status: | New → Fix Released |
Jon,
Libvirt issue - can someone from the Server team take a look?
Thanks.
On 02/16/2017 09:09 AM, Launchpad Bug Tracker wrote: sdd,format= raw,if= none,id= drive-scsi0- 0-0-0,cache= none,aio= native: Duplicate ID 'drive-scsi0-0-0-0' for drive d[a-z]+ [0-9]*$ /. d[a-z]+ [0-9]*$ / ppc64le bugnameltc-150842 severity-high targetmilestone -inin16042
> 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/
>
> 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]
>
> The following regex should be followed while assigning the disk name: (regex) /^[fhv]
> 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-
--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.