Hello all,

I have the following problem I need some guidance with:

I had to delete and redeploy my private Docker registry.

The problem is that for some reason re-deploying new apps --e.g. the ruby
sample app from here
<https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json>
--
fails since it refers to (and tries to push into) the old private registry.

After a further inspection, it seems I have some old "ImageStreams"
pointing to the old registry, so I need to delete those.

Any guidance on how to do that ?

And, in addition to that, what else do I need to clean up after
re-deploying the Docker registry

Thanks,

Florian

P.S. The particular reason I have deleted & re-deployed the Docker registry
was that previous app deployments failed with:

0221 10:41:34.979617       1 sti.go:223] Registry server Address:
I0221 10:41:34.979650       1 sti.go:224] Registry server User Name:
serviceaccount
I0221 10:41:34.979662       1 sti.go:225] Registry server Email:
[email protected]
I0221 10:41:34.979672       1 sti.go:230] Registry server Password:
<<non-empty>>
F0221 10:41:34.979703       1 builder.go:185] Error: build error: Failed to
push image. Response from registry is: digest invalid: provided digest did
not match uploaded content

and so far I haven't found a clean way of cleanly removing all images /
blobs from the registry -- even if I am using the "host volume" option. If
there is a easier way to clean those images / blobs up other than deleting
the previous Docker registry alltogether and removing that volume, please
advise. Thanks.
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to