Bug 1733537 - pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: error reading package header: '/run/install/repo/Packages/f/filesystem-3.12-1.fc31.ppc64le.rpm'Traceback (most recent call last):
Summary: pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 31
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5f423bcfb521fc0ef66107c9b6b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-26 12:23 UTC by Michel Normand
Modified: 2020-05-14 12:41 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-14 12:41:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.54 MB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: anaconda.log (44.77 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: dbus.log (2.92 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: environ (637 bytes, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: lorax-packages.log (25.16 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: lsblk_output (2.24 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: lvm.log (418.90 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: nmcli_dev_list (1.61 KB, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: os_info (699 bytes, text/plain)
2019-07-26 12:23 UTC, Michel Normand
no flags Details
File: program.log (69.93 KB, text/plain)
2019-07-26 12:24 UTC, Michel Normand
no flags Details
File: storage.log (193.64 KB, text/plain)
2019-07-26 12:24 UTC, Michel Normand
no flags Details
File: syslog (286.79 KB, text/plain)
2019-07-26 12:24 UTC, Michel Normand
no flags Details
File: packaging.log (19.56 KB, text/plain)
2019-07-26 12:24 UTC, Michel Normand
no flags Details

Description Michel Normand 2019-07-26 12:23:42 UTC
Description of problem:
try to install rawhide compose 20190724 ppc64le server dvd iso on a libvirt guest on a ppc64le host with f30.

Version-Release number of selected component:
anaconda-31.20

The following was filed automatically by anaconda:
anaconda 31.20 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.7/site-packages/pyanaconda/payload/dnfpayload.py", line 1059, in install
    raise PayloadError(msg)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 472, in start
    self.run_task()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation.py", line 406, in run_installation
    queue.start()
  File "/usr/lib64/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: error reading package header: '/run/install/repo/Packages/f/filesystem-3.12-1.fc31.ppc64le.rpm'Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/dnf/rpm/__init__.py", line 79, in _header
    hdr = ts.hdrFromFdno(fdno)
  File "/usr/lib64/python3.7/site-packages/rpm/transaction.py", line 185, in hdrFromFdno
    raise rpm.error("error reading package header")
_rpm.error: error reading package header

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/pyanaconda/payload/dnfpayload.py", line 281, in do_transaction
    base.do_transaction(display=display)
  File "/usr/lib/python3.7/site-packages/dnf/base.py", line 834, in do_transaction
    self.transaction._populate_rpm_ts(self._ts)
  File "/usr/lib/python3.7/site-packages/dnf/db/group.py", line 304, in _populate_rpm_ts
    hdr = tsi.pkg._header
  File "/usr/lib/python3.7/site-packages/dnf/package.py", line 93, in _header
    return dnf.rpm._header(self.localPkg())
  File "/usr/lib/python3.7/site-packages/dnf/rpm/__init__.py", line 81, in _header
    raise dnf.exceptions.Error("{0}: '{1}'".format(e, path))
dnf.exceptions.Error: error reading package header: '/run/install/repo/Packages/f/filesystem-3.12-1.fc31.ppc64le.rpm'


Additional info:
addons:         com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-ppc64le-rawh ro
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
hawkey.log:     INFO Jul-26 12:13:38 === Started libdnf-0.35.1 ===
kernel:         5.3.0-0.rc1.git1.1.fc31.ppc64le
product:        Fedora
release:        Fedora release 31 (Rawhide)
release_type:   pre-release
type:           anaconda
version:        rawhide

Comment 1 Michel Normand 2019-07-26 12:23:47 UTC
Created attachment 1593688 [details]
File: anaconda-tb

Comment 2 Michel Normand 2019-07-26 12:23:49 UTC
Created attachment 1593689 [details]
File: anaconda.log

Comment 3 Michel Normand 2019-07-26 12:23:50 UTC
Created attachment 1593690 [details]
File: dbus.log

Comment 4 Michel Normand 2019-07-26 12:23:52 UTC
Created attachment 1593691 [details]
File: environ

Comment 5 Michel Normand 2019-07-26 12:23:53 UTC
Created attachment 1593692 [details]
File: lorax-packages.log

Comment 6 Michel Normand 2019-07-26 12:23:55 UTC
Created attachment 1593693 [details]
File: lsblk_output

Comment 7 Michel Normand 2019-07-26 12:23:57 UTC
Created attachment 1593694 [details]
File: lvm.log

Comment 8 Michel Normand 2019-07-26 12:23:58 UTC
Created attachment 1593695 [details]
File: nmcli_dev_list

Comment 9 Michel Normand 2019-07-26 12:23:59 UTC
Created attachment 1593696 [details]
File: os_info

Comment 10 Michel Normand 2019-07-26 12:24:01 UTC
Created attachment 1593697 [details]
File: program.log

Comment 11 Michel Normand 2019-07-26 12:24:03 UTC
Created attachment 1593698 [details]
File: storage.log

Comment 12 Michel Normand 2019-07-26 12:24:06 UTC
Created attachment 1593699 [details]
File: syslog

Comment 13 Michel Normand 2019-07-26 12:24:07 UTC
Created attachment 1593700 [details]
File: packaging.log

Comment 14 Jiri Konecny 2019-07-29 08:14:35 UTC
This looks like a broken repository. Could you please try to reproduce this issue by installing from another source?

Comment 15 Ben Cotton 2019-08-13 16:59:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 16 Ben Cotton 2019-08-13 18:53:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 17 Paul Whalen 2019-09-11 22:00:25 UTC
Similar problem has been detected:

Attempting to install an armv7 guest on aarch64

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   console=ttyAMA0 rw ks=file:/minimal.ks  inst.repo=https://kojipkgs.fedoraproject.org/compose/31/Fedora-31-20190911.0/compose/Everything/armhfp/os/
dnf.librepo.log: 
hashmarkername: anaconda
hawkey.log:     INFO Sep-11 21:51:14 === Started libdnf-0.35.3 ===
kernel:         5.3.0-0.rc6.git0.1.fc31.armv7hl
package:        anaconda-31.22.3
product:        Fedora
reason:         pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: Transaction check error:
release:        Fedora release 31 (Thirty One)
release_type:   pre-release
version:        31

Comment 18 Vendula Poncova 2019-09-12 08:49:56 UTC
From syslog:

12:13:33,581 WARNING kernel:CPU: 3 PID: 2495 Comm: lvm Not tainted 5.3.0-0.rc1.git1.1.fc31.ppc64le #1
12:13:33,581 WARNING kernel:NIP:  c0000000001d7a50 LR: c0000000001d78d0 CTR: c000000000e55ba0
12:13:33,581 WARNING kernel:REGS: c000000014147620 TRAP: 0700   Not tainted  (5.3.0-0.rc1.git1.1.fc31.ppc64le)
12:13:33,581 WARNING kernel:MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 48422824  XER: 20000000
12:13:33,581 WARNING kernel:CFAR: c0000000001d78d4 IRQMASK: 0 #012GPR00: c00000000016f800 c0000000141478b0 c000000001bd0700 0000000000000001 #012GPR04: c0000000010ff118 c000000001daf188 0000000000000000 0000000000000200 #012GPR08: c0000000019800d8 c000000002ba0000 c0000000019800e8 29f54ed8fb2a5f1f #012GPR12: 0000000000002200 c00000003fffbc00 00000100186d3ab0 00007fff92934f10 #012GPR16: 00007fff92934f10 00007fff92934f10 00007fff92934f10 00007fff92963f28 #012GPR20: 00007fffdc85a9b0 00007fff9293e2a0 0000000000000131 0000000000000001 #012GPR24: 0000000000000000 c000000001980138 c000000014147aa8 c0000000011ab418 #012GPR28: c000000001980020 c000000001daedb0 c000000001980178 c000000001980138 
12:13:33,581 WARNING kernel:NIP [c0000000001d7a50] lockdep_register_key+0x1a0/0x1b0
12:13:33,581 WARNING kernel:LR [c0000000001d78d0] lockdep_register_key+0x20/0x1b0
12:13:33,581 WARNING kernel:Call Trace:
12:13:33,581 WARNING kernel:[c0000000141478b0] [c000000000480f24] kmem_cache_alloc_trace+0x4e4/0x530 (unreliable)
12:13:33,581 WARNING kernel:[c000000014147920] [c00000000016f800] alloc_workqueue+0x160/0x680
12:13:33,581 WARNING kernel:[c0000000141479e0] [c000000000aede48] dm_create+0x438/0x6a0
12:13:33,581 WARNING kernel:[c000000014147a80] [c000000000af8c94] dev_create+0x74/0x130
12:13:33,581 WARNING kernel:[c000000014147ad0] [c000000000af8214] ctl_ioctl+0x1e4/0x6b0
12:13:33,582 WARNING kernel:[c000000014147cf0] [c000000000af8700] dm_ctl_ioctl+0x20/0x30
12:13:33,582 WARNING kernel:[c000000014147d10] [c0000000005003d0] do_vfs_ioctl+0xa20/0xca0
12:13:33,582 WARNING kernel:[c000000014147db0] [c000000000500714] ksys_ioctl+0xc4/0x110
12:13:33,582 WARNING kernel:[c000000014147e00] [c000000000500788] sys_ioctl+0x28/0x80
12:13:33,582 WARNING kernel:[c000000014147e20] [c00000000000bce4] system_call+0x5c/0x70
12:13:33,582 WARNING kernel:Instruction dump:
12:13:33,582 WARNING kernel:2c090000 4082ff70 3c82ff53 3c62ff53 38844130 3863a518 4bf5e61d 60000000 
12:13:33,582 WARNING kernel:0fe00000 4bffff50 60000000 60000000 <0fe00000> 4bffff50 60000000 60000000 
12:13:33,582 WARNING kernel:irq event stamp: 30414
12:13:33,582 WARNING kernel:hardirqs last  enabled at (30413): [<c000000000e65e94>] _raw_spin_unlock_irqrestore+0x94/0xd0
12:13:33,582 WARNING kernel:hardirqs last disabled at (30414): [<c0000000000090a0>] program_check_common+0x180/0x190
12:13:33,582 WARNING kernel:softirqs last  enabled at (30392): [<c000000000b9ebc0>] peernet2id+0x60/0x80
12:13:33,582 WARNING kernel:softirqs last disabled at (30390): [<c000000000b9eb98>] peernet2id+0x38/0x80
12:13:33,582 WARNING kernel:---[ end trace b5835231d3f22f8f ]---
12:13:34,360 NOTICE kernel:XFS (dm-2): Mounting V5 Filesystem
12:13:34,610 WARNING kernel:XFS (dm-2): Corruption warning: Metadata has LSN (5:8403) ahead of current LSN (5:8149). Please unmount and run xfs_repair (>= v4.3) to resolve.
12:13:34,611 WARNING kernel:XFS (dm-2): log mount/recovery failed: error -22
12:13:34,680 WARNING kernel:XFS (dm-2): log mount failed

I am not sure how much is it related, but there are call traces from kernel in the logs.

Comment 19 Paul Whalen 2019-10-23 16:33:21 UTC
Similar problem has been detected:

Attempting an Armv7 guest install on aarch64 (seattle)

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   console=ttyAMA0 rw ks=file:/minimal.ks  inst.repo=https://kojipkgs.fedoraproject.org/compose/31/Fedora-31-20191022.4/compose/Everything/armhfp/os/
dnf.librepo.log: 
hashmarkername: anaconda
hawkey.log:     INFO Oct-23 16:26:43 === Started libdnf-0.35.3 ===
kernel:         5.3.7-301.fc31.armv7hl
package:        anaconda-31.22.6
product:        Fedora
reason:         pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: Transaction check error:
release:        Fedora release 31 (Thirty One)
version:        31

Comment 20 Michel Normand 2020-05-14 07:17:11 UTC
no more occurence for ppc64le with f32, so either close or reports as arm problem.

Comment 21 Paul Whalen 2020-05-14 12:41:09 UTC
I have not seen this on arm in F32, closing.


Note You need to log in before you can comment on or make changes to this bug.