attach-interface only works every other time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
After starting a VM, attach-interface does not work the first time, but does the second. Notice the following set of commands:
$ virsh -c qemu:///system attach-interface "qatest-i386" network default --mac "52:00:00:00:00:00"
error: Failed to attach interface
error: operation failed: adding rtl8139,
$ virsh dumpxml qatest-i386 | grep 52:00
$ virsh -c qemu:///system attach-interface "qatest-i386" network default --mac "52:00:00:00:00:00"
Interface attached successfully
$ virsh dumpxml qatest-i386 |grep 52:00
<mac address=
$ virsh -c qemu:///system attach-interface "qatest-i386" network default --mac "52:00:00:00:00:00"
error: Failed to attach interface
error: operation failed: adding rtl8139,
$ virsh dumpxml qatest-i386 |grep 52:00
<mac address=
$ virsh -c qemu:///system attach-interface "qatest-i386" network default --mac "52:00:00:00:00:00"
Interface attached successfully
$ virsh dumpxml qatest-i386 |grep 52:00
<mac address=
<mac address=
I have the kvm-pxe package installed and "pxe-rtl8139.bin" is available, so I don't know why qemu is complaining. This is not an AppArmor problem (it would block every time). This was found by using the test-libvirt.py script in lp:qa-regression-testing.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libvirt-bin 0.8.3-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.35-15-generic x86_64
Architecture: amd64
Date: Mon Aug 16 16:18:46 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: libvirt
tags: | added: regression-potential |
tags: |
added: regression-release removed: regression-potential |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Could you attach the complete xmldump of the guest before and after the different commands?