[Bug 1884933] Re: Backport casper changes from groovy to support interactive network boot on focal, and improved interractive boot UX on server
Frank Heimes
1884933 at bugs.launchpad.net
Tue Jul 7 07:52:26 UTC 2020
Same situation with "subiquity 20.06.1 - 1937".
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Zdev setup [ Help ]
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ID ONLINE NAMES
generic-ccw
0.0.0009 ▸
0.0.000c failed ▸
0.0.000d failed ▸
0.0.000e failed ▸
dasd-eckd
...
0.0.0200 online dasda ▸
...
[ Continue ]
[ Back ]
Detected multipath support, reload maps
Running command ['multipath', '-r'] with allowed return codes [0] (capture=False)
Jul 07 07:45:23 | DM multipath kernel driver not loaded
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: removing previous storage devices
TIMED BLOCK_META: 0.814
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/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 102, in block_meta
meta_clear(devices, state.get('report_stack_prefix', ''))
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1864, in meta_clear
clear_holders.start_clear_holders_deps()
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 686, in start_clear_holders_deps
multipath.reload()
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/block/multipath.py", line 239, in reload
util.subp(['multipath', '-r'])
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/util.py", line 275, in subp
util.subp(['multipath', '-r'])
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/util.py", line 275, in subp
return _subp(*args, **kwargs)
File "/snap/subiquity/1937/lib/python3.6/site-packages/curtin/util.py", line 141, in _subp
cmd=args)
curtin.util.ProcessExecutionError: Unexpected error while running command.
Command: ['multipath', '-r']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Unexpected error while running command.
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Please let me know if I should open a separate ticket about this (since
I think it's not directly related to the interactive boot UX.
** Attachment added: "07072020_2.tgz"
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1884933/+attachment/5390426/+files/07072020_2.tgz
** Changed in: ubuntu-z-systems
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1884933
Title:
Backport casper changes from groovy to support interactive network
boot on focal, and improved interractive boot UX on server
Status in Ubuntu on IBM z Systems:
In Progress
Status in casper package in Ubuntu:
Fix Released
Status in casper source package in Focal:
Fix Committed
Bug description:
[Impact]
* With legacy-server iso in focal it is possible to network boot and interactively setup networking configuration.
* This feature lacks in the initrd used by subiquity, and thus is not available on the live-server.
* This feature is now implemented in groovy and has been tested to work on multiple architectures, including s390x specific hardware (zdev code path)
* Backport this feature to focal for 20.04.1
[Test Case - interractive boot]
* Build live-server iso with proposed pocket enabled
* Download just the kernel & initrd artefacts
* Boot kerenl & initrd and specify ignore_uuid kernel cmdline
parameter, but nothing about ip= or url= and _without_ any subiquity
iso attached.
* Wait for boot to offer to perform network boot, configure
networking, and accept default url, await to be booted to subiquity
welcome screen
[Test case - improved UX]
* During live server boot, there is no plymouth running, and thus
some messages displayed during boot are ugly warnings, which are
harmless and actually should not be there or improved:
- Newline added between progress '.....' and the check result message
- Warning "Connection to playmouth" is dropped, as server normally boots without plymouth, thus this warning should not be printed.
- Failure to mount /cow -> the code to expose /cow in the root never worked, and always printed error, stop doing that.
* Ideally, booting kernel+initrd with "quiet" should result in crisp
experience without a single warning message printed, until one is
informed that local installation media was not found and remote
network boot is offered.
* Test case is to check that fsck progress dots look nice, there is
no inline mixed '....' with text, and that there is no "Connection to
plymouth" error message, or an error message about /cow.
[Regression Potential]
* Previously when booting kernel/initrd without iso attached to the
machine, the boot would fail and drop to emergency shell. Now
interactive network setup is offered, and if that fails, then drop to
emergency shell. So whilst there is added interactivity, eventually
dropping to emergency shell is still there.
[Other Info]
* There are many other bug reports requesting this feature, all of
which will be closed once this update lands on the daily isos.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1884933/+subscriptions
More information about the foundations-bugs
mailing list