[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Deploying Docker registry


I'm doing some integration work with Openshift Origin 1.1.6 and I'm running across this issue (occurs both with a binary built from source and using the binary release):

# oc logs -f dc/docker-registry

F0509 21:10:07.958966       1 deployer.go:70] couldn't get deployment default/docker-registry-1: Get dial tcp172.30.0.1:443: i/o timeout

Unless I'm misinterpreting something, that's a straight up TCP/IP timeout, yet when I use curl against this URL I get this:

  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "User \"system:anonymous\" cannot get replicationcontrollers in project \"default\"",
  "reason": "Forbidden",
  "details": {
    "name": "docker-registry-1",
    "kind": "replicationcontrollers"
  "code": 403

Which I suppose is to be expected since I haven't supplied credentials, but clearly the service is reachable. I've done nothing in this case but set up docker, run the openshift binary, and attempt to deploy the registry using these commands:

#oc create serviceaccount registry -n default
#oadm policy add-scc-to-user privileged system:serviceaccount:default:registry
#oadm registry --service-account=registry \
              --config=openshift.local.config/master/admin.kubeconfig \
              --credentials=openshift.local.config/master/openshift-registry.kubeconfig \

Can anyone help me?

Thanks in advance.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]