Public bug reported:

Hi there;

libvirt in trusty has a bug where VM's fail to get defined due to PCI
bus ordering bugs.


Redhat bug tracker info here: https://bugzilla.redhat.com/show_bug.cgi?id=823535


Appears to be the same bug.


Steps to reproduce:

* Open Virt-manager
* Define a new VM
( I used reactos installer iso)
* Attempt to run.

Get something like this:
"

Unable to complete install: 'internal error: process exited while connecting to 
monitor: qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: PCI: 
slot 1 function 0 not available for rtl8139, in use by PIIX3
qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: 
Device initialization failed.
qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: 
Device 'rtl8139' could not be initialized
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1983, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246, in 
start_install
    noboot)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314, in 
_create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3199, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error: process exited while connecting to monitor: 
qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: PCI: 
slot 1 function 0 not available for rtl8139, in use by PIIX3
qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: 
Device initialization failed.
qemu-system-x86_64: -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f4:4b:50,bus=pci.0,addr=0x1: 
Device 'rtl8139' could not be initialized

"

Attempted resolutions:

Removing Devices/reordering them via virt-manager still fails to solve
the issue ( you manually need to hack at the .xml definition).

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libvirt-bin 1.2.2-0ubuntu12
ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
Uname: Linux 3.13.0-23-generic x86_64
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Apr 12 17:11:24 2014
InstallationDate: Installed on 2014-03-31 (11 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Daily amd64 (20140330)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission 
denied: '/etc/libvirt/qemu.conf']

** Affects: libvirt
     Importance: Unknown
         Status: Unknown

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

** Bug watch added: Red Hat Bugzilla #823535
   https://bugzilla.redhat.com/show_bug.cgi?id=823535

** Also affects: libvirt via
   https://bugzilla.redhat.com/show_bug.cgi?id=823535
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1306880

Title:
  virt-manager / libvirt fails to create VM due to PCI ordering bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/1306880/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to