-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate to AWX 21.6 / operator 0.29 ; migrations are broken #1064
Comments
There is something strange happening I have turned on logging in Postgres and all statements are being logged to the logfile. When I upgrade from 0.21 to 0.29 or 0.30 at once the following is not executed: This results in the following error When I upgrade first to 0.28 and then to either 0.29 or 0.30 this does not happen. |
This is caused by the migration 0164_remove_inventorysource_update_on_project_update, when you already have a newer version of the application. |
Can this be fixed ? |
Hi @lerminou, Thank you very much for for this issue. It means a lot to us that you have taken time to contribute by opening this report. On this issue, there were comments added but it has been some time since then without response. At this time we are closing this issue. If you get time to address the comments we can reopen the issue if you can contact us by using any of the communication methods listed in the page below: https://github.com/ansible/awx/#get-involved Thank you once again for this and your interest in AWX! |
Please confirm the following
Bug Summary
upgrading a AWX instance to 0.29 is broken with the migrations
AWX version
operator 0.29
previous awx 21.1 / operator 0.22
new awx 21.6
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
install a AWX operator 0.29 with a previous version (in my case 0.21)
Expected results
a working instance :)
Additional information
maybe due to this commit: ansible/awx@c467b6e
As a workaround I needed to first edit the awx deployment in the running operator to force to have 21.5 version
because from the operator, the AWX version is hardcoded and cannot be modified
After thet I manually run the migrations directly in the pod
awx-manage migrate
To force to install the migration 165.
Then reset the awx version to 21.6
Why do I needed to change the AWX vesion and not install the operator 0.28 ? Just because AWX-operator only keep 1 release in the history ! #1053
Actual results
exception during migrations:
The text was updated successfully, but these errors were encountered: