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 (cont...@stephane-klein.info<mailto:cont...@stephane-klein.info>) wrote: I see some debug message here https://github.com/openshift/origin/blob/master/pkg/dockerregistry/server/token.go#L60<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openshift_origin_blob_master_pkg_dockerregistry_server_token.go-23L60&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=TvJg1UrdUCwNLGZreRqPNGKDMn6_dZIIefEXbLcMAgA&e=> Why I didn't see it in container logs ? 2016-10-23 11:41 GMT+02:00 Stéphane Klein <cont...@stephane-klein.info<mailto:cont...@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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_ta-2Ds2i-2Dbase-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=ZLwNx1Acy_01nZf33muo-T2uCo7E3P1nOhR8R_exwPA&e=> ... E1023 08:54:24.046357 1 dockerutil.go:86] push for image 172.30.201.95:5000/openshift/base-prod:latest<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.30.201.95-3A5000_openshift_base-2Dprod-3Alatest&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=YWo-AuDikdcSNW01jKU5KOV3Ormpi9NE9FyFGyDRviQ&e=> 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/<https://urldefense.proofpoint.com/v2/url?u=https-3A__172.30.201.95-3A5000_v0_&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=W6OpV9QVgNDCU8lD9lT5cFJd1GmbnnY9ZXLY7CET3fQ&e=> v2 ping attempt failed with error: Get https://172.30.201.95:5000/v2/<https://urldefense.proofpoint.com/v2/url?u=https-3A__172.30.201.95-3A5000_v2_&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=nG11fHu5Vq7pB1UMkHB-VBOZcLxiLlOSuhKBp-KaWgE&e=>: http: server gave HTTP response to HTTPS client v1 ping attempt failed with error: Get https://172.30.201.95:5000/v1/_ping<https://urldefense.proofpoint.com/v2/url?u=https-3A__172.30.201.95-3A5000_v1_-5Fping&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=jQkVQMTZidslB8uAwk-vPAA820NLKcURXH664B6iyhI&e=>: 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 -- Stéphane Klein <cont...@stephane-klein.info<mailto:cont...@stephane-klein.info>> blog: http://stephane-klein.info<https://urldefense.proofpoint.com/v2/url?u=http-3A__stephane-2Dklein.info&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=0lw-A659xk0qsyM2fqNkPETMJ0QNQg89IDwhxCdEn_I&e=> cv : http://cv.stephane-klein.info<https://urldefense.proofpoint.com/v2/url?u=http-3A__cv.stephane-2Dklein.info&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=eWjBvmqVccjRJLaUVu86Nsg604BWI_eyg1k-AdCgG5g&e=> Twitter: http://twitter.com/klein_stephane<https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_klein-5Fstephane&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=PUaXAJvjD-5UJDG1AGIQ7LerA1K2NMNEGqKOAGG0_HA&e=> -- Stéphane Klein <cont...@stephane-klein.info<mailto:cont...@stephane-klein.info>> blog: http://stephane-klein.info<https://urldefense.proofpoint.com/v2/url?u=http-3A__stephane-2Dklein.info&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=0lw-A659xk0qsyM2fqNkPETMJ0QNQg89IDwhxCdEn_I&e=> cv : http://cv.stephane-klein.info<https://urldefense.proofpoint.com/v2/url?u=http-3A__cv.stephane-2Dklein.info&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=eWjBvmqVccjRJLaUVu86Nsg604BWI_eyg1k-AdCgG5g&e=> Twitter: http://twitter.com/klein_stephane<https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_klein-5Fstephane&d=DQMFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=jPk0afiE33N0sw58_WZL9NAFkRpGb-fI6aDYYBcuFTo&s=PUaXAJvjD-5UJDG1AGIQ7LerA1K2NMNEGqKOAGG0_HA&e=> _______________________________________________ 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=
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users