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

---------------
virt-manager (1:1.3.2-3ubuntu4.1) zesty; urgency=medium

  * Fix virtinst location on s390x and clobbering extra args (LP: #1713990)
    - d/p/bug-1713990-virt-install-concatenate-all-extra-args-argument.patch
    - d/p/bug-1713990-virtinst-adjust-media-paths-for-s390x.patch

 -- Christian Ehrhardt <christian.ehrha...@canonical.com>  Thu, 31 Aug
2017 09:42:32 +0200

** Changed in: virt-manager (Ubuntu Zesty)
       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/1713990

Title:
  virt-install fails on s390x with options --location and --extra-args

Status in Ubuntu on IBM z Systems:
  Fix Committed
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 Zesty:
  Fix Released
Status in virt-manager package in Debian:
  Fix Released

Bug description:
  [Impact]

   * virtinst not usable on s390x lacking proper image parsing
   * virtinst extra-args missed (actually cross arch)

   * Especially on s390x people are even more conservative, so getting back
     to LTS is the only way to make it available were it is needed

   * Fix consists of 2 backports from Upstream

  [Test Case]

   * All on s390x
   * Create a test image file
     $ sudo qemu-img create -f qcow2 /var/lib/libvirt/images/ubuntu.qcow2 6G
   * Use virt inst to install into that
     $ sudo virt-install --name ubuntu --ram 512 --disk 
/var/lib/libvirt/images/ubuntu.qcow2,bus=virtio --location 
http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/installer-s390x 
--extra-args="s390_iommu=strict" --extra-args="hvc_iucv=2"

    * Without the fix it will
      1. fail on:
      ERROR    Error validating install location: Could not find an installable 
distribution at 
'http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/installer-s390x'
      2. clobber one of the extra args

    * With the fix applied it will
      1. work to get the image and start it
      2. Further on in the install have all extra args from the example passed 
to the kernel like:
      [    0.386098] Kernel command line: s390_iommu=strict hvc_iucv=2 [...]

  [Regression Potential]

   * Change #1 is only having effect on s390x (so lower risk). There it
     fixes the formerly broken location (and not more than that). I don't
     see an issue in the change, but there might be some due to e.g. older
     python - but testing should confirm that this is no issue.

   * Change #2 is making a python arg that is a string being paased later to
     become an append (a list that is concatenated and then passed as one
     string like before. I think the change is fine as all former usage was
     only with one (1) arg which is behaving the same as it always did. Just
     any use case with more than one arg was broken and therefore fixed now.
     Again older python might be an unknown here, so testing required.

  [Other Info]

   * n/a

  ----

  ---Problem Description---
  virt-install fails on s390x with options --location and --extra-args

  ---uname output---
  Linux s3560022 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:06:48 UTC 2017 
s390x s390x s390x GNU/Linux

  Machine Type = IBM z13

  ---Debugger---
  A debugger is not configured

  ---Steps to Reproduce---
   Run the following command:
  sudo virt-install --name ubuntu --ram 1024 --disk 
/var/lib/libvirt/images/ubuntu.qcow2,bus=virtio --location 
http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/installer-s390x 
--extra-args="preseed/url=http://192.168.122.1/tmp/preseed";
  Expected result: A KVM virtual machine "ubuntu" is installed using a local 
preseed file.
  Observed result: Error message
  sudo virt-install --name ubuntu --ram 1024 --disk 
/var/lib/libvirt/images/ubuntu.qcow2,bus=virtio --location 
http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/installer-s390x

  Userspace tool common name: virt-install

  The userspace tool has the following bit modes: 64

  Userspace rpm: virt-manager

  Userspace tool obtained from project website:  na

  The following upstream commit solves the location validation problem:
  f248088 virtinst: adjust media paths for s390x

  However, the extra-args are ignored. For this it is necessary to pick the 
following commit
  4c3e796 virt-install: concatenate all extra-args argument

  Without these fixes it is not possible to perform a Ubuntu
  installation of a KVM guest using virt-install.

  Minor correction: the binary package (not rpm) is virtinst, built from
  the virt-manager source package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1713990/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to