group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #11539
[Bug 1665410] Re: Libvirt allows specifying out-of-spec disk dev attributes it is then unable to handle
This bug was fixed in the package libvirt - 2.5.0-3ubuntu3
---------------
libvirt (2.5.0-3ubuntu3) zesty; urgency=medium
[ Christian Ehrhardt ]
* d/p/ubuntu/Ensure-disk-names-follow-the-disk-name-regex.patch:
guarantee disk spec is following the defined regex (LP: #1665410).
[ Bryan Quigley ]
* d/p/ubuntu/0007-apparmor-fix-for-new-virt-manager.patch: Add Apparmor
permissions so virt-manager 1.4.0 viewing works (LP: #1668681).
-- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx> Mon, 06 Mar
2017 08:24:06 +0100
** Changed in: libvirt (Ubuntu Zesty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1665410
Title:
Libvirt allows specifying out-of-spec disk dev attributes it is then
unable to handle
Status in libvirt package in Ubuntu:
Fix Released
Status in libvirt source package in Trusty:
Won't Fix
Status in libvirt source package in Xenial:
Won't Fix
Status in libvirt source package in Yakkety:
Won't Fix
Status in libvirt source package in Zesty:
Fix Released
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/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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1665410/+subscriptions