Public bug reported:

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/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2277, in 
_do_async_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 482, in start_install
    self._prepare_install(meter, dry)
  File "/usr/share/virt-manager/virtinst/guest.py", line 303, in 
_prepare_install
    self.installer.prepare(self, meter)
  File "/usr/share/virt-manager/virtinst/installer.py", line 200, in prepare
    self._prepare(guest, meter)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 451, in 
_prepare
    self._prepare_kernel_url(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 360, in 
_prepare_kernel_url
    kernel, initrd, args = store.acquireKernel(guest)
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 577, in 
acquireKernel
    {"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 <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: all
Version: 1:1.3.2-3ubuntu1.16.04.2
Depends: dconf-gsettings-backend | gsettings-backend, python:any (>= 2.6.6-7~), 
python2.7:any, python-gi, python-gi-cairo, python-dbus, python-requests, 
librsvg2-common, python-libvirt (>= 0.7.1), gir1.2-appindicator3-0.1, 
gir1.2-libvirt-glib-1.0, gir1.2-gtk-vnc-2.0, gir1.2-gtk-3.0 (>= 3.10), 
gir1.2-vte-2.91, gir1.2-libosinfo-1.0, virtinst (>= 1:1.3.2-3ubuntu1.16.04.2), 
gconf2
Recommends: libvirt-bin (>= 1.2.7), gnome-icon-theme, 
gir1.2-spice-client-gtk-3.0
Suggests: virt-viewer, ssh-askpass, gnome-keyring, python-gnomekeyring, 
python-guestfs
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://virt-manager.et.redhat.com/
Original-Maintainer: Debian Libvirt Maintainers 
<pkg-libvirt-maintain...@lists.alioth.debian.org>

According to this discussion http://askubuntu.com/a/815056 on
Askubuntu.com, it is matter of an issue with the installer (virt-install
looking for i386 installer but should be looking for amd64 installer).
The bug is reportedly fixed on upstream, but not available yet for the
packages.

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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/virt-manager/virtManager/asyncjob.py", line 90, in 
cb_wrapper
-     callback(asyncjob, *args, **kwargs)
-   File "/usr/share/virt-manager/virtManager/create.py", line 2277, in 
_do_async_install
-     guest.start_install(meter=meter)
-   File "/usr/share/virt-manager/virtinst/guest.py", line 482, in start_install
-     self._prepare_install(meter, dry)
-   File "/usr/share/virt-manager/virtinst/guest.py", line 303, in 
_prepare_install
-     self.installer.prepare(self, meter)
-   File "/usr/share/virt-manager/virtinst/installer.py", line 200, in prepare
-     self._prepare(guest, meter)
-   File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 451, in 
_prepare
-     self._prepare_kernel_url(guest, fetcher)
-   File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 360, in 
_prepare_kernel_url
-     kernel, initrd, args = store.acquireKernel(guest)
-   File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 577, in 
acquireKernel
-     {"distro": self.name, "type" : self.type})
+   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in 
cb_wrapper
+     callback(asyncjob, *args, **kwargs)
+   File "/usr/share/virt-manager/virtManager/create.py", line 2277, in 
_do_async_install
+     guest.start_install(meter=meter)
+   File "/usr/share/virt-manager/virtinst/guest.py", line 482, in start_install
+     self._prepare_install(meter, dry)
+   File "/usr/share/virt-manager/virtinst/guest.py", line 303, in 
_prepare_install
+     self.installer.prepare(self, meter)
+   File "/usr/share/virt-manager/virtinst/installer.py", line 200, in prepare
+     self._prepare(guest, meter)
+   File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 451, in 
_prepare
+     self._prepare_kernel_url(guest, fetcher)
+   File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 360, in 
_prepare_kernel_url
+     kernel, initrd, args = store.acquireKernel(guest)
+   File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 577, in 
acquireKernel
+     {"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 <ubuntu-devel-disc...@lists.ubuntu.com>
  Architecture: all
  Version: 1:1.3.2-3ubuntu1.16.04.2
  Depends: dconf-gsettings-backend | gsettings-backend, python:any (>= 
2.6.6-7~), python2.7:any, python-gi, python-gi-cairo, python-dbus, 
python-requests, librsvg2-common, python-libvirt (>= 0.7.1), 
gir1.2-appindicator3-0.1, gir1.2-libvirt-glib-1.0, gir1.2-gtk-vnc-2.0, 
gir1.2-gtk-3.0 (>= 3.10), gir1.2-vte-2.91, gir1.2-libosinfo-1.0, virtinst (>= 
1:1.3.2-3ubuntu1.16.04.2), gconf2
  Recommends: libvirt-bin (>= 1.2.7), gnome-icon-theme, 
gir1.2-spice-client-gtk-3.0
  Suggests: virt-viewer, ssh-askpass, gnome-keyring, python-gnomekeyring, 
python-guestfs
  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.
+  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://virt-manager.et.redhat.com/
  Original-Maintainer: Debian Libvirt Maintainers 
<pkg-libvirt-maintain...@lists.alioth.debian.org>
  
- 
- According to this discussion 
http://askubuntu.com/questions/809062/error-couldnt-find-hvm-kernel-during-kvm-guest-install-of-ubuntu-server-16-04
 on Askubuntu.com, it is matter of an issue with the installer (virt-install 
looking for i386 installer but should be looking for amd64 installer). The bug 
is reportedly fixed on upstream, but not available yet for the packages.
+ According to this discussion http://askubuntu.com/a/815056 on
+ Askubuntu.com, it is matter of an issue with the installer (virt-install
+ looking for i386 installer but should be looking for amd64 installer).
+ The bug is reportedly fixed on upstream, but not available yet for the
+ packages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1634304

Title:
  Unable to complete install: 'Couldn't find hvm kernel for Ubuntu tree

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1634304/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to