Bug 1978337 - The "Host Configuration status for Ansible" widget on the Satellite WebUI Dashboard returns zero instead of correct numbers of host.
Summary: The "Host Configuration status for Ansible" widget on the Satellite WebUI Das...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Danny Synk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 15:18 UTC by Dhaval Joshi
Modified: 2021-11-11 14:08 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-11 14:08:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Dashboard screenshot (23.92 KB, image/jpeg)
2021-07-01 15:18 UTC, Dhaval Joshi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33701 0 High New b'The "Host Configuration status for Ansible" widget on the Satellite WebUI Dashboard returns zero instead of correct nu... 2021-10-16 19:27:24 UTC
Red Hat Knowledge Base (Solution) 5897841 0 None None None 2021-10-21 10:52:27 UTC

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.


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