Hello,

I am having issues trying to set up pulp as a docker registry.

This is what I did:
- Started with a Centos 6.6 system
- Installed pulp, pulp-docker plugin and crane.
- Created a docker repo, and uploaded a docker image in to it. Published this.

The result is that I now have

/var/lib/pulp/published/docker/app/testdocker.json

{
    "images": [
        {
            "id":
"6ce2e90b0bc7224de3db1f0d646fe8e2c4dd37f1793928287f6074bc451a57ea"
        },
        {
            "id":
"8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55"
        },
        {
            "id":
"cf2616975b4a3cba083ca99bc3f0bf25f5f528c3c52be1596b30f60b0b1c37ff"
        }
    ],
    "protected": false,
    "repo-registry-id": "testpulp/testdocker",
    "repository": "testdocker",
    "tags": {
        "buildroot-2014.02":
"8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55",
        "latest":
"8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55"
    },
    "type": "pulp-docker-redirect",
    "url": "https://pulptestt/pulp/docker/testdocker/";,
    "version": 1
}

This appears to me to look good.

When I now try to pull this image from another host this however does not work:

# docker pull pulptest:8443/testpulp/testdocker

Pulling repository pulptest:8443/testpulp/testdocker

8c2e06607696: Error pulling image (latest) from
pulptest:8443/testpulp/testdocker, endpoint:
https://pulptest:8443/8c2e06607696: Error pulling image (latest) from
pulptest:8443/testpulp/testdocker, Get
https://pulptest/pulp/dockerFATA[0000] Error pulling image (latest)
from pulptest:8443/testpulp/testdocker, Get
https://pulptest/pulp/docker/testdocker/8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55/ancestry:
local error: no renegotiation

Crane is supposed to answer to pull requests with redirects to pulp,
and appears to be doing just that. The URL that docker next tries to
fetch does work:

# curl -k 
https://pulptest/pulp/docker/testdocker/8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55/ancestry

["8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55",
"6ce2e90b0bc7224de3db1f0d646fe8e2c4dd37f1793928287f6074bc451a57ea",
"cf2616975b4a3cba083ca99bc3f0bf25f5f528c3c52be1596b30f60b0b1c37ff"]

However docker itself fails to get this url. The error "no
renegotiation" in SSL error, and this error is also visible in the
apache log file on the pulp server.

I'm a bit at a loss as to what is exactly causing this, and how to fix
this. Can someone shed light on this?

Thanks in advance,

Krist




-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bern, Switzerland

_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to