Why Jobs Are Being Assigned To Only One Node And Not Being Distributed Among Cluster Nodes ?
Environment
- Red Hat Ansible Automation Platform
Issue
- Jobs Executed on only one of the nodes and not being distributed among the cluster nodes.
Resolution
-
In this case, first verify if the instances in a Tower Instance Group are toggled on/off from the UI. When an instance is toggled off jobs will no longer be assigned to the node.
-
If that is not the case, please note it is normal for one instance to pick up the majority of jobs if there is not a lot of simultaneous running jobs consuming capacity.
-
Job execution node in the cluster or instance group will be determined by the
capacityof the nodes. It won't evenly distribute the jobs over the cluster.-
For more details on the Job runtime behavior in the Tower cluster, you can refer the following documentation links:
- Job Runs
- Ansible Tower Capacity Determination and Job Impact
-
-
If you wish to split the jobs between nodes, you may create different Instance Groups and split your job templates between them.
- You can read more about this behavior in the following documentation here
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments