s390x/ZFCP: leapp fails in reboot phase when executing "zipl-switch-to-blscfg" command

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux 7
    • leapp
    • s390x (IBM Z)
    • ZFCP storage

Issue

  • During reboot phase, leapp fails, printing the following message on the console and stopping at dracut prompt

    ... upgrade[1549]: ====> * zipl_convert_to_blscfg
    ... upgrade[1549]:         Convert the zipl boot loader configuration to the boot loader specification on s390x systems.
    ... systemd-coredump[2491]: Failed to connect to coredump service: No such file or directory
    ... upgrade[2421]: 2022-10-29 12:43:23.398 ERROR    PID: 835 leapp.workflow.Preparation.zipl_convert_to_blscfg: Could not call zipl-switch-to-blscfg command.
    ... upgrade[2421]: Traceback (most recent call last):
    ... upgrade[2421]:   File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/ziplconverttoblscfg/actor.py", line 54, in process
    ... upgrade[2421]:     raise OSError('Failed to convert the ZIPL configuration to BLS.')
    ... upgrade[2421]: OSError: Failed to convert the ZIPL configuration to BLS.
    ... upgrade[1549]: ====> * bind_update
    ... upgrade[1549]:         Actor parsing facts found in configuration and modifing configuration.
    ... upgrade[1549]: ============================================================
    ... upgrade[1549]:                            ERRORS
    ... upgrade[1549]: ============================================================
    ... upgrade[1549]: 2022-10-29 12:43:23.459724 [ERROR] Actor: zipl_convert_to_blscfg
    ... upgrade[1549]: Message: Failed to execute zipl-switch-to-blscfg.
    ... upgrade[1549]: Summary:
    ... upgrade[1549]:     Details: Failed to convert the ZIPL configuration to BLS.
    

Resolution

If you are already in reboot phase, reboot the system for it to load the RHEL7 kernel again.

Please open a case on the customer portal referencing this solution to request access to the hotfix leapp-repository-0.17.0-2.el7_9.

Root Cause

zipl-switch-to-blscfg executes in a container that doesn't have access to device nodes in /dev, causing the issue to occur.
The issue is tracked by This content is not included.BZ 2140563 - ZFCP systems fail to convert + issue with zipl-switch-to-blscfg [rhel-7.9.z].

SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.