Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4169

runOnOpenShift Hibernate configuration failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 7.12.0.GA
    • OptaPlanner
    • None
    • False
    • False
    • CR4
    • +
    • 2022 Week 20-22 (from May 16), 2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27)

      runOnOpenshift scripts fails while deploing standalone

      oc set env deployment/standalone --from=secret/postgresql 

      Both otawebs are affected

      Feb 15, 2022 1:53:18 PM org.hibernate.validator.internal.util.Version
      INFO: HV000001: Hibernate Validator %s
      Feb 15, 2022 1:53:19 PM org.hibernate.Version
      INFO: HHH000412: Hibernate ORM core version %s
      Feb 15, 2022 1:53:19 PM org.hibernate.annotations.common.Version
      INFO: HCANN000001: Hibernate Commons Annotations {%1$s}
      Feb 15, 2022 1:53:19 PM org.hibernate.dialect.Dialect
      INFO: HHH000400: Using dialect: %s
      One or more configuration errors have prevented the application from starting. The errors are:
        - SRCFG00011: Could not expand value DATABASE_NAME in property quarkus.datasource.jdbc.url
        - SRCFG00011: Could not expand value DATABASE_USER in property quarkus.datasource.username
        - SRCFG00011: Could not expand value DATABASE_PASSWORD in property quarkus.datasource.password
      

      Workaround:

      Go to CRC console and change secrets

      crc console
      Secrets>Postgress>Action>Edit Secret>Change secrets
      database_name>DATABASE_NAME
      database_password>DATABASE_PASSWORD
      database_user>DATABASE_USER

              cchianel Christopher Chianelli (Inactive)
              adupliak Anna Dupliak
              Anna Dupliak Anna Dupliak
              Anna Dupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: