AWX17.0.1 upgrade to 20.0.1

Hello Everyone,

I need to upgrade my AWX 17.0.1 to the latest version. AWX 20.0.0/1
Any help would be really appreciated.

Regards,
NIKHIL

I managed to do it with dump and load as specified here https://www.reddit.com/r/ansible/comments/mvcsyw/migrating_awx_from_the_old_dockerbased/

Still not easy though

Simon

Thanks for your reply.

Ill definately look into that and perform.

Would you mind, share me your opinion on the most stable version of AWX you have come across since as i am upgrading more problem I am facing.

Regards,
NIKHIL

My pain is greater than yours I’m trying to upgrade from version 11 to 20, so probably not going to be able to help. Still battling to get it all working as it does on 11.

Hi!

You can also look into the backup/restore roles in the operator.

example:

kubectl apply -f backup.yml

backup.yml

apiVersion: awx.ansible.com/v1beta1
kind: AWXBackup
metadata:
name: awxbackup-sbf
namespace: sbf
spec:
deployment_name: awx-demo

for restoring

apiVersion: awx.ansible.com/v1beta1
kind: AWXRestore
metadata:
name: restore1
namespace: sbf
spec:
deployment_name: awx-demo
backup_name: awxbackup-sbf
backup_pvc_namespace: ‘sbf’

Seth

+1 for dump and load

Since those are both operator-managed versions, you should not face any serious difficulties.
I’ve succesfully imported from 17 to 19th and even from 17 directly to 20th version.

And what type of DB do you use: managed by operator, or unmanaged/external?

PS my “pain” was starting with docker-based AWX 9.0 =)

I saw it. but how can i get the backup file if I need to reinstall server or migrate to another one?

среда, 27 апреля 2022 г. в 22:25:10 UTC+3, sfo...@redhat.com:

Hello, We were able to succesfully upgrade to Awx 21.0 from 17.0 as a new instances. There are many features missing in 17.0 required for upgrade.

So instead of going through same pain, took different route which worked without extra effort.

Happy to talk more if you have any questions. Thank you.

Hi,

Do you mind trying to explain the complete procedure for migrating a 17.0 instance to a 21.0 instance ?
I’m migrating a 19.3 to a 21.0 installed in a new cluster. Trued with tower_cli (deprecated), awxkit, backup and restore role from operator but all the time something is missing or unclear.

Any help will be really appreciated.

BR
Francesco

Hi everyone,

I need help for migration version 17.0.1 to 20.X, can someone provide me with a procedure or url with content to help me address this action?

I will be totally grateful.

BR

Jose Antonio

You can find some instructions here https://github.com/ansible/awx-operator/blob/devel/docs/migration.md

also if you search this google group, there are potentially other helpful tips around migrating from 17.

AWX Team