-
Bug
-
Resolution: Done
-
Major
-
None
-
stream
Description of problem:
Running the `insights-client --register` always ends with error:
Unable to fetch egg url https://sat.com:443/redhat_access/r/insights/platform/module-update-router/v1/channel?module=insights-core: 500: Internal Server Error. Defaulting to /release Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister` [root@ip-10-0-167-158 ~]# insights-client --register Unable to fetch egg url https://sat.com:443/redhat_access/r/insights/platform/module-update-router/v1/channel?module=insights-core: 500: Internal Server Error. Defaulting to /release Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`
From the application log:
2024-10-22T04:35:12 [I|app|c1b2ae1e] Started GET "/redhat_access/r/insights/platform/module-update-router/v1/channel?module=insights-core" for 10.0.167.158 at 2024-10-22 04:35:12 -0400 2024-10-22T04:35:12 [I|app|c1b2ae1e] Processing by InsightsCloud::Api::MachineTelemetriesController#forward_request as JSON 2024-10-22T04:35:12 [I|app|c1b2ae1e] Parameters: {"module"=>"insights-core", "path"=>"platform/module-update-router/v1/channel"} 2024-10-22T04:35:12 [D|tax|c1b2ae1e] Current location set to none 2024-10-22T04:35:12 [D|tax|c1b2ae1e] Current organization set to none 2024-10-22T04:35:12 [D|app|c1b2ae1e] Request parameters for telemetry request: {"module"=>"insights-core", "branch_id"=>"d5b45498-afa5-4d33-a786-31cf46194faf"} 2024-10-22T04:35:12 [W|app|c1b2ae1e] Action failed 2024-10-22T04:35:12 [I|app|c1b2ae1e] Backtrace for 'Action failed' error (NameError): uninitialized constant ForemanRhCloud::VERSION c1b2ae1e | Did you mean? VersionGem . . .
How reproducible:
On stream always. It's not related to the RHEL version.
Is this issue a regression from an earlier version:
Stream only, caused by the Zeitwerk changes
Steps to Reproduce:
1. Have RHEL host registered to Satellite
2. Run `insights-client --register`
3. Profit
Actual behavior:
See error above
Expected behavior:
It should be working, duh.