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

Installer generates wrong Min/Max connection pool size in external DB configuration of CR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.13.0.GA
    • 7.12.0.GA
    • Cloud
    • installer of operator on OCP4 

    • False
    • None
    • False
    • Hide

      set minPoolSize/maxPoolSize manually in generated CR yaml

      Show
      set minPoolSize/maxPoolSize manually in generated CR yaml
    • Hide

      1. start installer.

      2. input application name, select rhpam-trial env and proceed it with default values until KIE Servers configuration.

      3. click 'add new KIE server' and scroll down to Database configuration at the bottom.

      4.  in Database configuration, select external as Database type and input mandatory fields

      e.g. 

      • Driver: postgresql
      • Dialect: org.hibernate.dialect.PostgreSQLDialect
      • User name :  user
      • Password :  password

      and then set the following as connection pool configuration

      • Mininimum connection pool size : 15
      • Maximum connection pool size : 30

      5. click view YAML link at the bottom  

      The following would be generated.

            - database:
                externalConfig:
                  driver: postgresql
                  dialect: org.hibernate.dialect.PostgreSQLDialect
                  username: user
                  password: passowrd
                  minPoolSize: '30'
                type: external

         In the UI, minPoolSize it set to '15' but 30 is set in generated CR and  maxPoolSize is not set even though 30 is set in UI.

      Show
      1. start installer. 2. input application name, select rhpam-trial env and proceed it with default values until KIE Servers configuration. 3. click 'add new KIE server' and scroll down to Database configuration at the bottom. 4.  in Database configuration, select external  as Database type and input mandatory fields e.g.  Driver: postgresql Dialect: org.hibernate.dialect.PostgreSQLDialect User name :  user Password :  password and then set the following as connection pool configuration Mininimum connection pool size : 15 Maximum connection pool size : 30 5. click view YAML link at the bottom   The following would be generated.       - database:           externalConfig:             driver: postgresql             dialect: org.hibernate.dialect.PostgreSQLDialect             username: user             password: passowrd             minPoolSize: '30'           type: external    In the UI, minPoolSize it set to '15' but 30 is set in generated CR and  maxPoolSize is not set even though 30 is set in UI.

    Description

      When configuring external DB by installer of operator on OCP4, 

      the following parameter can be specified

      • Mininimum connection pool size
      • Maximum connection pool size

      But generated CR for these parameters are set with the value which is not specified in UI.

      Attachments

        Activity

          People

            amadhusu Achyut Madhusudan
            rhn-support-hmiura Hiroko Miura
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: