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

Re: Openshift and Power loss



Yup, you're right.

BTW, I'm just curious - it seems to save a generated image, but not the images that it downloads from docket.io etc. Is there a way to keep them also?

תודה,
חץ בן חמו
אתם מוזמנים לבקר בבלוג היעוץ או בבלוג הפרטי שלי

On Mon, Jul 2, 2018 at 7:04 PM, Erik Jacobs <ejacobs redhat com> wrote:
Did you perhaps not have persistent storage for your registry, and that's the host that lost power?

This would cause etcd to think something is a certain way, but the registry wouldn't actually have that image....

?

---

ERIK JACOBS

PRINCIPAL TECHNICAL MARKETING MANAGER, CLOUD PLATFORMS

Red Hat Inc

ejacobs redhat com    M: 646.462.3745     @: erikonopen



On Wed, Jun 20, 2018 at 9:42 AM Hetz Ben Hamo <hetz hetz biz> wrote:
Looking directly at one of the nodes, I see it as this:

docker-registry.default.svc:5000/image-uploader/app-cli         <none>              7234ee8e0215        2 days ago          647 MB

However, trying to pull it, I get:

# docker pull docker-registry.default.svc:5000/image-uploader/app-cli
Using default tag: latest
Trying to pull repository docker-registry.default.svc:5000/image-uploader/app-cli ...
Pulling repository docker-registry.default.svc:5000/image-uploader/app-cli
Error: image image-uploader/app-cli:latest not found


On Wed, Jun 20, 2018 at 4:21 PM, Clayton Coleman <ccoleman redhat com> wrote:


On Jun 20, 2018, at 7:32 AM, Hetz Ben Hamo <hetz hetz biz> wrote:

With all redundant hardware these days, with UPS - power loss can happen.

I just got a power loss and upon powering on those machines, most of the services weren't working. Checking the pods shows almost all of them in error state. I deleted the pods and they were automatically recreated so most of the services were running, but the images inside this Openshift system wen't dead (redeployed my stuff gave an error that images cannot be pulled).

If you get “images cannot be pulled” it usually means those images don’t exist anymore.  If you try to docker pull those images, what happens?


I looked at the documents, both the commercial and the origin version, but there is nothing which talks about this issue, nor any script that will fix this issue after powering on this system.

Is there such a document or any script that fixes such an issue?

Thanks,
Hetz
_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


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