Public bug reported:

---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.

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-158140 severity-high 
targetmilestone-inin16042

** Tags added: architecture-s39064 bugnameltc-158140 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => virtinst (Ubuntu)

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to