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

Re: Why I don't have debug information in DockerRegistry logs?



In my opinion, I don’t believe this is an auth issue.

If it were an auth issue, you would’ve seen something from the builder indicating a failure to push with incorrect credentials. Instead you are looking at what appears as his inability to talk to the registry entirely.

Your log output you produce is from two different spans of time. I would suggest gathering the logs from the same time range and let’s take another look.



-- 
John Skarbek

On October 23, 2016 at 06:19:37, Stéphane Klein (contact stephane-klein info) wrote:

Why I didn't see it in container logs ?

2016-10-23 11:41 GMT+02:00 Stéphane Klein <contact stephane-klein info>:
Hi,

I've some auth issue with my OpenShift DockerRegistry:

I1023 08:54:24.043049       1 docker.go:118] Pushing image 172.30.201.95:5000/openshift/ta-s2i-base-prod:latest ...
E1023 08:54:24.046357       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:29.051732       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:34.054921       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:39.058377       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:44.061671       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:49.064716       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
E1023 08:54:54.067985       1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest failed, will retry in 5s ...
F1023 08:54:59.068275       1 builder.go:204] Error: build error: Failed to push image: unable to ping registry endpoint https://172.30.201.95:5000/v0/
v2 ping attempt failed with error: Get https://172.30.201.95:5000/v2/: http: server gave HTTP response to HTTPS client
 v1 ping attempt failed with error: Get https://172.30.201.95:5000/v1/_ping: http: server gave HTTP response to HTTPS client

In DockerRegistry logs I have only this informations:

10.1.3.1 - - [23/Oct/2016:09:38:35 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:38:45 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:38:45 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:38:55 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:38:55 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.4.1 - - [23/Oct/2016:09:39:05 +0000] "GET / HTTP/1.1" 200 0 "" "check_http/v2.0 (monitoring-plugins 2.0)"
10.1.3.1 - - [23/Oct/2016:09:39:05 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:39:05 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:39:15 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:39:15 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:39:25 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
10.1.3.1 - - [23/Oct/2016:09:39:25 +0000] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"

But I've this in DockerRegistry config file:

$ cat /config.yml
version: 0.1
log:
  level: debug
http:
  addr: :5000
storage:
  cache:
    layerinfo: inmemory
  filesystem:
    rootdirectory: /registry
  delete:
    enabled: true
auth:
  openshift:
    realm: openshift
middleware:
  repository:
    - name: openshift
      options:
        pullthrough: true

Why I don't have debug information in log?

Best regards,
Stéphane



--
_______________________________________________
users mailing list
users lists openshift redhat com
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openshift.redhat.com_openshiftmm_listinfo_users&d=DQICAg&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=ZgQ2cMTSedbNUdQZUV0gB7lKZKwEEQqXuC-bZ6Sb33k&e=


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