virt-install does not work with --os-variant=ubuntu16.04

Bug #1532845 reported by Serge Victor
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

virt-install does not work with --os-variant=ubuntu16.04:

+ virt-install --name tmp --ram 2048 --vcpus 2 --location=http://kr.archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/ --os-type=linux --os-variant=ubuntu16.04 --bridge=siec,model=virtio,mac=DE:AD:BE:AF:AA:AA --disk path=/virt/tmp.qcow2 --cpuset=0,1,2 --cpu=host-model-only --autostart --nographics '--extra-args=auto=true priority=critical locale=pl_PL keymap=pl debian-installer/allow_unauthenticated_ssl=true console-setup/ask_detect=false netcfg/hostname=tmp.random.re url=https://google.com/ubuntu.presseed.cfg console=tty0 console=ttyS0,115200n8 serial'
/usr/share/virt-manager/virtinst/osdict.py:26: PyGIWarning: Libosinfo was imported without specifying a version first. Use gi.require_version('Libosinfo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Libosinfo as libosinfo
ERROR maximum recursion depth exceeded while calling a Python object

But it works well with --os-variant=ubuntu14.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virtinst 1:1.2.1-4ubuntu1
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Jan 11 22:49:10 2016
InstallationDate: Installed on 2015-12-05 (37 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151203)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Serge Victor (ser) wrote :
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
Changed in virt-manager (Ubuntu):
importance: Undecided → Medium
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.