Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2097749

Summary: Traceback in production.log while trying to remediate issue from c.r.c when inventory status on satellite is not synced.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: RH Cloud - Cloud ConnectorAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: aruzicka
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-16 14:02:55 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:

Description Jameer Pathan 2022-06-16 12:57:12 UTC
Description of problem:
Traceback in production.log while trying to remediate issue from c.r.c when inventory status on satellite is not synced.

Version-Release number of selected component (if applicable):
- Satellite 6.11.0 snap 25
- rubygem-foreman_rh_cloud-5.0.39-1.el8sat.noarch

How reproducible:
- Tried once

Steps to Reproduce:
1. Configure RHC on Satellite (Go to Configure > Inventory upload > Click on "Configure Cloud Connector" button.)
2. Register Host with satellite and Insights.
3. Try to remediate Insights issue from c.r.c
4. Check /var/log/foreman/production.log on Satellite.

Actual results:
- Traceback with following message.
2022-06-16T08:02:20 [W|app|5b7270f6] Some hosts were not found/ignored. 
Looked for: ["1c9ddase4-2764-439a-bc54-b390dasb73f1", 
"c8dsa2809-bc9a-46be-90f0-91385das6d5bb"], found ids: []

Expected results:
- No traceback in production.log
- Proper error message shown either on c.r.c or Satellite.

Additional info:
- This happens when the inventory status on satellite is not synced.
(Go to Configure > Inventory upload > Click on "Sync Inventory status".)

Comment 1 Brad Buckingham 2022-06-16 14:02:55 UTC

*** This bug has been marked as a duplicate of bug 2097751 ***