[UBUNTU 20.04.1] Failure to install Ubuntu 20.04.1 as KVM guest on DASD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Critical
|
Skipper Bug Screeners | ||
subiquity |
Fix Released
|
Undecided
|
Michael Hudson-Doyle |
Bug Description
---Problem Description---
Failure to install Ubuntu 20.04.1 as KVM guest on DASD
---uname output---
Linux version 5.4.0-42-generic (buildd@
Machine Type = 3096-703
---boot type---
CDROM / ISO image
---Install repository type---
Internet repository
---Install repository Location---
ports.ubunut.com
---Point of failure---
Other failure during installation (stage 1)
I tried to install an Ubuntu 20.04.1 guest from ISO which failed.
Steps to reproduce.
1. Boot from ISO to start installer, in my case I used virt-install, but a manually defined libvirt domain has the same issue:
$ virt-install --name focal.1 --memory 2048 --disk path=/dev/
2. On the installer screen, stay in simple mode and accept all defaults
3. Shortly after a error pop-up appears, saying the installation has failed. Opening the log I see:
...
storage:
config:
- {ptable: gpt, path: /dev/vda, wipe: superblock-
grub_device: false, type: disk, id: disk-vda}
- {device: disk-vda, size: 22153265152, wipe: superblock, flag: '', number: 1, preserve: false,
type: partition, id: partition-0}
- {fstype: ext4, volume: partition-0, preserve: false, type: format, id: format-0}
- {device: format-0, path: /, type: mount, id: mount-0}
version: 1
...
An error occured handling 'format-0': OSError - could not get path to dev from kname: vda1
finish: cmd-install/
TIMED BLOCK_META: 1.942
finish: cmd-install/
It seems that the new installation procedure isn't correctly detecting virtio-attached DASDs and tries to handle them like SCSI disks (gpt label, ...). This is a regression compared to the debian-installer and prevents the installation of Ubuntu 20.04 KVM guests on DASD.
I cross-checked by running the installation on a QCOW2 image, which succeeded without problems.
tags: | added: architecture-s39064 bugnameltc-187975 severity-critical targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → subiquity (Ubuntu) |
tags: |
added: targetmilestone-inin20041 removed: targetmilestone-inin--- |
tags: | added: installer |
tags: | added: fr-662 |
Changed in subiquity: | |
status: | New → In Progress |
assignee: | nobody → Michael Hudson-Doyle (mwhudson) |
no longer affects: | subiquity (Ubuntu) |
no longer affects: | subiquity (Ubuntu Focal) |
no longer affects: | subiquity (Ubuntu Groovy) |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
I could recreate and can confirm the same for groovy. disk/by- path/ccw- 0.0.1601 --cdrom ./groovy- live-server- s390x.iso
If the installation was started with:
sudo virt-install --name groovy --memory 2048 --disk path=/dev/
the installer uses /dev/vda that is usually an indicator for virtio device rather than a DASD disk (the size of 6.877G is the correct net size of the used DASD Mod9 disk):
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀
Guided storage configuration [ Help ]
▀▀▀▀▀▀▀
Configure a guided storage layout, or create a custom one:
(X) Use an entire disk
[ /dev/vda local disk 6.877G ▾ ]
[X] Set up this disk as an LVM group
[ ] Encrypt the LVM group with LUKS
( ) Custom storage layout
I've added /var/logs and /var/crash.