Bug 1983977
| Summary: | Unable to download latest insights-client Core Egg on clients after upgrading Satellite to 6.9.x | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Jeffers <jjeffers> |
| Component: | RH Cloud - Inventory | Assignee: | Shimon Shtein <sshtein> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | ahumbe, aruzicka, mmccune, osousa, peter.vreman, sshtein |
| Target Milestone: | 6.9.4 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-foreman_rh_cloud-3.0.24.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1982468 | Environment: | |
| Last Closed: | 2021-07-29 12:58:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 2
Mike McCune
2021-07-20 17:06:00 UTC
VERIFIED:
After upgrade to 6.9.4 ( latest SNAP)
We can register the client system successfully to Red Hat Insights via Satellite server.
From Satellite server:
# rpm -qa | grep rh_cloud
tfm-rubygem-foreman_rh_cloud-3.0.24.1-1.el7sat.noarch
From client system:
# insights-client --version
Client: 3.1.1
Core: 3.0.233-1
From logs we can confirm that insight-core.egg was downloaded successfully.
2021-07-26T13:35:04 [I|app|e9b5490b] Started GET "/redhat_access/r/insights/platform/module-update-router/v1/channel?module=insights-core" for 10.65.211.68 at 2021-07-26 13:
35:04 -0400
2021-07-26T13:35:04 [I|app|e9b5490b] Processing by InsightsCloud::Api::MachineTelemetriesController#forward_request as JSON
2021-07-26T13:35:04 [I|app|e9b5490b] Parameters: {"module"=>"insights-core", "path"=>"platform/module-update-router/v1/channel"}
2021-07-26T13:35:04 [I|app|a0b51114] Started GET "/notification_recipients" for 10.64.54.31 at 2021-07-26 13:35:04 -0400
2021-07-26T13:35:04 [I|app|a0b51114] Processing by NotificationRecipientsController#index as JSON
2021-07-26T13:35:04 [I|app|a0b51114] Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 2241)
2021-07-26T13:35:04 [I|app|e9b5490b] Completed 200 OK in 358ms (Views: 0.2ms | ActiveRecord: 2.4ms | Allocations: 5575)
2021-07-26T13:35:04 [I|app|53ee7b8c] Started GET "/redhat_access/r/insights/v1/static/testing/insights-core.egg" for 10.65.211.68 at 2021-07-26 13:35:04 -0400
2021-07-26T13:35:04 [I|app|53ee7b8c] Processing by InsightsCloud::Api::MachineTelemetriesController#forward_request as
2021-07-26T13:35:04 [I|app|53ee7b8c] Parameters: {"path"=>"v1/static/testing/insights-core"}
2021-07-26T13:35:04 [I|app|53ee7b8c] Completed 200 OK in 455ms (Views: 0.3ms | ActiveRecord: 1.2ms | Allocations: 7586)
Debug log for reference:
2021-07-26T13:48:08 [I|app|d07885fd] Started GET "/redhat_access/r/insights/v1/static/testing/insights-core.egg" for 10.65.211.68 at 2021-07-26 13:48:08 -0400
2021-07-26T13:48:08 [I|app|d07885fd] Processing by InsightsCloud::Api::MachineTelemetriesController#forward_request as
2021-07-26T13:48:08 [I|app|d07885fd] Parameters: {"path"=>"v1/static/testing/insights-core"}
2021-07-26T13:48:08 [D|tax|d07885fd] Current location set to none
2021-07-26T13:48:08 [D|tax|d07885fd] Current organization set to none
2021-07-26T13:48:08 [D|app|d07885fd] Request parameters for telemetry request: {"branch_id"=>"59efaa03-1810-4936-936c-b200064a1286"}
2021-07-26T13:48:08 [D|app|d07885fd] User agent for telemetry is: Foreman/2.3.1.21;foreman_rh_cloud/3.0.24.1;insights-client/3.1.1 (Core 3.0.233; requests 2.6.0) Red Hat Ent
erprise Linux Server 7.6 (CPython 2.7.5; Linux 3.10.0-957.1.3.el7.x86_64); systemd
2021-07-26T13:48:08 [D|app|d07885fd] Sending request to: https://cert-api.access.redhat.com/r/insights/v1/static/testing/insights-core.egg
2021-07-26T13:48:08 [D|app|d07885fd] RestClient.get "https://cert-api.access.redhat.com/r/insights/v1/static/testing/insights-core.egg?branch_id=59efaa03-1810-4936-936c-b200
064a1286", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Type"=>"", "User-Agent"=>"Foreman/2.3.1.21;foreman_rh_cloud/3.0.24.1;insights-client/3.1.1 (Core 3.0
.233; requests 2.6.0) Red Hat Enterprise Linux Server 7.6 (CPython 2.7.5; Linux 3.10.0-957.1.3.el7.x86_64); systemd"
d07885fd |
2021-07-26T13:48:08 [D|app|d07885fd] # => 200 OK | text/plain 1231003 bytes
d07885fd |
2021-07-26T13:48:08 [I|app|d07885fd] Completed 200 OK in 448ms (Views: 0.2ms | ActiveRecord: 1.3ms | Allocations: 7010)
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 (Satellite 6.9.4 Async Bug Fix Update), 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-2021:2948 |