Bug 2128256
Summary: | Insights recommendation sync failing in Satelliite | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Riya Banerjee <ribanerj> | ||||||||
Component: | RH Cloud - Insights | Assignee: | Shimon Shtein <sshtein> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Griffin Sullivan <gsulliva> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 6.11.2 | CC: | achadha, ahumbe, aruzicka, bbuckingham, gsulliva, jpathan, lphiri, pcreech, sshtein, theute, wclark | ||||||||
Target Milestone: | 6.13.0 | Keywords: | Triaged | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | rubygem-foreman_rh_cloud-6.0.44 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 2150111 2166762 (view as bug list) | Environment: | |||||||||
Last Closed: | 2023-05-03 13:22:03 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
Riya Banerjee
2022-09-20 12:05:27 UTC
Created attachment 1930612 [details]
Hotfix RPM for Satellite 6.11.4 on RHEL7
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.11.4 server
2. Download the hotfix RPM attached to this BZ and copy it to Satellite server
3. # yum install ./tfm-rubygem-foreman_rh_cloud-5.0.43-2.HOTFIXRHBZ2128256.el7sat.noarch.rpm --disableplugin=foreman-protector
4. # satellite-maintain service restart
Created attachment 1930613 [details]
Hotfix RPM for Satellite 6.11.4 on RHEL8
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.11.4 server
2. Download the hotfix RPM attached to this BZ and copy it to Satellite server
3. # dnf install ./rubygem-foreman_rh_cloud-5.0.43-2.HOTFIXRHBZ2128256.el8sat.noarch.rpm --disableplugin=foreman-protector
4. # satellite-maintain service restart
Created attachment 1931029 [details]
Hotfix RPM for Satellite 6.12.0
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.12.0 server
2. Download the hotfix RPM attached to this BZ and copy it to Satellite server
3. # dnf install ./rubygem-foreman_rh_cloud-6.0.42.2-2.HOTFIXRHBZ2128256.el8sat.noarch.rpm --disableplugin=foreman-protector
4. # satellite-maintain service restart
Verified with: - Satellite 6.13 snap 6 - rubygem-foreman_rh_cloud-6.0.44-1.el8sat.noarch Test steps: - Have an inventory host(registered with Satellite) with fqdn set to null. - Go to Configure > Inventory upload > Click 'Sync inventory status' Observations: - No error - 'Sync inventory status' task was completed successfully. Additional info: Use the following steps to get a host with null fqdn in inventory. - Get a fresh host(not uploaded to inventory or delete existing one from inventory) - insights-client --no-upload --keep-archive - cp /var/cache/insights-client/insights-host.example.com-20230103095159.tar.gz . - tar -xzf *.tar.gz - vi insights-host.example.com-20230103095159/data/insights_commands/hostname* (emptied the files) - rm insights-host.example.com-20230103095159.tar.gz - tar -czf insights-host.example.com-20230103095159.tar.gz insights-host.example.com-20230103095159 - insights-client --payload=insights-host.example.com-20230103095159.tar.gz --content-type="application/vnd.redhat.advisor.payload+tgz" - curl -sSu "username:password" "https://console.redhat.com/api/inventory/v1/hosts/<id-of-host>" | jq '.results[0]' 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 (Important: Satellite 6.13 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-2023:2097 |