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

Re: Build fails with 'Response from registry is: no basic auth credentials' when pushing image

Can you check what secrets and service accounts exist in your project?

Ben Parees | OpenShift

On Jul 29, 2016 9:05 AM, "Andre Esser" <andre esser voidbridge com> wrote:

After re-deploying the integrated registry with

  oc delete svc/docker-registry dc/docker-registry

followed by

  oadm registry --config=/etc/origin/master/admin.kubeconfig --service-account=registry

all builds are now failing with:

  I0729 12:54:21.879110       1 sti.go:269] No push secret provided
  I0729 12:54:21.879139       1 sti.go:271] Pushing image ...
  F0729 12:55:11.895056 1 builder.go:204] Error: build error: Failed to push image. Response from registry is: no basic auth credentials

A number of posts seem to suggest that this problem is project-specific and that re-creating the project will resolve this. I however get this with all projects, even with brand new ones.

Few more details:

# oc -n default get svc
docker-registry    <none>        5000/TCP                  2h
kubernetes     <none>        443/TCP,53/UDP,53/TCP     3d
router     <none>        80/TCP,443/TCP,1936/TCP   2d

# oc -n default get rc
NAME                DESIRED   CURRENT   AGE
docker-registry-1   1         1         2h
router-2            3         3         3h

# oc -n default get pod
NAME                      READY     STATUS    RESTARTS   AGE
docker-registry-1-449d3   1/1       Running   0          2h
router-2-3nkr1            1/1       Running   1          3h
router-2-f3827            1/1       Running   1          3h
router-2-pqgkq            1/1       Running   1          3h

Any help much appreciated,


users mailing list
users lists openshift redhat com

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