Bug 1989539

Summary: Out of sync status for all hosts on Satellite.
Product: Red Hat Satellite Reporter: Bharati Kailas Shahu <bshahu>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Danny Synk <dsynk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: oezr
Target Milestone: UnspecifiedFlags: bshahu: needinfo-
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-19 21:37:40 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 Bharati Kailas Shahu 2021-08-03 12:26:50 UTC
Description of problem:
- Showing "out of sync"status of all machines Under Hosts -> All hosts page.

Version-Release number of selected component (if applicable):

Satellite-6.9
How reproducible:
Repeatedly 

Steps to Reproduce:
1. ansible_out_of_sync_disabled and puppet_out_of_sync_disabled are both already set to true:

~~~
$ grep out_of_sync foreman_settings_table|cut -c 1-74
  21 | ansible_out_of_sync_disabled                           | --- true  
 152 | puppet_out_of_sync_disabled                            | --- true  
~~~


2. "out of sync"status for host on the satellite server  -> Under Hosts -> All hosts page.

Actual results:

Not honoring set values for ansible_out_of_sync_disabled and puppet_out_of_sync_disabled  as true.


Expected results:

Should be consider set value and not show  "Out of Sync"

Additional info:

Comment 1 Marek Hulan 2021-08-05 14:29:08 UTC
Do you see new hosts becoming out of sync after the setting is disabled or hosts are out of sync prior setting is switch to disabled? The setting does is not supposed to reset any previous host status. If you clear the status from the host after you disable the out of sync for ansible, it should not re-appear.

Comment 7 Ondřej Ezr 2022-01-19 21:37:40 UTC
This has been fixed in Sat - 7.0 in BZ#1825761 for workaround in older versions, please see https://bugzilla.redhat.com/show_bug.cgi?id=1800870#c22

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