Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uneven usage of Instances in the instance group #15156

Open
5 of 11 tasks
mimianddaniel opened this issue Apr 29, 2024 · 2 comments
Open
5 of 11 tasks

Uneven usage of Instances in the instance group #15156

mimianddaniel opened this issue Apr 29, 2024 · 2 comments

Comments

@mimianddaniel
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Running: 23.7.0 AWX with 2.11.0 Operator.
There are 4 same resource settings for awx-task instances and they are all in ready status with 40 forks avail per instance.
I am seeing uneven jobs being scheduled among them. It seems like the very first one listed in the Instances is used mostly, in terms of ratio, 96% of the time, the first instance is used for running the jobs. AFAIK, there is no way to choose the specific instance from the Project.

I expect that each instance will run somewhat of a distributed job among the 4 instances and not on a single instance all the time.

The odd thing is that out of 3 AWX clusters we run, only one cluster instance shows this behavior.

AWX version

23.7.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

Under administration look at Instances and select the first instance. look at the number of jobs run and compare with other instances.

Expected results

Expect to see more less even or somewhat normalized numbers on each instances running the jobs. instance

Actual results

See 96% of the jobs running on the first instance and the rest does %4

Additional information

No response

@jessicamack
Copy link
Member

The instances are working as expected. AWX does not attempt to evenly distribute jobs between instances.

@mimianddaniel
Copy link
Author

The instances are working as expected. AWX does not attempt to evenly distribute jobs between instances.

Thanks for the reply, this is not impacting the service so, I don't really see a problem, but it's odd to see only one instance of the cluster showing this behavior .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants