Hi,
I’m using the K3s configuration as per: kurokobo/awx-on-k3s: An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownership of data and passwords. (github.com)
I’m currently on AWX 21.4.0
I’m trying to upgrade to the latest AWX 21.7.0.
I have checked out awx-on-k3s tag 0.30.0 and updated the config files with my config.
I have checked out awx-operator and updated the config files with my config.
I have run kubectl apply -k base
the logs show :
--------------------------- Ansible Task StdOut -------------------------------
TASK [Remove ownerReferences reference] ********************************
ok: [localhost] => (item=None) => {“censored”: “the output has been hidden due to the fact that ‘no_log: true’ was specified for this result”, “changed”: false}
Hello,
Is auto_upgrade set to false? If so, this is expected behavior.
You can try scaling down your AWX deployment with the following command:
kubectl scale deployments awx-operator-controller-manager --replicas=0
And then scaling it back up:
kubectl scale deployments awx-operator-controller-manager --replicas=1
Please let us know if this resolves the issue for you.
Looks to be set to true.
:~/awx-operator# grep -r “auto_upgrade” *
config/crd/bases/awx.ansible.com_awxs.yaml: auto_upgrade:
README.md:| auto_upgrade | Automatic upgrade of AWX instances | true |
README.md:Example configuration of auto_upgrade
parameter
README.md: auto_upgrade: true
README.md:There are two ways to upgrade instances which are marked with the ‘auto_upgrade: false’ flag.
README.md:- change the auto_upgrade flag on your AWX object to true
README.md:- change the auto_upgrade flag on your AWX object back to false
roles/installer/defaults/main.yml:auto_upgrade: true
roles/installer/tasks/main.yml:# Just execute deployment steps when auto_upgrade is true or when no deployment exists
roles/installer/tasks/main.yml: when: (tower_deployment[‘resources’] | length > 0 and auto_upgrade | bool ) or (tower_deployment[‘resources’] | length == 0)
:~/awx-operator#