HTTP ERROR 404 JSP file [/error.jsp] not foundHTTP ERROR 404 JSP file [/error.jsp] not foundURI: /provider/STATUS: 404MESSAGE: JSP file [/error.jsp] not foundSERVLET: jspCAUSED BY: com.vmware.vcloud.common.persist.exception.CellNotActiveException: Cell is not activeCaused by:com.vmware.vcloud.common.persist.exception.CellNotActiveException: Cell is not active at com.vmware.vcloud.common.persist.impl.CellLivenessStatusServiceImpl.validateIsActive(CellLivenessStatusServiceImpl.java:81) at com.vmware.vcloud.common.persist.QueryInterceptor.validateIsActive(QueryInterceptor.java:118) at com.vmware.vcloud.common.persist.QueryInterceptor.onPrepareStatement(QueryInterceptor.java:170)YYYY-MM-DD 07:23:00,669 | ERROR | main | PGjdbcHostnameVerifier | Server name validation failed: certificate for host <eth1 ip_address of the cell> dNSName entries subjectAltName, but none of them match. Assuming server name validation failed |YYYY-MM-DD 07:23:00,673 | ERROR | main | ReconfigureDatabaseCommand | Invalid database configuration: The hostname <eth1 ip_address of the cell> could not be verified by hostnameverifier PgjdbcHostnameVerifier. |org.postgresql.util.PSQLException: The hostname <eth1 ip_address of the cell> could not be verified by hostnameverifier PgjdbcHostnameVerifier. at org.postgresql.ssl.MakeSSL.verifyPeerName(MakeSSL.java:93) at org.postgresql.ssl.MakeSSL.convert(MakeSSL.java:62) ...
YYYY-MM-DD 07:23:00,674 | ERROR | main | ReconfigureDatabaseCommand | Invalid database configuration provided. Aborting configuration of local cell. |YYYY-MM-DD 07:23:00,674 | DEBUG | main | ReconfigureDatabaseCommand | Starting reconfigure of remote cells |YYYY-MM-DD 07:23:00,894 | DEBUG | main | SslContextImpl | SecurityContextOrgIdAccessor not yet set - will provide a new/uncached SSLContext |YYYY-MM-DD 07:23:00,904 | ERROR | main | PGjdbcHostnameVerifier | Server name validation failed: certificate for host <eth1 ip_address of the cell> dNSName entries subjectAltName, but none of them match. Assuming server name validation failed |YYYY-MM-DD 07:23:00,906 | ERROR | main | JDBCExceptionReporter | The hostname <eth1 ip_address of the cell> could not be verified by hostnameverifier PgjdbcHostnameVerifier. |YYYY-MM-DD 07:23:00,906 | ERROR | main | CellManagementTool | Error executing command: org.hibernate.exception.JDBCConnectionException: Cannot open connection |java.lang.RuntimeException: org.hibernate.exception.JDBCConnectionException: Cannot open connection at com.vmware.vcloud.common.install.cmt.ReconfigureDatabaseCommand.doCommand(ReconfigureDatabaseCommand.java:224)Caused by: org.hibernate.exception.JDBCConnectionException: Cannot open connection at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)
VMware Cloud Director 10.6.x
This issue occurs when the PostgreSQL certificate Subject Alternative Name (SAN) does not include the eth1 ip address of the cell.
Appliances which run with the default self-signed certificates for PostgreSQL are not affected.
To resolve the issue, generate new certificate for postgres with all the below entries in SAN field and replace the certificate on all the VMware Cloud Director Cells: Replace or Renew the VMware Cloud Director Appliance Management Certificates