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

Future execution ansible jobs on Host_collection do not run on client VMs which are deleted from the hostgroup after the creation of the jobs

XMLWordPrintable

    • False
    • Important
    • Proton Refinement Backlog
    • sat-proton
    • None
    • None
    • None
    • To Do

      Description of problem:

      • Satellite 6.15
      • Satellite 6.16

      Description of problem:

      • Future execution ansible jobs on Host_collection do not run on client VMs which are deleted from the hostgroup after the creation of the jobs
         

      How reproducible:
      Always
       

      Steps to Reproduce:

      1. Create a host collection with a few clients.

      2. On Satellite GUI --> Hosts --> Host collections --> [Select the respective name of host_collection ] --> in "details" tab --> click on "Package Installation, Removal, and Update" --> from drop down next to "Update All Package" --> select "via remote execution - customize first"

      Job category : Commands
      Job template : Run Command - Scrit Default
      Target hosts : You will see the hosts that are part of the host_collections
      command : uptime

      Select the other respective options and schedule the job with "Type of query - Dynamic" and "Future execution"

      Fill out the rest of the forms.

      3. Set up a Future execution job to run after a few minutes.

      4. After at least after few minutes before the job is scheduled, delete a few hosts from this host collection.

      Actual behavior:

      The future execution of Ansible jobs gets scheduled with all the hosts even after deleting a few hosts.

      Expected behavior:
      The future execution of Ansible jobs should get scheduled on only a few hosts after a few hosts are removed.

      Business Impact / Additional info:

      • Needs to be fixed for upcoming patches

       

              Unassigned Unassigned
              rhn-support-bgajjava Bharti Gajjavarapu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: