how to upgrade from 0.21 ?

Hi,

My current version is 0.21.

  1. do I need to go to 0.22 first?

awx-operator says that I need to do
$ kubectl -n default delete deployment awx-operator

$ kubectl -n default delete serviceaccount awx-operator
$ kubectl -n default delete clusterrolebinding awx-operator

$ kubectl -n default delete clusterrole awx-operator

I do not have deployment awx-operator
awx awx-operator-controller-manager 1/1 1 1 108s

Hit enter to early

The postgres database is unmanaged
How are schema changes performed?

Hello!

What version of AWX are you currently on, and which version do you plan to upgrade to?

You shouldn’t need to do incremental upgrades, but be sure to do a backup of your db first, as outlined in the instructions for upgrading

https://github.com/ansible/awx-operator#upgrading

let us know if you run into issue going from 0.21 to 0.29 operator.

AWX Team

I am also facing issues in the upgrade from awx-operator 0.24.0.to 0.26.0.

Environment:
OS: Redhat 9.0
awx-operator: 0.24.0
k3s : v1.24.4+k3s1

Here is the steps I have followed to upgrade

  1. Deploy awx-operator 0.24.0
    a.cd ~
    b. git clone https://github.com/ansible/awx-operator.git
    c. cd awx-operator
    d. git checkout 0.24.0 # Checkout the version to upgrade to # Deploy AWX Operator
    e. export NAMESPACE=hpeda # Specify the namespace where the old AWX Operator exists
    f. make deploy

  2. deploy awx using YAML file

This is probably because of the switch to postgres-13.
The fact that you namespace is not awx may complicate matters.

Could you attach the awx deployment file?

Hi,

I am a little bit confused.
You say: I am also facing issues in the upgrade from awx-operator 0.24.0.to 0.26.0.

But you check out 0.24

Version 0.26 uses AWX : AWX 21.4.0

I think you need to change that.

Its the same issue after changing to 0.26.0

Here is updated steps and let me know if there is any missing/error steps

  1. Deploy awx-operator 0.24.0
    a.cd ~
    b. git clone https://github.com/ansible/awx-operator.git
    c. cd awx-operator
    d. git checkout 0.24.0 # Checkout the version to upgrade to # Deploy AWX Operator
    e. export NAMESPACE=hpeda # Specify the namespace where the old AWX Operator exists
    f. make deploy
  2. deploy awx using YAML file

Hi,

This due to the change to postgres 13.
I am using a an external database and also so do not have this issue.

Regards Hans