Open hsy-go opened 4 months ago
共享存储的二台harbor,复制任务去另一套harbor失败率太高,jobservice组件报401
Please make sure your account has proper permission to pull image from repository yeepay-docker-staging-local/jgs-invoice-server
Please check the harbor core log in the source Harbor, and make sure there is no such log https://github.com/goharbor/harbor/blob/4ecc60dbd748569e2d759d6c449e0e6797104146/src/core/auth/authenticator.go#L158
Please check the harbor core log in the source Harbor, and make sure there is no such log
Please check the harbor core log in the source Harbor, and make sure there is no such log
I have the same issue, and I suspect that the two Harbor nodes cannot share the same token, which might be causing the problem. Currently, I can only stop the jobservice on one of the nodes. Is there any way to avoid this issue?
I also encountered the same problem, where the push time when using repository replication would throw the following exception:
2024-10-14T14:33:56Z [ERROR] [/controller/replication/transfer/image/transfer.go:194]: http status code: 401, body: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository: test/nginx, action: push: unauthorized to access repository: test/nginx, action: push"}]}
Under the same configuration, using pull is normal.
We have deployed two Harbor clusters based on shared storage