Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Harbor] VCH should not retry pulling when registry returns 4xx #5966

Closed
reasonerjt opened this issue Aug 9, 2017 · 0 comments · Fixed by #5988
Closed

[Harbor] VCH should not retry pulling when registry returns 4xx #5966

reasonerjt opened this issue Aug 9, 2017 · 0 comments · Fixed by #5988

Comments

@reasonerjt
Copy link

This is another finding along #5950

When the image doesn't match the project level policy, Harbor will return 412 for the "GET manifest" request. After receiving 412 VCH keeps retrying 5 times, so it will take around a minute for the "pull" action to really fail.

Generally, I don't think VCH should retry upon receiving a 4xx error code from server. It probably should fail right away except for receiving a 401.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants