Error "Could not connect to PostgreSQL: Failed to initialize pool" while integrating VMware Cloud Foundation Management Pack for PostgreSQL with VCF Operations 9.0
search cancel

Error "Could not connect to PostgreSQL: Failed to initialize pool" while integrating VMware Cloud Foundation Management Pack for PostgreSQL with VCF Operations 9.0

book

Article ID: 405240

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Integrating postgres database with VCF Operations 9.0 using management pack "VMware Cloud Foundation Management Pack for PostgreSQL", failed with below error:

  • Below error reported within /storage/vcops/log/collector.log

    ERROR collector 58487 [ops@4413 threadId="126792" threadName="TasksManager-TaskHandler-260"] [com.bluemedora.exuno.DataProvider.error] - com.bluemedora.slf4jto
    exunologger.Logger: HikariPool-2 - Exception during pool initialization.
    org.postgresql.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception.
    Caused by: org.bouncycastle.crypto.fips.FipsUnapprovedOperationError: password must be at least 112 bits
            at org.bouncycastle.crypto.fips.FipsPBKD$Parameters.<init>(Unknown Source) ~[bc-fips-2.0.0.jar:2.0.0]
            at org.bouncycastle.crypto.fips.FipsPBKD$Parameters.<init>(Unknown Source) ~[bc-fips-2.0.0.jar:2.0.0]
            at org.bouncycastle.crypto.fips.FipsPBKD$ParametersBuilder.using(Unknown Source) ~[bc-fips-2.0.0.jar:2.0.0]
            at org.bouncycastle.jcajce.provider.ProvPBEPBKDF2$BasePBKDF2.engineGenerateSecret(Unknown Source) ~[bc-fips-2.0.0.jar:2.0.0]
            at javax.crypto.SecretKeyFactory.generateSecret(Unknown Source) ~[?:?]

Environment

  • VCF Operations 9.0
  • VMware Cloud Foundation Management Pack for PostgreSQL 9.0

Cause

The password for the Postgres user account used in the integration didn't meet the password policy.

Resolution

For PostgreSQL integration in VCF Operations 9.x, ensure the database user’s password meets a minimum length of 15 characters.