-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
None
-
rhc-0.2.4-5.el9
-
None
-
Moderate
-
rhel-sst-insights
-
None
-
False
-
-
None
-
None
-
None
What were you trying to do that didn't work?
I built a RHEL for Edge system using osbuild and included `rhc` as part of the blueprint. When I tried to use `rhc connect` to connect the system, the operation failed because it could not register with RHSM. It could not register with RHSM because `subscription-manager` was not installed.
Since the `rhc connect` operation will attempt to register with RHSM, it should not assume that `subscription-manager` is installed by default and should require `subscription-manger` as part to the install process.
Please provide the package NVR for which bug is seen:
rhc-0.2.4-3.el9_3.x86_64
How reproducible:
Always
Steps to reproduce
- Create osbuild blueprint that includes `rhc`
- Use osbuild to produce an `edge-commit` artifact
- Use osbuild to produce an `edge-installer` artifact
- Install the `edge-installer` artifact
- Try to run `rhc connect`
Expected results
The RHC client will successfully try to register with RHSM and Insights, before connecting to hosted services.
Actual results
When trying to run `rhc connect` on a system that has `insights-client` installed but not `subscription-manager`, the following is observed:
$ sudo rhc connect
This might take a few seconds.
! Cannot connect to Red Hat Subscription Management
● Skipping connection to Red Hat Insights
● Skipping activation of Remote Host Configuration daemon
Manage your connected systems: https://red.ht/connector
The following errors were encountered during connect:
TYPE STEP ERROR
ERROR rhsm cannot connect to Red Hat Subscription Management: unable to parse D-Bus error due to unsupported error name: org.freedesktop.DBus.Error.ServiceUnknown
- is related to
-
RHEL-18971 insights-client should require subscription-manager
- Closed
- links to
-
RHBA-2024:127866 rhc update
- mentioned on