Bug 1607093

Summary: "dnf system-update --releasever=28" failing
Product: [Fedora] Fedora Reporter: waya208
Component: dnfAssignee: rpm-software-management
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dmach, mblaha, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-04 21:39:25 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:
Attachments:
Description Flags
dnf.log output file none

Description waya208 2018-07-21 20:54:55 UTC
Created attachment 1469691 [details]
dnf.log output file

Description of problem:
When attempting to do a package manager upgrade from F27 to F28, an unexpected bug occurs.


Version-Release number of selected component (if applicable):
dnf-2.7.5-2.fc27.noarch
dnf-conf-2.7.5-2.fc27.noarch
dnf-plugins-core-2.1.5-4.fc27.noarch
dnf-yum-2.7.5-2.fc27.noarch
libdnf-0.11.1-1.fc27.x86_64
python2-dnf-2.7.5-2.fc27.noarch
python3-dnf-2.7.5-2.fc27.noarch
python3-dnf-plugins-core-2.1.5-4.fc27.noarch
python3-dnf-plugins-extras-common-2.0.5-1.fc27.noarch
python3-dnf-plugin-system-upgrade-2.0.5-1.fc27.noarch


How reproducible:
Every attempt on two different computers has failed.  One desktop, one laptop.  Desktop is BIOS, laptop is UEFI.  Both running F27.


Steps to Reproduce (On system with F27 installed):
1. dnf --refresh update  (successful)
2. reboot  (successful)
3. dnf install dnf-plugin-system-upgrade  (successful)
4. dnf system-upgrade download --releasever=28  (fails)


Actual results:
(root)~-> dnf system-upgrade download --releasever=28 --allowerasing -v
Failed loading plugin: system_upgrade
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync
DNF version: 2.7.5
cachedir: /var/cache/dnf
No such command: system-upgrade. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(system-upgrade)'"


Expected results:
F28 packages downloaded, system prepared for upgrade reboot.

Additional info:
dnf.log file also attached

Comment 1 waya208 2018-08-13 18:13:16 UTC
Workaround found.

Manually running "pip3 install systemd --upgrade" fixed the issue.

Comment 2 Jaroslav Mracek 2019-04-04 21:39:25 UTC
It looks lite that the problem was in import of systemd. I believe that we cannot do much here. Thank you very much for an investigation and provided solution.