Unable to get managed connection for java:/ENGINEDataSource

Solution Verified - Updated -

Issue

  • Admin Portal is not available
  • /var/log/ovirt-engine/engine.log has a lot of ERRORs like:
Error in getting DB connection. The database is inaccessible. Original exception is: DataAccessResourceFailureException: Error retreiving database metadata; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/ENGINEDataSource
  • in /var/lib/pgsql/data/pg_log/*.log there are FATAL messages
FATAL:  could not load pg_hba.conf

Environment

RHEV 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content