Actions
Issue #6916
closedLatest stable docker client (2.3.0.3) fails to create 'latest' tag
Start date:
Due date:
Estimated time:
Severity:
3. High
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 74
Quarter:
Description
With the latest stable docker client (2.3.0.3) installed, docker push
fails to make a PUT request to the API to create a latest
tag. This later causes a docker pull
operation to fail, because there is no latest
tag.
When using podman to push the image, it uploads all the blobs first (which the docker client does as well), and then it makes 2 additional PUT calls. one to create a manifest. and another to create a tag pointing at the the manifest. The same is expected from the docker client.
The root cause seems to be the Nginx config having client_max_body_size set to 1MB. Bumping this. to unlimited resolved the problem.
Actions
Sets client_max_body_size to 0, unlimited for nginx
The default value for client_max_body_size is 1mb. We need it to be unlimited.
Apache's equivalent is LimitRequestBody and it defaults to unlimited.
This patch updates the 'push' test to use a large image that would require this setting to be set.
This patch also adds an additional 'pull' operation to the 'push' test to verify that the pushed image can be pulled back from the registry.
fixes: #6916 https://pulp.plan.io/issues/6916