Hi All,
i’m currently running awx 6.0.0 on kubernetes,
wondering if i can upgrade to 6.1.0 by simply changing the awx manifest in kubernetes to point to 6.1.0 version of the containers.
Obviously this won’t work if a DB migration is involved.
Hi Thanks for getting back,
well i’ve already changed the awx manifest in kube, containers start fine but the login page displays a massage saying that the system is upgrading and sits there forever - as it happens during the first installation and you try to login while the data migration tasks are still running .
The upgrade from 6.0.0 to 6.1.0 should work fine because the team recently committed to more closely following semantic versioning. A configuration option might’ve slipped through the cracks, try pulling the logs from the awx containers and the database to see what exactly is preventing the upgrade from happening.
Hi Uriel,
thanks for your reply.
I can’t see any obvious blocking error from the logs unfortunately. (i’ve attached them)
The main page keeps me getting redirected to migrations_notran/#/login
“msg”: “Database query failed: must be owner of database awx\n”
From the logs in postgres:
…
2019-09-04 10:26:04.188 GMT [3575] ERROR: must be owner of database awx
…
2019-09-04 10:26:11.174 GMT [3585] STATEMENT: ALTER DATABASE “awx” OWNER TO “awx”
I think your postgres database is misconfigured. When you are using an external postgres server, you need to pre-create the awx-postgres user, awx-postgres database and set the awx-postgres user as the owner of the awx-postgres database. It looks like awx-postgres user is not the owner of the database. Log into the postgres server, launch a psql interactive prompt, and execute the alter statement above. If AWX isn’t working then, you might have to redeploy it.