# Trying to upgrade to AWX-Operator 0.30.0

**URL:** <https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 4, 2022, 2:32am UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172 "2022-10-04T02:32:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregory\_Machin](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Post date:** [October 4, 2022, 2:32am UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172/1 "2022-10-04T02:32:19Z")

</div>

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)](https://github.com/kurokobo/awx-on-k3s)

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}

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [October 5, 2022, 6:56pm UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172/2 "2022-10-05T18:56:03Z")

</div>

Hello,  
Is auto\_upgrade set to false? If so, this is expected behavior.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [October 5, 2022, 6:59pm UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172/3 "2022-10-05T18:59:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Gregory\_Machin](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Post date:** [October 17, 2022, 12:20am UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172/4 "2022-10-17T00:20:41Z")

</div>

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#

---

<div class="post-metadata">

**Author:** ![Gregory\_Machin](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Post date:** [October 17, 2022, 12:41am UTC](https://forum.ansible.com/t/trying-to-upgrade-to-awx-operator-0-30-0/37172/5 "2022-10-17T00:41:38Z")

</div>

no, change thank you.
