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 1957063 - RHSM DBus API is not available
Summary: RHSM DBus API is not available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Vendula Poncova
QA Contact: Release Test Team
URL:
Whiteboard:
: 1976141 (view as bug list)
Depends On:
Blocks: 1942219 1971841
TreeView+ depends on / blocked
 
Reported: 2021-05-05 00:03 UTC by Brian Lane
Modified: 2022-05-17 12:43 UTC (History)
6 users (show)

Fixed In Version: anaconda-34.25.0.21-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:30:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.log (25.60 KB, text/plain)
2021-05-05 15:54 UTC, Brian Lane
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RTT-4009 0 None None None 2021-11-16 16:43:33 UTC
Red Hat Issue Tracker RTT-4010 0 None None None 2021-11-16 16:43:40 UTC
Red Hat Product Errata RHBA-2022:2326 0 None None None 2022-05-17 12:30:55 UTC

Description Brian Lane 2021-05-05 00:03:28 UTC
Description of problem:

Running livemedia-creator --no-virt on RHEL9 fails because it expects the RHSM DBus api to be running. Note that livemedia-creator work when using virt and a boot.iso so the problem is related to running anaconda directly from lmc.

livemedia-creator should work without this.

I don't really understand all the dbus changes to Anaconda, but I was able to work around it using this:

https://github.com/rhinstaller/anaconda/pull/3337

Comment 1 Vendula Poncova 2021-05-05 10:22:23 UTC
Could you attach logs from the installation, please?

Comment 2 Brian Lane 2021-05-05 15:54:42 UTC
Created attachment 1779848 [details]
anaconda.log

Comment 3 Vendula Poncova 2021-06-28 12:28:20 UTC
The issue should be fixed in upstream with https://github.com/rhinstaller/anaconda/pull/3464.

Comment 4 Jan Stodola 2021-08-19 16:12:34 UTC
*** Bug 1976141 has been marked as a duplicate of this bug. ***

Comment 5 Brian Lane 2021-10-26 22:10:30 UTC
Still a problem when using anaconda-tui-34.25.0.17-1.el9.x86_64

Comment 6 Brian Lane 2021-11-04 18:37:51 UTC
@jstodola I tested this by copying the rhel.conf to /etc/anaconda/conf.d/99-lmc.conf and removing the subscription module from the list. Everything ran fine, so I don't anticipate any other issues with this patch. livemedia-creator using unshare is working fine.

Comment 8 Jiri Konecny 2021-11-11 13:24:22 UTC
(In reply to Brian Lane from comment #6)
> @jstodola I tested this by copying the rhel.conf to
> /etc/anaconda/conf.d/99-lmc.conf and removing the subscription module from
> the list. Everything ran fine, so I don't anticipate any other issues with
> this patch. livemedia-creator using unshare is working fine.

Just to be clear. Do I understand it correctly that removing the subscription module from the list of modules is enough to solve this issue? If yes, than I don't think we need to apply patch from the comment 3.

Comment 9 Brian Lane 2021-11-11 17:26:38 UTC
(In reply to Jiri Konecny from comment #8)
> (In reply to Brian Lane from comment #6)
> > @jstodola I tested this by copying the rhel.conf to
> > /etc/anaconda/conf.d/99-lmc.conf and removing the subscription module from
> > the list. Everything ran fine, so I don't anticipate any other issues with
> > this patch. livemedia-creator using unshare is working fine.
> 
> Just to be clear. Do I understand it correctly that removing the
> subscription module from the list of modules is enough to solve this issue?
> If yes, than I don't think we need to apply patch from the comment 3.

No, that was just me doing a test to make sure that there were no issues deeper inside anaconda. I had to manually edit the config file, which changes the behavior for the whole system, not just the livemedia-creator run, so we do need the fix in order to not interfere with other users of anaconda or normal subscription operation.

Comment 10 Brian Lane 2021-11-15 19:52:55 UTC
Note that this may also be a problem on CentOS since it doesn't install subscription-manager. I've built an iso using content from https://odcs.stream.centos.org/test/latest-CentOS-Stream/compose/ and it ends up with the connect to redhat spoke, but when you try to exit from it without filling anything in you get a traceback with 'RHSM DBus API is not available'

Comment 13 Jan Stodola 2021-11-16 17:22:09 UTC
Just for the record, update for the Customizing Anaconda guide was requested in bug 2023851, Image Builder update in bug 2023855.

Comment 14 Vendula Poncova 2021-11-23 11:48:44 UTC
Fixed in https://github.com/rhinstaller/anaconda/pull/3716.

Comment 15 Jan Stodola 2021-11-30 10:48:40 UTC
Reproduced with anaconda-34.25.0.20-1.el9.
Verified with anaconda-34.25.0.21-1.el9, it's possible to build an image with "livemedia-creator --no-virt" and anaconda shows the kpump and oscap addons when running regular installation from boot.iso.

Comment 18 Jan Stodola 2021-12-06 11:43:39 UTC
anaconda-34.25.0.21-1.el9 is present in RHEL-9.0.0-20211205.3, moving to VERIFIED.

Comment 23 errata-xmlrpc 2022-05-17 12:30:42 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: anaconda), 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:2326


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