Unable to create a new VM when selecting PXE boot and kvm-pxe is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: virt-manager
After I installed kvm and virt-manager I wanted to create a VM and boot over the network (PXE) but the creation wizard of virt-manager gives an error during step 5 of 5 of the creation when using a QEMU/KVM connection.
Steps to reproduce :
Step 1 :
* Create a new VM named kvm-pxe
* Select "Network boot (PXE)"
Step 2 :
* Select any OS type
* Select any version
Step 3 and 4 leave it untouched
Step 5 :
* Select "Virt Type = kvm" in advanced options.
I click next and get this error :
Traceback (most recent call last):
File "/usr/share/
dom = guest.start_
File "/usr/lib/
return self._do_
File "/usr/lib/
self.domain = self.conn.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: monitor socket did not show up.: Connection refused
'
If at step 5 I select "Virt Type = qemu" I get this error instead :
Unable to complete install '<class 'libvirt.
Could not load option rom 'pxe-rtl8139.bin'
Traceback (most recent call last):
File "/usr/share/
dom = guest.start_
File "/usr/lib/
return self._do_
File "/usr/lib/
self.domain = self.conn.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: internal error unable to start guest: char device redirected to /dev/pts/5
Could not load option rom 'pxe-rtl8139.bin'
'
To solve the problem I only had to install the "kvm-pxe" package. I think that when kvm and virt-manager are installed together the package kvm-pxe should be installed by default.
The other solution should be to remove the "Network boot (PXE)" option from the creation menu until the kvm-pxe package is installed. If the second solution is taken, I think that kvm-pxe should be suggested on virt-manager installation.
Thanks
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy virt-manager
virt-manager:
Installed: 0.7.0-3ubuntu1
Candidate: 0.7.0-3ubuntu1
Version table:
*** 0.7.0-3ubuntu1 0
500 http://
100 /var/lib/
ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 40632a4005b9605
CheckboxSystem: bb422ca46d02494
Date: Sun Nov 8 11:46:21 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: virt-manager 0.7.0-3ubuntu1
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: virt-manager
Uname: Linux 2.6.31-15-generic x86_64
XsessionErrors:
(gnome-
(gnome-
(polkit-
(nautilus:2475): Eel-CRITICAL **: eel_preferences
(gnome-
tags: | removed: amd64 |
Changed in virt-manager (Ubuntu): | |
status: | New → Confirmed |
Changed in virt-manager (Ubuntu): | |
status: | Confirmed → Incomplete |
I have no idea if this information will help or not, but I am getting this exact same error message, but from a different scenario. I had Windows Vista installed and running fine in libvirt / KVM on Ubuntu 10.04, libvirt0 0.7.5-5ubuntu7, kvm 1:84+dfsg- 0ubuntu16+ 0.12.3+ 0ubuntu2, qemu-kvm 0.12.3-0ubuntu2 on an Intel Core 2 quad core system.
All was fine -- even had a USB multi-function printer working successfully. Then I made the mistake of installing the Microsoft Security Essentials pack so that I'd have virus protection and such. I was a bit worried that it might fail the "genuine" test since it would not see the Dell hardware, but instead the virtual hardware, but to my surprise it passed that step fine and went on to do an install. I later rebooted. And the machine will no longer boot. Clicking "run" in Virtual Machine Manager does nothing, and shortly thereafter Ubuntu Gnome dims the VMM application because it has stopped responding. Eventually, I get a pop-up with the error message described in this bug report. Looks like I'm going to have to completely re-install Vista (and NOT Security Essentials).