Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20661

launching artifactory 2nd time using helm charts fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Helm
    • Labels:
      None
    • Severity:
      Medium

      Description

      I used following commands to launch artifactory

       

      helm install --name artifactory --set nginx.tlsSecretName=artifactory-tls --set ingress.hosts[0]="jcr.jfrog.com" artifactory

      helm del --purge artifactory

      helm install --name artifactory --set nginx.tlsSecretName=artifactory-tls --set ingress.hosts[0]="jcr.jfrog.com" artifactory

      When I launch 2nd time, artifactory pod fails with following error:

      Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "artifactory"
      at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:443)
      at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:217)
      at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:52)
      at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:216)
      at org.postgresql.Driver.makeConnection(Driver.java:404)
      at org.postgresql.Driver.connect(Driver.java:272)
      at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319)
      at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212)
      at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:736)
      at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:668)
      at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483)
      at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154)
      at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118)
      at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107)
      at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131)
      at org.jfrog.access.server.db.util.AccessJdbcHelperImpl.getDbMetadata(AccessJdbcHelperImpl.java:126)
      at org.jfrog.access.server.db.util.AccessJdbcHelperImpl.initDb(AccessJdbcHelperImpl.java:118)
      ... 138 more

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            vinaya Vinay Aggarwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-20661 -
                SYNCHRONIZED
                • Last Sync Date: