Error/crash while trying to wipe disk during 23.04+ install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Frank Heimes | ||
subiquity |
Fix Released
|
High
|
Dan Bungert | ||
subiquity (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
While testing the 23.04 RC image (timestamp April 15th)
and using
subiquity 23.04.1 4677
on z/VM (s390x) with a DASD FBA disk,
the installed crashed during installation with:
devsync happy - path /dev/dasda now exists
return volume path /dev/dasda
Running command ['wipefs', '--all', '--force', '/dev/dasda'] with allowed retur
n codes [0] (capture=False)
Wiping path: dev:/dev/dasda1 kname:dasda1 partnum:1
Running command ['wipefs', '--all', '--force', '/dev/dasda1'] with allowed retu
rn codes [0] (capture=False)
wipefs: error: /dev/dasda1: probing initialization failed: No such file or directory
An error occured handling 'disk-dasda': ProcessExecutio
Command: ['wipefs', '--all', '--force', '/dev/dasda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
finish: cmd-install/
TIMED BLOCK_META: 17.898
finish: cmd-install/
mand block-meta
Traceback (most recent call last):
File "/snap/
ret = args.func(args)
File "/snap/
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/
return func(*args, **kwargs)
File "/snap/
return meta_custom(args)
File "/snap/
handler(
File "/snap/
block.
File "/snap/
quick_
File "/snap/
quick_zero(pt, partitions=False)
File "/snap/
util.
File "/snap/
return _subp(*args, **kwargs)
File "/snap/
raise ProcessExecutio
curtin.
Command: ['wipefs', '--all', '--force', '/dev/dasda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Unexpected error while running command.
Command: ['wipefs', '--all', '--force', '/dev/dasda1']
Exit code: 1
Reason: -
Stdout: ''
The DASD FBA disk exists:
root@ubuntu-
Bus-ID Status Name Device Type BlkSz Size Blocks
=======
0.0.0101 active dasda 94:0 FBA 512 16383MB 33554368
root@ubuntu-
crw------- 1 root root 10, 120 Apr 18 10:31 /dev/dasd_eer
brw-rw---- 1 root disk 94, 0 Apr 18 10:35 /dev/dasda
brw-rw---- 1 root disk 94, 1 Apr 18 10:35 /dev/dasda1
root@ubuntu-
But the installer seems to fail wiping it.
The full logs (var/crash and /var/log) are attached.
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Michael Hudson-Doyle: Approve
-
Diff: 328 lines (+132/-47)6 files modifiedcurtin/block/zfs.py (+29/-20)
curtin/commands/block_meta.py (+23/-20)
curtin/util.py (+37/-0)
tests/unittests/test_block_zfs.py (+7/-7)
tests/unittests/test_commands_block_meta.py (+3/-0)
tests/unittests/test_util.py (+33/-0)
affects: | subiquity (Ubuntu) → subiquity |
Changed in subiquity: | |
status: | New → Triaged |
tags: | added: rls-nn-incoming |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in subiquity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: fr-7062 |
summary: |
- Error/crash while trying to wipe disk during 23.04 install + Error/crash while trying to wipe disk during 23.04+ install |
tags: |
added: installation removed: installer |
Changed in subiquity: | |
status: | Triaged → In Progress |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
At the installer shell I manually wiped the disk myself with: server: /# wipefs -a -f /dev/dasda1 server: /# wipefs -a -f /dev/dasda
root@ubuntu-
root@ubuntu-
and after restarting the installation from crash I was able to complete an installation w/o issues (using no LVM).
Then doing another install on the same system leaving the defaults for disk config (means using LVM) worked as well.
Another install (again on the same system using the defaults) completed again fine.
So somehow smells like an issue wiping out the disk if old LVM data was on the disk?!
(and with that it could be a duplicate of LP#1993633)