goharbor


Ignazio Cassano
 

Ignazio Cassano via lists.cncf.io <ignaziocassano=gmail.com@...>

12:06 (9 minuti fa)
   
 
Hello All,
I am trying to setup goarbor with external redis but it does not work:
 
2022-09-06T10:01:34Z [ERROR] [/lib/cache/cache.go:114]: failed to ping redis://redis:xxxxx@haproxy-harbor:6379/0?idle_timeout_seconds=30, retry after 10s : WRONGPASS invalid username-password pair or user is disabled.
 
The password I inserted in values.yaml is correct but seems user is hardcoded.
Please, help me
Ignazio


Orlin Vasilev
 

Hi Ignazio,

can you share a bit more for your values.yaml please you can remove the password and hostnames if you want :)

Orlix

On Tue, Sep 6, 2022 at 1:15 PM Ignazio Cassano <ignaziocassano@...> wrote:

Ignazio Cassano via lists.cncf.io <ignaziocassano=gmail.com@...>

12:06 (9 minuti fa)
   
 
Hello All,
I am trying to setup goarbor with external redis but it does not work:
 
2022-09-06T10:01:34Z [ERROR] [/lib/cache/cache.go:114]: failed to ping redis://redis:xxxxx@haproxy-harbor:6379/0?idle_timeout_seconds=30, retry after 10s : WRONGPASS invalid username-password pair or user is disabled.
 
The password I inserted in values.yaml is correct but seems user is hardcoded.
Please, help me
Ignazio


yinw
 

Hi lgnazio, this is a known issue and already fixed. The fix should be available in the next patch release v1.10.1 of Harbor helm chart, or you can patch the Harbor helm chart with the same change in the fix.

 

Regards,

Wenkai

From: harbor-users@... <harbor-users@...> on behalf of Orlin Vasilev via lists.cncf.io <orlin=orlix.org@...>
Date: Monday, September 19, 2022 at 19:25
To: harbor-users@... <harbor-users@...>
Subject: Re: [harbor-users] goharbor

Hi Ignazio,

 

can you share a bit more for your values.yaml please you can remove the password and hostnames if you want :)

 

Orlix

 

On Tue, Sep 6, 2022 at 1:15 PM Ignazio Cassano <ignaziocassano@...> wrote:

Ignazio Cassano via lists.cncf.io <ignaziocassano=gmail.com@...>

12:06 (9 minuti fa)

 

 

 

 

Hello All,

I am trying to setup goarbor with external redis but it does not work:

 

2022-09-06T10:01:34Z [ERROR] [/lib/cache/cache.go:114]: failed to ping redis://redis:xxxxx@haproxy-harbor:6379/0?idle_timeout_seconds=30, retry after 10s : WRONGPASS invalid username-password pair or user is disabled.

 

The password I inserted in values.yaml is correct but seems user is hardcoded.

Please, help me

Ignazio

 



Ignazio Cassano
 

Hello, thanks for your answer.
The following are the redix external values:

 external:
        # support redis, redis+sentinel
        # addr for redis: <host_redis>:<port_redis>
        # addr for redis+sentinel: <host_sentinel1>:<port_sentinel1>,<host_sentinel2>:<port_sentinel2>,<host_sentinel3>:<port_sentinel3>
        addr: "haproxy-harbor:6379"
        # The name of the set of Redis instances to monitor, it must be set to support redis+sentinel
        sentinelMasterSet: ""
        # The "coreDatabaseIndex" must be "0" as the library Harbor
        # used doesn't support configuring it
        coreDatabaseIndex: "0"
        jobserviceDatabaseIndex: "1"
        registryDatabaseIndex: "2"
        chartmuseumDatabaseIndex: "3"
        trivyAdapterIndex: "5"
        password: "********"
        # If using existingSecret, the key must be REDIS_PASSWORD
        existingSecret: ""



Il giorno lun 19 set 2022 alle ore 13:58 Wenkai Yin <yinw@...> ha scritto:

Hi lgnazio, this is a known issue and already fixed. The fix should be available in the next patch release v1.10.1 of Harbor helm chart, or you can patch the Harbor helm chart with the same change in the fix.

 

Regards,

Wenkai

From: harbor-users@... <harbor-users@...> on behalf of Orlin Vasilev via lists.cncf.io <orlin=orlix.org@...>
Date: Monday, September 19, 2022 at 19:25
To: harbor-users@... <harbor-users@...>
Subject: Re: [harbor-users] goharbor

Hi Ignazio,

 

can you share a bit more for your values.yaml please you can remove the password and hostnames if you want :)

 

Orlix

 

On Tue, Sep 6, 2022 at 1:15 PM Ignazio Cassano <ignaziocassano@...> wrote:

Image removed by sender.

Ignazio Cassano via lists.cncf.io <ignaziocassano=gmail.com@...>

12:06 (9 minuti fa)

 

 

 

 

Hello All,

I am trying to setup goarbor with external redis but it does not work:

 

2022-09-06T10:01:34Z [ERROR] [/lib/cache/cache.go:114]: failed to ping redis://redis:xxxxx@haproxy-harbor:6379/0?idle_timeout_seconds=30, retry after 10s : WRONGPASS invalid username-password pair or user is disabled.

 

The password I inserted in values.yaml is correct but seems user is hardcoded.

Please, help me

Ignazio

 



Ignazio Cassano
 

Hello, thanks for your answer
The following are my values for external redis:

 external:
        # support redis, redis+sentinel
        # addr for redis: <host_redis>:<port_redis>
        # addr for redis+sentinel: <host_sentinel1>:<port_sentinel1>,<host_sentinel2>:<port_sentinel2>,<host_sentinel3>:<port_sentinel3>
        addr: "haproxy-harbor:6379"
        # The name of the set of Redis instances to monitor, it must be set to support redis+sentinel
        sentinelMasterSet: ""
        # The "coreDatabaseIndex" must be "0" as the library Harbor
        # used doesn't support configuring it
        coreDatabaseIndex: "0"
        jobserviceDatabaseIndex: "1"
        registryDatabaseIndex: "2"
        chartmuseumDatabaseIndex: "3"
        trivyAdapterIndex: "5"
        password: "password"
        # If using existingSecret, the key must be REDIS_PASSWORD
        existingSecret: ""


Il giorno lun 19 set 2022 alle ore 13:25 Orlin Vasilev <orlin@...> ha scritto:
Hi Ignazio,

can you share a bit more for your values.yaml please you can remove the password and hostnames if you want :)

Orlix

On Tue, Sep 6, 2022 at 1:15 PM Ignazio Cassano <ignaziocassano@...> wrote:

Ignazio Cassano via lists.cncf.io <ignaziocassano=gmail.com@...>

12:06 (9 minuti fa)
   
 
Hello All,
I am trying to setup goarbor with external redis but it does not work:
 
2022-09-06T10:01:34Z [ERROR] [/lib/cache/cache.go:114]: failed to ping redis://redis:xxxxx@haproxy-harbor:6379/0?idle_timeout_seconds=30, retry after 10s : WRONGPASS invalid username-password pair or user is disabled.
 
The password I inserted in values.yaml is correct but seems user is hardcoded.
Please, help me
Ignazio