Unable to complete install: 'Couldn't find hvm kernel for Ubuntu tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Tyler Hicks | ||
Xenial |
Fix Released
|
Undecided
|
Tyler Hicks | ||
Yakkety |
Fix Released
|
Undecided
|
Tyler Hicks | ||
Zesty |
Fix Released
|
Undecided
|
Tyler Hicks |
Bug Description
[Impact]
* Users are unable to virt-install using xenial and newer isos.
[Test Case]
#!/bin/bash
sudo virt-install \
--connect qemu:///system \
--virt-type kvm \
--name labVM2 \
--disk size=10 \
--ram 2048 \
--vcpus=2 \
--graphics vnc \
-l /home/student19
--os-variant ubuntu16.04
* Bad output
WARNING Graphics requested but DISPLAY is not set. Not running virt-viewer.
WARNING No console to launch for the guest, defaulting to --wait -1
Starting install...
Retrieving file version.info... | 58 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start labVM2
otherwise, please restart your installation.
* Expected output
Starting install...
Retrieving file version.info... | 58 B 00:00:00
Retrieving file linux... | 6.7 MB 00:00:00
Retrieving file initrd.gz... | 36 MB 00:00:00
Allocating 'labVM2-2.qcow2' | 10 GB 00:00:00
Creating domain... | 0 B 00:00:00
Domain installation still in progress. Waiting for installation to complete.
[Regression Potential]
* Patch is accepted into upstream virt-install
* I have run virt-install against both iso's and netinstall trees *(which previously worked and now continue to work).
[Other Info]
+++++++
I am trying to create a new virtual machine with Virtual Machine Manager but keep receiving this error "Unable to complete install: 'Couldn't find hvm kernel for Ubuntu tree". The OS guest I am trying to install on the VM is Ubuntu server 14.04.4, 64 bit. The host OS (where the virtual manager is installed) is KUbuntu 16.04 .
Below is the full message that appears after completing the 5-steps VM creation process and clicking on finish on virt-manager:
Unable to complete install: 'Couldn't find hvm kernel for Ubuntu tree.'
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
guest.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
kernel, initrd, args = store.acquireKe
File "/usr/share/
{"distro": self.name, "type" : self.type})
RuntimeError: Couldn't find hvm kernel for Ubuntu tree.
And the package data are
$ dpkg -s virt-manager
Package: virt-manager
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 7285
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1:1.3.2-
Depends: dconf-gsettings
Recommends: libvirt-bin (>= 1.2.7), gnome-icon-theme, gir1.2-
Suggests: virt-viewer, ssh-askpass, gnome-keyring, python-
Description: desktop application for managing virtual machines
It presents a summary view of running domains and their live performance &
resource utilization statistics. A detailed view presents graphs showing
performance & utilization over time. Ultimately it will allow creation of new
domains, and configuration & adjustment of a domain's resource allocation &
virtual hardware. Finally an embedded VNC client viewer presents a full
graphical console to the guest domain.
.
NOTE: the GUI is still considered experimental.
Homepage: http://
Original-
According to this discussion http://
description: | updated |
Changed in virt-manager (Ubuntu): | |
assignee: | nobody → Dave Chiluk (chiluk) |
description: | updated |
Changed in virt-manager (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in virt-manager (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
Changed in virt-manager (Ubuntu Zesty): | |
status: | In Progress → Fix Committed |
no longer affects: | virt-manager (Ubuntu Trusty) |
tags: | added: verification-done-zesty |
tags: |
added: verification-done-yakkety removed: verification-needed |
tags: | added: verification-done |
tags: |
added: sts-sru-done removed: sts-sru |
Status changed to 'Confirmed' because the bug affects multiple users.