Closed rust84 closed 4 years ago
Interesting, and yeah, seems like the delay may need to be longer—or some other method to make sure the new version is running before doing it. The pull can take some time, especially if you don't have a very large pipe to download the image. And then the stopping of the previous pod seems to be quite variable, from seconds to a minute or two sometimes.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
I tried to upgrade today from awx 9.1.1 to 9.2.0 and encountered an error during the migration. It looks as though it tried to run the migration on the previous container being replaced.
I was actually just testing the upgrade earlier in the day and it was successful, so it looks to be timing related though doesn't happen every run. A longer delay may be needed to ensure that the new container has finished creating before trying the migration.
I see that there is already a 5 second delay here so it may need to be longer, or better still could we configure it through the operator config?
Operator output:
I was able to execute the migration against the new container:
Events: