← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1634304] Re: Unable to complete install: 'Couldn't find hvm kernel for Ubuntu tree

 

This bug was fixed in the package virt-manager -
1:1.3.2-3ubuntu1.16.04.3

---------------
virt-manager (1:1.3.2-3ubuntu1.16.04.3) xenial; urgency=medium

  * Fix virt-install so that it can install 16.04 and newer images.
    Error message is 'Couldn't find hvm kernel for Ubuntu tree
    Closes (LP: #1634304)

 -- Dave Chiluk <chiluk@xxxxxxxxxx>  Tue, 29 Nov 2016 12:52:23 -0600

** Changed in: virt-manager (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1634304

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

Status in virt-manager package in Ubuntu:
  Fix Released
Status in virt-manager source package in Xenial:
  Fix Released
Status in virt-manager source package in Yakkety:
  Fix Released
Status in virt-manager source package in Zesty:
  Fix Released

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/student19s/ubuntu-16.04.1-server-amd64.iso \
  --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]

  
  +++++++++++++++++++++++++ Original Description ++++++++++++++++++++++++
  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-discuss@xxxxxxxxxxxxxxxx>
  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-maintainers@xxxxxxxxxxxxxxxxxxxxxxx>

  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.

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