Closed m4r1k closed 3 years ago
I think the problem is in the implementation of oc
, we should ask if it's reasonable to generate a URL like this.
You can keep the workaround in your fork if it works for you, but I don't think a server should always accept a URL like this
Hi there, i see the same issue here using Openshift 4.7. Openshift docs are describing the requirements for the mirror-registry to be a "registry that supports Docker v2-2" (https://docs.docker.com/registry/spec/manifest-v2-2/). I didn't find in the harbor docs if Harbor 2.2 is supporting this Docker v2-2? Do you know if it is supported?
@m4r1k I see this is fixed on the oc side? Do you think we still need to keep this open?
Closing Harbor issue (and PR) given the problem was indeed in oc
https://github.com/openshift/oc/issues/789
When mirroring the OpenShift OperatorHub to Harbor 2.2, Nginx fails with the following error
Follows a sample push command logged by Nginx
Follows the CLI used by OpenShift (OCP docs)
To fix the problem, I've injected a custom Nginx config, essentially playing with the Nginx's buffers
Expected behavior and actual behavior: I'd expect Nginx to be tuned out of the box to handle large requests otherwise it may fail as in my case.
Steps to reproduce the problem: Pushing a lot of contents in parallel
See the above linked OCP documentation and CLI used to actually create a mirror of OperatorHub
Versions: Please specify the versions of following systems.