Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-21428

Misleading job invocation details when running ansible roles in bulk

XMLWordPrintable

    • Moderate
    • To Do
    • No

      Description of problem:
      Roles assigned only to host_a show up in host_b job invocation details.

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

      Let me explain it on a real example:

      • Have 2 hosts - 'jsenkyri-rhel8' and 'jsenkyri-rhel7'
      • Assign 'RedHatInsights.insights-client' role to 'jsenkyri-rhel8'
      • Do not assign any roles to 'jsenkyri-rhel7'
      • Select both hosts and hit 'Run all Ansible roles'
      • Check job details for 'jsenkyri-rhel7'. Tasks related to 'RedHatInsights.insights-client' role are visible even though the role is not assigned to this host. See attached screenshot.

      Actual results:
      Role(s) assigned only to 'jsenkyri-rhel8' show-up in 'jsenkyri-rhel7' job invocation details.

      Expected results:
      Job invocation details for 'jsenkyri-rhel7' should only show roles/tasks that are assigned to this particular host.

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-jsenkyri Jan Senkyrik
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: