-
Notifications
You must be signed in to change notification settings - Fork 637
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
task and web replicas are scaled to 0 by the operator #1960
Comments
It's not clear to me how the awx CRD spec values get translated into ansible vars, but 8ead140 this commit added the web_manage_replicas and task_manage_replicas saying the default is true, but there were no new defaults added to defaults/main.yml to configure them. But web_replicas and task_replicas are set to empty strings there. Do we not need web_manage_replicas and task_manage_replicas set to true in the defaults there as well? |
Okay, I think I know what is happening. Another person is using the awx operator in our cluster. I didn't think this would matter because we're using different namespaces. But the CRDs are not namespaced, so the CRDs are being overwritten at "random" times, and then I lose the values from the newer CRD definitions.
Running kustomize on this does not fix the CRDs. But doing |
If installing 2 operators of different versions on the same clusters, use the newer CRDs otherwise your new instance will not work. Can't guarantee the older one will work with new CRDs, but it is more likely to, that's the price that comes with deploying 2 different versions on the same cluster. Get the other person to stop installing their old CRDs |
I have this same issue on a new deployment, running This suddenly came up, I installed this roughly 2-3 weeks ago on another system and had no such issue, why is this happening? I don't see any code changes since that time either? I'm using ansible to install everything and nothing has changed there either.. |
Please confirm the following
Bug Summary
After installing a new awx with awx-operator, it scales the web and task deployments down to 0 and awx is completely stopped. It never scales the deployments back up.
AWX Operator version
2.19.1
AWX version
1.27.12
Kubernetes platform
kubernetes
Kubernetes/Platform version
k3s
Modifications
no
Steps to reproduce
Expected results
I expected awx to be running.
Actual results
It starts up, then gets stopped, and doesn't restart without manual intervention.
Additional information
If I use awx-operator 2.18, I don't have this problem. It seems like the problem happened something in 2.19.0 or 2.19.1 release.
Operator Logs
I saw this referenced in #1907, but I'm not upgrading from 2.18, and re-applying the CRDs didn't fix things for me.
The text was updated successfully, but these errors were encountered: