-
Notifications
You must be signed in to change notification settings - Fork 594
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
AWX Operator cannot create pods after upgrading from k8s 1.21.3 to 1.22.0 #494
Comments
Observing the same. After updating microk8s to 1.22 and then trying to deploy operator 0.13, the operator container upgraded but seem to get errors when it tries to upgrade the awx pod
the awx yaml is extremely basic: ---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
name: awx
spec:
task_privileged: true |
Chatting with some folks from the operator-sdk team. This seems like it might be caused by the fact that our operator is built upon version 0.19 of the sdk. |
Confirmed with the operator-sdk team that operators built upon 0.x are not going to work on the newer version of kubernetes. We've prioritized bumping this at some point in the near-term. Any updates will be posted here. |
I can confirm this issue exists on version 1.22.1. |
With the addition of this PR - #508, I am able to deploy the awx-operator and awx app to an Openshift 4.9 cluster (k8s v1.22.0).
All containers are running and I am able to log in and run a job from the UI. To use this fix, you will need to build the awx-operator image from devel at the moment as a release with this fix has not yet been cut. |
I was also able to deploy 0.19.3 by editing ...
containers:
- name: awx-operator
image: 'quay.io/ansible/awx-operator:devel'
env:
- name: WATCH_NAMESPACE
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: OPERATOR_NAME
value: awx-operator
- name: ANSIBLE_GATHERING
value: explicit
- name: OPERATOR_VERSION
value: devel
- name: ANSIBLE_DEBUG_LOGS
value: 'false'
... note changes on Thanks! |
ISSUE TYPE
SUMMARY
AWX Operator cannot create awx-pods after upgrading from k8s 1.21.3 to 1.22.0
Worked well before.
ENVIRONMENT
STEPS TO REPRODUCE
From 1.21.3 install awx-operator and setup awx. It work well.
Upgrade to 1.22.0
Kill and recreate the awx deployment
pods awx postgres is up
pods awx server is not up
EXPECTED RESULTS
AWX should be up in running state
ACTUAL RESULTS
Only awx postgres is up
ADDITIONAL INFORMATION
Yaml file i use to create pods :
AWX-OPERATOR LOGS
The text was updated successfully, but these errors were encountered: