Bug 1895037
| Summary: | Red Hat Insights Sync not working on Satellite 6.8 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Amar Huchchanavar <ahuchcha> | ||||
| Component: | RH Cloud - Insights | Assignee: | Shimon Shtein <sshtein> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Mirek Długosz <mzalewsk> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.8.0 | CC: | ahumbe, aruzicka, egolov, jakob.fuerneisen, mmccune | ||||
| Target Milestone: | 6.9.0 | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | tfm-rubygem-foreman_rh_cloud-2.0.13 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1908836 (view as bug list) | Environment: | |||||
| Last Closed: | 2021-04-21 13:18:52 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Amar Huchchanavar
2020-11-05 15:49:01 UTC
This should be fixed in 2.0.13 (https://github.com/theforeman/foreman_rh_cloud/commit/2b9a160a47c7bed7b57c5107a15eabd968ddd1fb). Root cause: on clean Satellite all proxies are not set, so internally they return nil value. Workaround: Set http_proxy setting to an empty string in the settings page. *** Satellite 6.8.0 and 6.8.1 Hotfix Available *** 1) Download tfm-rubygem-foreman_rh_cloud-2.0.13.1-1.el7sat.noarch.rpm from this bugzilla to your Satellite 2) Install: rpm -Uvh tfm-rubygem-foreman_rh_cloud-2.0.13.1-1.el7sat.noarch.rpm foreman-rake db:migrate 3) restart: satellite-maintain service restart 5) resume operations Created attachment 1731493 [details]
tfm-rubygem-foreman_rh_cloud-2.0.13.1-1.el7sat.noarch.rpm
On clean Satellite, with no proxy set in Settings, all network operations of plugin work as expected: - uploading inventory report - synchronizing hits data - synchronizing hosts data Tested on: Satellite 6.9 snap 2 satellite-6.9.0-0.1.beta.el7sat.noarch pulp-server-2.21.4-1.el7sat.noarch foreman-2.3.0-0.7.rc2.el7sat.noarch katello-3.18.0-0.1.rc1.el7sat.noarch tfm-rubygem-foreman_rh_cloud-2.0.13.1-1.el7sat.noarch Tested with 6.8.2 (with no proxy set) and all solutions in 5583211 but still not working... do we have to wait for 6.9?
/var/log/foreman/production.log
2021-02-04T10:57:34 [I|app|d591deac] Processing by InsightsCloud::TasksController#create as JSON
2021-02-04T10:57:34 [I|app|d591deac] Parameters: {"task"=>{}}
2021-02-04T10:57:34 [I|app|d591deac] Performing InsightsCloud::Async::InsightsFullSync (Job ID: 13e846a1-73b2-4d4e-9688-610a65c09d5b) from Dynflow(default) enqueued at
2021-02-04T10:57:35 [I|app|d591deac] Performed InsightsCloud::Async::InsightsFullSync (Job ID: 13e846a1-73b2-4d4e-9688-610a65c09d5b) from Dynflow(default) in 916.96ms
2021-02-04T10:57:35 [I|app|d591deac] No template found for InsightsCloud::TasksController#create, rendering head :no_content
2021-02-04T10:57:35 [I|app|d591deac] Completed 204 No Content in 937ms (ActiveRecord: 6.0ms | Allocations: 17339)
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1920014#
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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313 |