AWX17.0.1 upgrade to 20.0.1

640 views
Skip to first unread message

littlepieceofnik

unread,
Apr 27, 2022, 3:45:54 AM4/27/22
to AWX Project
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

Simon Welch

unread,
Apr 27, 2022, 7:11:57 AM4/27/22
to AWX Project
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

littlepieceofnik

unread,
Apr 27, 2022, 8:48:15 AM4/27/22
to AWX Project
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

Simon Welch

unread,
Apr 27, 2022, 8:53:15 AM4/27/22
to AWX Project
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.

Seth Foster

unread,
Apr 27, 2022, 3:25:10 PM4/27/22
to AWX Project
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

Support Team

unread,
Apr 28, 2022, 1:38:52 AM4/28/22
to AWX Project
+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 =)



Andrey Gangan

unread,
May 1, 2022, 11:07:38 AM5/1/22
to AWX Project
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:

Pabbisetty h

unread,
May 2, 2022, 2:41:59 PM5/2/22
to AWX Project
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.

Francesco Santagata

unread,
May 10, 2022, 11:01:46 AM5/10/22
to AWX Project
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 

Jose Antonio Carretero Borreguero

unread,
Feb 2, 2023, 10:05:33 AM2/2/23
to AWX Project
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

AWX Project

unread,
Feb 3, 2023, 1:10:18 PM2/3/23
to AWX Project

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

AWX Team
Reply all
Reply to author
Forward
0 new messages