libvirtError: unsupported configuration: unknown input device type 'virtio1.0-input' (fixed upstream)

Bug #1683747 reported by windowsguy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
virt-manager (Debian)
Fix Released
Unknown
virt-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1. Zesty 17.04, x86-64
2. Use virt-manager to attempt to install a VM from Debian ISO (for example debian-testing-amd64-xfce-CD-1.iso, debian-stretch-DI-rc2-amd64-netinst.iso). I don't get this problem with Ubuntu ISOs.

```
Unable to complete install: 'unsupported configuration: unknown input device type 'virtio1.0-input''

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 501, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3491, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unsupported configuration: unknown input device type 'virtio1.0-input'

```

This has been fixed upstream.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846356

Edit: Did some more digging and just noticed there's an update pending here. I wonder if it includes fixes for this issue. It'd be good if it did.
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1667114

windowsguy (something-f)
description: updated
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting.

I've attached a bug watch for the Debian issue. Since it mentions that the bug should be fixed in virt-manager 1:1.4.0-4 and bug 1667114 is trying to merge a newer version, it should include a fix. Once that has landed in artful, it sounds like this issue might be a candidate for SRU (https://wiki.ubuntu.com/StableReleaseUpdates) in order to get a fix for older releases too.

Changed in virt-manager (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virt-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Juerg Haefliger (juergh) wrote :

Debian stable is at upstream 1.4.0. Artful is still 1.3.2. Can we please move?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yeah that would seem reasonable to me as well.
I've seen Bryan working on 1.4.0 in this (bug 1668681) and don't know if he spotted any blockers for a merge. Subscribing him to share if this is "in-progress by him" or "abandoned for a reason" or "free to take for anybody".

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Whith the merge just being the bug referred in the description (sorry for reading this backward).
=> https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1667114

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.2 KiB)

This bug was fixed in the package virt-manager - 1:1.4.0-5ubuntu1

---------------
virt-manager (1:1.4.0-5ubuntu1) artful; urgency=medium

  * Merge with Debian unstable (LP: #1667114 LP: #1683747). Remaining changes:
    - Depend on gir1.2-appindicator3-0.1 for appindicator support.
    - Add lsb-release to Build-Depends so we can detect whether we're running
      on Ubuntu or Debian.
    - d/rules: Set the preferred distro so we appear first in the list.
    - d/rules: Set qemu user to libvirt-qemu so appropriate permissions get set.
    - d/p/virtinst/9006_fix_path_to_qemu-dm.patch: drop the full path from
      qemu-dm as already done for hvmloader and pygrub. The Xen tools will
      handle this and add the missing path.
    - d/p/mark-libvirt-lxc: Clearly mark the LXC connections as being
      libvirt-lxc, to avoid confusion due to differing features and
      configurations.
    - d/p/add_qemu_binaries.patch: add the actual binary name from the qemu
      packages so default hypervisor detection works properly on first run.
    - d/p/use_qxl_for_ubuntu.patch: use qxl by default for Ubuntu VMs, it
      seems to work better than vmvga now.
    - d/p/prefer-qemu.patch: Prefer QEMU as the default URI, even if it's
      not installed.
    - 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)
  * Dropped changes:
    - d/rules: Remove data/gschemas.compiled generated by clean (in Debian).
    - d/p/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch:
      Cherry-pick from upstream. Fix screenshot capture with newer
      gdk-pixbuf/pygobject. (LP 1571702) (now Upstream)
    - d/p/use_virtio_for_pseries_disks.patch: virtinst: Use virtio bus type for
      disks on pSeries machines. Closes LP 1597610. (now Upstream)
    - Change Recommends to libvirt-bin instead of libvirt-daemon-system
      which isn't available in Ubuntu (Debian and Ubuntu share names again).
    - With package names now matching delta would be wrong, calling kvm
      leads to the right suggestive apt install message. Remaining messages
      are considered good enough (or should be fixed upstream)
      - d/p/more_helpful_error_message.patch: explain to the user why
        connecting to qemu:///system failed and how to fix it.
      - d/p/use_ubuntu_package_names.patch: Suggest installing the packages
        that are actually available in Ubuntu.
    - d/p/virtinst/dont_disable_vmport.patch: Don't disable vmport even if
      we're using spice, as this prevents having a seamless mouse when
      using Ubuntu as a guest (Seamless mouse was reported ok without).
    - d/p/leave-mnemonics-alone-on-focus-change.patch: Leave
      gtk-enable-mnemonics setting alone under Unity when windows change
      focus (No Unity supporte anymore).
  * Added changes:
    - Refreshed patches to match new version:
      - d/p/mark-libvirt-lxc.patch
      - d/p/virtinst/use_qxl_for_ubuntu.patch
    - d/p/virt-manager-generates-invalid-guest-XML.patch: fix generation of
      invalid xml when a spapr-vio SCSI model controller is changed to a
      virtio-scsi model controller...

Read more...

Changed in virt-manager (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.