Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1680042

Summary: dnf system-upgrade from f29 to f30 does not reboot after upgrading
Product: [Fedora] Fedora Reporter: François Cami <fcami>
Component: dnf-plugin-system-upgradeAssignee: Orphan Owner <extras-orphan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: awilliam, extras-orphan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-22 16:44:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description François Cami 2019-02-22 15:42:55 UTC
Description of problem:

After disabling the modular repos ( https://bugzilla.redhat.com/show_bug.cgi?id=1656509 ), dnf system-upgrade manages to upgrade to f30, but does not reboot at the end of the upgrade process.


Version-Release number of selected component (if applicable):
python3-dnf-plugin-system-upgrade-4.0.2-1.fc{29,30}


How reproducible:
Seemingly always?


Steps to Reproduce:
1. rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary
2. dnf -y system-upgrade download --refresh --releasever=30 --allowerasing
3. dnf -y system-upgrade reboot

This is my %post:

%post

for repo in fedora-modular updates-modular f29
do dnf config-manager --set-disabled $repo
done

dnf -y install dnf-plugin-system-upgrade
dnf -y update --exclude=kernel*

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary
dnf -y system-upgrade download --refresh --releasever=30 --allowerasing
dnf -y system-upgrade reboot

%end


Actual results:
Upgrade happens, but the system sits forever at the "Upgrade complete! Cleaning up and Rebooting..." stage.
Systemd says  "reached target Offline System Update"


Expected results:
Rebooting at the end of upgrade


Additional info:
Sending CTRL+ALT+DEL is enough to reboot the system properly into f30.

Comment 1 Adam Williamson 2019-02-22 16:44:05 UTC

*** This bug has been marked as a duplicate of bug 1674045 ***