Bug 2224112 - Sat6.11/RHCloud/Bug] hosts with host_registration_insights the inventory upload status is outdated (6 months old) and not removed/reset
Summary: Sat6.11/RHCloud/Bug] hosts with host_registration_insights the inventory uplo...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.11.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Shimon Shtein
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 19:46 UTC by achadha
Modified: 2023-07-24 13:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19052 0 None None None 2023-07-20 08:46:25 UTC

Description achadha 2023-07-19 19:46:12 UTC
Description of problem:

On a test servers we have disabled the RH Cloud integration using by setting on the hosts the  'params.host_registration_insights = false' to prevent the server from being uploaded to RH Cloud and also Insights-Client (sat6 proxied) uploads will be prevented. This is working fine in the Insights portal part, the test servers never showed up again anymore after we removed them in Insights portal.

What is still left incorrect is the Host Satus of the hosts that is still set to Warning, because the 'InventoryStatus' is still set to '0' in the last time the server was uploaded.  Customer would expect that for all exlcuded servers the RHCloud plugin would also remove InventoryStatus or set it to 'green'. but that the server will not be in a Warning state anymore

Expectation:
The InventoryStatus is removed if host_registration_insights=false
The InventoryStatus is removed or set to OutDated if its is too old (e.g. > 7 days)


Note You need to log in before you can comment on or make changes to this bug.