Bug 2156532
| Summary: | Misleading job invocation details when running ansible roles in bulk | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jan Senkyrik <jsenkyri> | ||||||
| Component: | Ansible - Configuration Management | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
| Status: | CLOSED MIGRATED | QA Contact: | Satellite QE Team <sat-qe-bz-list> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.12.0 | CC: | nalfassi, torkil, wpinheir | ||||||
| Target Milestone: | Unspecified | Keywords: | MigratedToJIRA, Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-06-06 12:56:51 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
Jan Senkyrik
2022-12-27 10:44:30 UTC
Created attachment 1934563 [details]
job invocation details
One more behavior that might be related: - Choose multiple hosts (e.g. host_a, host_b, host_c, host_d) and make host_a unreachable (e.g. shutdown). - Run All Ansible roles for these 4 hosts. Actual result: - All 4 hosts are shown as failed (see attached screenshot) - Check details for host_d and you can see that all tasks finished ok but the exit code is 4: ~~~ TASK [Apply roles] ************************************************************* 165: 166: TASK [RedHatInsights.insights-client : Install 'insights-client'] ************** 167: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 168: 169: TASK [RedHatInsights.insights-client : Set Insights Configuration Values] ****** 170: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 171: 172: TASK [RedHatInsights.insights-client : Register Insights Client] *************** 173: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 174: 175: TASK [RedHatInsights.insights-client : Change permissions of Insights Config directory so that Insights System ID can be read] *** 176: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 177: 178: TASK [RedHatInsights.insights-client : Change permissions of machine_id file so that Insights System ID can be read] *** 179: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 180: 181: TASK [RedHatInsights.insights-client : Create directory for ansible custom facts] *** 182: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 183: 184: TASK [RedHatInsights.insights-client : Install custom insights fact] *********** 185: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 186: 187: TASK [RedHatInsights.insights-client : Enable Insights timer] ****************** 188: ok: [jsenkyri-rhel8-sat612-d.sysmgmt.lan] 189: PLAY RECAP ********************************************************************* 190: jsenkyri-rhel8-sat612-d.sysmgmt.lan : ok=10 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 191: Exit status: 4 ~~~ Expected results: - Only host_a is shown as failed. host_b, host_c and host_d should be marked as successful. Created attachment 1948364 [details]
invocation_all_failed
Bug 2156522 is similar but I don't think it's an exact match. Created redmine issue https://projects.theforeman.org/issues/36353 from this bug *** Bug 2249905 has been marked as a duplicate of this bug. *** This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |