goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
23.69k stars 4.72k forks source link

Issue with Pushing Image to Harbor Repository #20172

Open micheleietri opened 5 months ago

micheleietri commented 5 months ago

I'm encountering an issue while attempting to push a large image (~1 GB) to an internally hosted Harbor repository. Upon completion of pushing the largest layer, I receive the following error:

7ba86e9d77ed: Pushed
ca342045cd28: Pushed
5f70bf18a086: Layer already exists                                                                                                                                                                                                                                           fa207eefdbc6: Pushed
0d3699b83b74: Pushing [==================================================>]  740.4MB
b60202ed5161: Pushed
9215743a08fe: Pushed
c2497f867b97: Pushed
c0fcee1f0005: Pushed
e29c10a8f5af: Pushed
5c4895a3935f: Pushed
df651bb07449: Pushed
7d578c5b3942: Pushed
498bbcc60d01: Layer already exists
c0e21dcee623: Layer already exists
d6b19a46b795: Layer already exists
e6c05e83c163: Layer already exists
256d88da4185: Layer already exists
unauthorized: unauthorized to access repository: nvidia-operator/driver, action: push: unauthorized to access repository: nvidia-operator/driver, action: push

However, using the same credentials, I'm able to push smaller images (I've tested with busybox by simply pulling and retagging it) without any problem.

Thank you for your assistance in resolving this issue.

wy65701436 commented 5 months ago

please share the proxy, core and registry log for deeper debugging, thanks. And what version of harbor are you using?

zyyw commented 5 months ago

btw, what is the value of the following section:

Screenshot 2024-04-01 at 4 10 30 PM
micheleietri commented 5 months ago

I am making few tests with the token expiration options, and it seems to be the problem. now i have to try to understand why it takes so long to upload the images.

btw @wy65701436 i have no proxy pod in this installation image

github-actions[bot] commented 3 months ago

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

sunjingwen21 commented 2 months ago

i met this issue too,have u already solve it?

github-actions[bot] commented 2 weeks ago

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.