RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2046612 - dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'
Summary: dasbus.error.DBusError: [Errno 2] No such file or directory: 'kdumpctl'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: kdump-anaconda-addon
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.0
Assignee: Coiby
QA Contact: Jie Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-27 04:18 UTC by Xiaofeng Wang
Modified: 2022-08-30 04:08 UTC (History)
3 users (show)

Fixed In Version: kdump-anaconda-addon-006-13.20220128git9603258.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:50:18 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-109939 0 None None None 2022-01-27 04:24:02 UTC
Red Hat Product Errata RHBA-2022:2407 0 None None None 2022-05-17 12:50:23 UTC

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


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