Bug 1984550
Summary: | insights-client --test-connection fails when using general "HTTP(S) proxy" setting of satellite. | ||
---|---|---|---|
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: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.9.0 | CC: | ahumbe, aruzicka, bbuckingham, osousa, pcreech, rexwhite, sshtein |
Target Milestone: | 6.9.6 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.0.26 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1973285 | Environment: | |
Last Closed: | 2021-09-21 14:37:26 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 1
Ashish Humbe
2021-07-26 18:32:03 UTC
When we use legacy_upload = False option in the /etc/insights-client/insights-client.conf I see the --test-connection works properly # insights-client --test-connection --net-debug GET https://dhcp130-146.gsslab.pnq2.redhat.com:443/redhat_access/r/insights/v1/branch_info GET branch_info status: 200 Running Connection Tests... === Begin Upload URL Connection Test === Testing https://dhcp130-146.gsslab.pnq2.redhat.com:443/redhat_access/r/insights/platform/ingress/v1/upload HTTP Status Code: 202 HTTP Status Text: Accepted HTTP Response Text: {"request_id":"12b555601eda4fb48bc624d0a2f0d463","upload":{"account_number":"540155"}} Successfully connected to: https://dhcp130-146.gsslab.pnq2.redhat.com:443/redhat_access/r/insights/platform/ingress/v1/upload === End Upload URL Connection Test: SUCCESS === === Begin API URL Connection Test === Testing https://dhcp130-146.gsslab.pnq2.redhat.com:443/redhat_access/r/insights/platform/apicast-tests/ping HTTP Status Code: 200 HTTP Status Text: OK HTTP Response Text: {"status":"available"} Successfully connected to: https://dhcp130-146.gsslab.pnq2.redhat.com:443/redhat_access/r/insights/platform/apicast-tests/ping === End API URL Connection Test: SUCCESS === Connectivity tests completed successfully See /var/log/insights-client/insights-client.log for more details. Verified: Verified with: - Satellite 6.9.6 snap 1 - tfm-rubygem-foreman_rh_cloud-3.0.26-1.el7sat.noarch Test steps: - Try registering content host with insights(with and without Default HTTP Proxy configured on satellite). Observation: - insights-client registration process finished successfully. - "insights-client --test-connection" worked as expected. 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.6 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:3628 |