Bug 2043038

Summary: [abrt] dnf: _revert_transaction(): history.py:233:_revert_transaction:KeyError: 'Reason Change'
Product: [Fedora] Fedora Reporter: Yann Droneaud <yann>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: daniel.mach, jmracek, jrohel, mblaha, mhatina, nsella, packaging-team-maint, pkratoch, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c1d7c875b65fb64a600a89eada767ca133ad21ca
Whiteboard: abrt_hash:f478f4211d9e2ac868426f469f1e0a61d7c074d1;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-24 12:51:48 UTC Type: ---
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
File: _var_log_dnf.log
none
File: backtrace
none
File: cpuinfo
none
File: dnf-makecache.log
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Yann Droneaud 2022-01-20 14:18:04 UTC
Description of problem:
Tried to rollback the most recent transaction: it failed with a python trace

Version-Release number of selected component:
dnf-4.10.0-1.fc36

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/dnf history undo 341
crash_function: _revert_transaction
exception_type: KeyError
executable:     /usr/bin/dnf
interpreter:    python3-3.10.1-3.fc36.x86_64
kernel:         5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
#1 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:233] _revert_transaction
#2 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:190] _hcmd_undo
#3 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:342] run
#4 [/usr/lib/python3.10/site-packages/dnf/cli/cli.py:1055] run
#5 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:122] cli_run
#6 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:106] _main
#7 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:67] main
#8 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:201] user_main
#9 [/usr/bin/dnf:58] <module>

Potential duplicate: bug 1966550

Comment 1 Yann Droneaud 2022-01-20 14:18:09 UTC
Created attachment 1852170 [details]
File: _var_log_dnf.log

Comment 2 Yann Droneaud 2022-01-20 14:18:10 UTC
Created attachment 1852171 [details]
File: backtrace

Comment 3 Yann Droneaud 2022-01-20 14:18:11 UTC
Created attachment 1852172 [details]
File: cpuinfo

Comment 4 Yann Droneaud 2022-01-20 14:18:15 UTC
Created attachment 1852173 [details]
File: dnf-makecache.log

Comment 5 Yann Droneaud 2022-01-20 14:18:17 UTC
Created attachment 1852174 [details]
File: environ

Comment 6 Yann Droneaud 2022-01-20 14:18:18 UTC
Created attachment 1852175 [details]
File: mountinfo

Comment 7 Yann Droneaud 2022-01-20 14:18:19 UTC
Created attachment 1852176 [details]
File: namespaces

Comment 8 Yann Droneaud 2022-01-20 14:18:21 UTC
Created attachment 1852177 [details]
File: open_fds

Comment 9 Yann Droneaud 2022-01-20 14:24:12 UTC
Duplicate of bug #2010259

Comment 10 Nicola Sella 2022-01-24 12:51:48 UTC

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