How to resolve "Ident authentication failed for user rhnuser" error during Satellite 5.8 upgrade?
Issue
The installer script of Satellite 5.8 will expect the database in "/opt/rh/postgresql92/root/var/lib/pgsql/data" and then It will try to migrate it to "/var/opt/rh/rh-postgresql95/lib/pgsql" which is the DB location for Satellite 5.8.
The upgrade will fail if the database is not present under that particular path.
Some example errors that might be encountered:
psql: FATAL: Ident authentication failed for user "rhnuser"
Environment
Satellite 5.7 -> Satellite 5.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.