Bug 1978337

Summary: The "Host Configuration status for Ansible" widget on the Satellite WebUI Dashboard returns zero instead of correct numbers of host.
Product: Red Hat Satellite Reporter: Dhaval Joshi <dhjoshi>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Danny Synk <dsynk>
Severity: medium Docs Contact:
Priority: high    
Version: 6.9.0CC: afeferku, ehelms, jsenkyri, jyejare, lvrtelov, mhulan, oezr, sadas
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
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: 2021-11-11 14:08:06 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 Flags
Dashboard screenshot none

Description Dhaval Joshi 2021-07-01 15:18:55 UTC
Created attachment 1796837 [details]
Dashboard screenshot

Description of problem:
"Host Configuration status for Ansible" widget on the Satellite WebUI returns zero for all options mentioned in the widget instead of returning the correct number of hosts. The value does not change at all.

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


How reproducible:
100%


Actual results:
The widget returns value as zero for all hosts. It does not matter if the ansible command/playbook was successfully executed or failed.


Expected results:
Should return the correct number of hosts


Additional info:
The same behavior observed in Satellite 6.8

Comment 1 Marek Hulan 2021-09-10 10:58:34 UTC
Can you double check the Ansible reports are populated and the origin column shows Ansible? There was another issue that kept such reports without origin, therefore they were not counted as Ansbile. That I believe is already fixed in the last version but could explain this issue.

Comment 9 Ron Lavi 2021-10-16 19:27:23 UTC
Created redmine issue https://projects.theforeman.org/issues/33701 from this bug

Comment 10 Marek Hulan 2021-10-21 10:52:28 UTC
There is a KCS for this, the cause is the same as in https://bugzilla.redhat.com/show_bug.cgi?id=1825761 however I'm keeping this open for the automation of the dasboard widget based on the Ansible reports. Note that with Satellite 6.10, the steps described in the KCS are no longer necessary.