-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
None
-
insights-client-3.2.2-2.el9
-
None
-
None
-
rhel-sst-insights
-
26
-
None
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
Pass
-
None
-
Unspecified Release Note Type - Unknown
-
None
What were you trying to do that didn't work?
I tried to use `insights-client` with a RHEL for Edge system, by including `insights-client` in the blueprint used to produce the RHEL for Edge commit.
Once I booted the RHEL for Edge system, I tried to use `insights-client --register` but it failed because I didn't have any RHSM certs present on my system.
When I tried to run `subscription-manager register` to get the necessary certificates, I found that the `subscription-manager` command was not available.
I propose that because the preferred methods for registering with Insights are either RHSM certs or activation keys, the `subscription-manager` package should be required to be installed with `insights-client`.
Please provide the package NVR for which bug is seen:
insights-client-3.2.2-1.el9_3.noarch
How reproducible:
Always
Steps to reproduce
1. Create osbuild blueprint that includes `insights-client`
2. Use osbuild to produce an `edge-commit` artifact
3. Use osbuild to produce an `edge-installer` artifact
4. Install the `edge-installer` artifact
5. Try to run `insights-client --register`
Expected results
`subscription-manager` is an install requirement for `insights-client`
Actual results
After running `insights-client --register` on the system, I see the following:
$ sudo insights-client --register Unable to fetch egg url https://cert-api.access.redhat.com/r/insights/platform/module-update-router/v1/channel?module=insights-core: 401: Unauthorized. Defaulting to /release Please ensure that the system is registered with RHSM for CERT auth, or that correct credentials are set in /etc/insights-client/insights-client.conf for BASIC auth. Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`
But since `subscription-manager` was not pulled in during the install of `insights-client`, I am unable to register with RHSM
- relates to
-
RHEL-18974 rhc should require subscription-manager at install time
- Closed
- links to
-
RHBA-2024:127921 insights-client update