Installation of ubuntu focal server on zvm DASD-FBA device failed

Bug #1885890 reported by dyyang@cn.ibm.com
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Canonical Foundations Team
curtin
Fix Released
High
Unassigned
subiquity
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

I'm installing a ubuntu focal server on a zvm guest with one single DASD-FBA disk and use the default one single partition mode on the page of selecting partition.

After the partition selection and continue, the installer aborted.

Following errors can be found in /var/log/curtin/install.log:

        Checking if dasd 0.0.0100 needs formatting
        Running command ['dasdview', '--extended', '/dev/dasda'] with allowed return codes [0] (capture=True)
        An error occured handling 'dasd-dasda': ValueError - dasdview output has fewer than 52 lines, cannot parse
        finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring dasd: dasd-dasda
        TIMED BLOCK_META: 18.075
        finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
        Traceback (most recent call last):
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main
            ret = args.func(args)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
            return log_time("TIMED %s: " % msg, func, *args, **kwargs)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
            return func(*args, **kwargs)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 111, in block_meta
            return meta_custom(args)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1911, in meta_custom
            handler(command, storage_config_dict)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 564, in dasd_handler
            disk_layout, label)):
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/dasd.py", line 561, in needs_formatting
            if layout != self.disk_layout():
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/dasd.py", line 519, in disk_layout
            view = dasdview(self.devname)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/dasd.py", line 65, in dasdview
            return _parse_dasdview(out)
          File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/dasd.py", line 226, in _parse_dasdview
            'dasdview output has fewer than 52 lines, cannot parse')
        ValueError: dasdview output has fewer than 52 lines, cannot parse
        dasdview output has fewer than 52 lines, cannot parse

root@ubuntu-server:/# uname -a
Linux ubuntu-server 5.4.0-39-generic #43-Ubuntu SMP Fri Jun 19 10:27:17 UTC 2020 s390x s390x s390x GNU/Linux
root@ubuntu-server:/# cat /proc/cmdline
ip=9.152.85.241::9.152.84.1:255.255.252.0:u20:enc1000:none:9.152.120.241 url=ftp://9.123.155.79/pub/ubuntu-20-daily/focal-live-server-s390x.iso --- quiet
root@ubuntu-server:/#

Revision history for this message
dyyang@cn.ibm.com (dyyang) wrote :
Revision history for this message
dyyang@cn.ibm.com (dyyang) wrote :

subiquity debug log attached

Revision history for this message
dyyang@cn.ibm.com (dyyang) wrote :
Revision history for this message
dyyang@cn.ibm.com (dyyang) wrote :
Revision history for this message
dyyang@cn.ibm.com (dyyang) wrote :
Frank Heimes (fheimes)
tags: added: s390x
Revision history for this message
Frank Heimes (fheimes) wrote :

FBA support in subiquity is under consideration - we are looking into this.

As a workaround would it help if you use the d-i legacy installer instead?
http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/
http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-s390x.iso

Changed in ubuntu-z-systems:
status: New → Triaged
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
James Falcon (falcojr)
Changed in curtin:
status: New → Triaged
importance: Undecided → High
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → High
assignee: Skipper Bug Screeners (skipper-screen-team) → Canonical Foundations Team (canonical-foundations)
tags: added: installer
Steve Langasek (vorlon)
tags: added: fr-891
Changed in subiquity:
status: New → In Progress
assignee: nobody → Michael Hudson-Doyle (mwhudson)
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
Changed in curtin:
status: Triaged → In Progress
Revision history for this message
Frank Heimes (fheimes) wrote :

This bug is fixed with
https://github.com/CanonicalLtd/subiquity/releases/tag/21.01.1
for Ubuntu releases H, G and F.

Changed in subiquity:
status: In Progress → Fix Released
Changed in curtin:
status: In Progress → Fix Released
Changed in ubuntu-z-systems:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers