Cause: Anaconda could not set the boot device since it was not set properly.
Consequence: Manual reboot of the system was required upon completion of an upgrade.
Fix: Proper support for bootloader upgrades was implemented for s390x.
Result: Manual and kickstart upgrades on s390x will detect the correct boot device and reboot the system after upgrading.
Description of problem:
When kickstart upgrade is performed on s390x, anaconda shuts down the system instead of rebooting although "reboot" command is present in kickstart.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install previous version of RHEL. Following partitioning was used:
clearpart --all --initlabel
part /boot --asprimary --size=500 --label=boot
part swap --fstype=swap --recommended --label=swap
part / --grow --size=2048
2. prepare kickstart for upgrade - make sure that "reboot" command is present:
3. run kickstart upgrade
system is halted after upgrade
system is rebooted after upgrade
When running manual upgrade, anaconda successfully reboots at the end of the upgrade. I'm able to reproduce only on s390x, x86_64 works as expected.
Pushing this off to RHEL6.5 planning since it's not a 6.4 blocker.
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.
Patch posted for review.
Patch pushed, commit 530820d10f2d4d47095ff33cd01bc85ae835f3e7 in rhel6-branch.
Retested with anaconda-13.21.204-1.el6, but reboot is still not happening - system shuts down after upgrade.
11:27:33,817 INFO : Unable to set reIPL device to None: cannot concatenate 'str' and 'NoneType' objects
11:27:33,821 INFO : reIPL configuration failed => halt
11:27:33,823 INFO : leaving (1) step reipl
Logs from the upgrade will be attached. Moving to ASSIGNED.
Created attachment 795580 [details]
Created attachment 795581 [details]
Created attachment 795582 [details]
Created attachment 795583 [details]
Created attachment 795584 [details]
Created attachment 795585 [details]
Patch pushed, commit 5b136c01148b8d78fa4d779d05704cef9f582813.
Anaconda upgrade using kickstart rebooted at the end of the upgrade, system booted correctly. Retested with anaconda-13.21.211-1.el6, compose RHEL6.5-20131009.0.
Moving to VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.