Bug 2046612

Summary: dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'
Product: Red Hat Enterprise Linux 9 Reporter: Xiaofeng Wang <xiaofwan>
Component: kdump-anaconda-addonAssignee: Coiby <coxu>
Status: CLOSED ERRATA QA Contact: Jie Li <jieli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jieli, jstodola, xiawu
Target Milestone: rcKeywords: Triaged
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kdump-anaconda-addon-006-13.20220128git9603258.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:50:18 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 Xiaofeng Wang 2022-01-27 04:18:31 UTC
Description of problem:
When I install ostree RHEL 9 system with anaconda, I got "dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'" error.
Error log:

Setting up the installation environment
Configuring storage
Creating disklabel on /dev/vda
Creating xfs on /dev/vda3
Creating xfs on /dev/vda2
Creating efi on /dev/vda1
..
Running pre-installation scripts
.
Running pre-installation tasks
....
Installing.
Starting pull of rhel/9/x86_64/edge from edge-commit
Receiving objects: 39% (2354/6025) 71.5 MB
Receiving objects: 44% (3866/8732) 115.3 MB
Receiving objects: 42% (5552/13128) 175.9 MB
Writing objects
Receiving objects: 60% (9411/15675) 273.8 MB
Receiving objects: 53% (11279/21094) 317.6 MB
Receiving objects: 60% (13488/22121) 354.6 MB
Receiving objects: 67% (15738/23297) 384.5 MB
Receiving objects: 74% (17836/23952) 415.3 MB
Receiving objects: 78% (19762/25050) 438.5 MB
Receiving objects: 83% (21824/26191) 470.9 MB
Receiving objects: 96% (25303/26218) 590.9 MB
Preparing deployment of rhel/9/x86_64/edge
Deployment starting: rhel/9/x86_64/edge
Deployment complete: rhel/9/x86_64/edge
.
Configuring storage
.
Installing boot loader

An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details

===============================================================================
An unknown error has occurred
===============================================================================
anaconda 34.25.0.24 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation.py", line 396, in run_installation
    queue.start()
  File "/usr/lib64/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'

Version-Release number of selected component (if applicable):
anaconda 34.25.0.24

How reproducible:
Steps to Reproduce:
1. Deploy a RHEL 9 VM on PSI openstack
2. Run ostree.sh from https://github.com/virt-s1/rhel-edge/blob/main/ostree.sh

Actual results:
Got "dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'" error.

Expected results:
Install without error.

Comment 1 Jan Stodola 2022-01-27 08:37:53 UTC
Xiaofeng Wang, would it be possible to provide /tmp/anaconda-tb* from the installation environment?

The error most likely comes from kdump-anaconda-addon, so I'm reassigning the bug for their review.

Comment 3 Coiby 2022-01-27 13:18:32 UTC
According to the anaconda team, currently kdump-anaconda-addon's request to install kexec-tools (which contains kdumpctl) is ignored when installing ostree system so kdumpctl is not available in this case. I'll make a new release to fix this issue tomorrow.

Comment 12 Xiaofeng Wang 2022-02-10 06:34:14 UTC
Verified on kdump-anaconda-addon-006-13.20220128git9603258.el9.noarch.rpm, anaconda-34.25.0.26-1.el9.x86_64.rpm.

Comment 14 errata-xmlrpc 2022-05-17 12:50:18 UTC
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 (new packages: kdump-anaconda-addon), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2407