2

I tried to previously successfully built projects and both got the same error message:

error: build error: Failed to push image: Get https://docker-registry.default.svc:5000/v1/_ping: x509: certificate is valid for docker-registry-default.xxxx.starter-us-west-2.openshiftapps.com, docker-registry.default.svc.cluster.local, 172.xx.xx.xx, not docker-registry.default.svc

Graham Dumpleton
  • 57,726
  • 6
  • 119
  • 134
Aero Wang
  • 8,382
  • 14
  • 63
  • 99
  • Are you saying this worked for the application before and has just started? Does it happen every time if trigger new builds? The status does say that cluster is currently going through an upgrade, so there is a chance that during that certain things such as builds and new deployments may not work for short periods of time. Existing running applications should be unaffected. https://status.starter.openshift.com/ – Graham Dumpleton Feb 22 '18 at 05:07
  • @GrahamDumpleton okay so I will try again tomorrow. Thx. – Aero Wang Feb 22 '18 at 05:17
  • 1
    @GrahamDumpleton yeah even the sample project failed. – Aero Wang Feb 22 '18 at 05:35
  • 1
    Same here with us-west 15:22 GMT. I had build problems earlier with pushing images, but these were related due to server outage and later healed. However I have never experienced this exact kind of error. – sbtpr Feb 22 '18 at 14:22
  • @sbtpr it seems to create error messages still but my deployment is up now – Aero Wang Feb 23 '18 at 02:55

2 Answers2

0

It looks like you are refering to the registry service by a name that is not included in the certificate for it. docker-registry.default.svc you should use something like docker-registry.default.svc.cluster.local instead to match name supported by certificate

Radek 'Goblin' Pieczonka
  • 21,554
  • 7
  • 52
  • 48
0

Looks like they have reverted some of the changes made yesterday. It works good now.

moch77
  • 54
  • 4
  • Build succeeded 20:54 GMT. But the deploy still fails. Short popup message talks about replicacontroller missing. – sbtpr Feb 22 '18 at 20:55