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

Re: Docker build fails - Pod.Status: invalid value 'Unknown'



https://github.com/openshift/origin/pull/740

merge at will.


Ben Parees | OpenShift

----- Original Message -----
> From: "Clayton Coleman" <ccoleman redhat com>
> To: "Dror Gensler" <dror g zend com>
> Cc: "Ben Parees" <bparees redhat com>, "Jakub Hadvig" <jhadvig redhat com>, users lists openshift redhat com
> Sent: Sunday, January 25, 2015 5:09:36 PM
> Subject: Re: Docker build fails - Pod.Status: invalid value 'Unknown'
> 
> We should add that to the trouble shooting guide - you're not the first to
> hit stuff like that.
> 
> 
> > On Jan 25, 2015, at 4:57 AM, Dror Gensler <dror g zend com> wrote:
> > 
> > As Ben suggested I used "docker logs <container-id>" to view the
> > origin-docker-builder log.
> > Turns out the docker-builder was unable to resolve github.com as it copies
> > resolv.conf settings from the host, which in my case was set for local
> > domain DNS servers (I'm using a local compiled openshift binary).
> > 
> > Setting the docker host resolv.conf to 8.8.8.8 resolved the issue.
> > 
> > Thanks for your help!
> > 
> >> On Thu, Jan 22, 2015 at 6:10 PM, Ben Parees <bparees redhat com> wrote:
> >> Note that until the build-logs command is fixed, you can still get the
> >> build output using docker logs.
> >> 
> >> use "docker ps -a" to find the builder container (eg origin-sti-builder or
> >> origin-docker-builder), and then "docker logs <containerid>" to view the
> >> logs.
> >> 
> >> 
> >> Ben Parees | OpenShift
> >> 
> >> ----- Original Message -----
> >> > From: "Clayton Coleman" <ccoleman redhat com>
> >> > To: "Dror Gensler" <dror g zend com>, "Jakub Hadvig"
> >> > <jhadvig redhat com>
> >> > Cc: users lists openshift redhat com
> >> > Sent: Thursday, January 22, 2015 4:52:13 PM
> >> > Subject: Re: Docker build fails - Pod.Status: invalid value 'Unknown'
> >> >
> >> > Jakub was looking at a similar error with how the client works. Cc'd
> >> >
> >> >
> >> > On Jan 22, 2015, at 10:45 AM, Dror Gensler < dror g zend com > wrote:
> >> >
> >> >
> >> >
> >> >
> >> > Hi everyone,
> >> >
> >> > I recently updated Openshift and encountered a problem with Docker
> >> > builds:
> >> > When a build starts the "openshift/origin-docker-builder" pod is started
> >> > with
> >> > an "Unknown" status.
> >> > The build itself remains in "pending" state for a while, and the
> >> > build-log
> >> > reports:
> >> > {
> >> > "kind": "Status",
> >> > "creationTimestamp": null,
> >> > "apiVersion": "v1beta1",
> >> > "status": "Failure",
> >> > "message": "Pod.Status: invalid value 'Unknown': must be Running",
> >> > "code": 500
> >> > }
> >> >
> >> > After a minute or so the pod status changes to "Failed" and the build
> >> > log
> >> > reports:
> >> > {
> >> > "kind": "Status",
> >> > "creationTimestamp": null,
> >> > "apiVersion": "v1beta1",
> >> > "status": "Failure",
> >> > "message": "Pod.Status: invalid value 'Failed': must be Running",
> >> > "code": 500
> >> > }
> >> >
> >> > I noticed all pods are started with an "Unknown" STATUS, which lasts for
> >> > a
> >> > minute or so.
> >> > I believe this temporary Unknown status is the reason for the build's
> >> > failing, as the automated-build template used to work on previous
> >> > versions
> >> > and no other errors are presented in the logs.
> >> >
> >> > It all started when I upgraded Openshift and Docker:
> >> > openshift version 0.1, build ed60f9f
> >> > kubernetes v0.8.0-dev
> >> > Docker 1.4.1
> >> >
> >> > Everything worked with the previous version I used:
> >> > openshift version 0.1, build fe98314
> >> > kubernetes v0.6.0-dev
> >> > Docker 1.01
> >> >
> >> > Tried using the openshift container and a locally compiled version from
> >> > source. problem exists in both implementations.
> >> >
> >> > Your help will be much appreciated,
> >> > Dror Gensler
> >> > Zend Technologies.
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > users mailing list
> >> > users lists openshift redhat com
> >> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >> >
> >> > _______________________________________________
> >> > users mailing list
> >> > users lists openshift redhat com
> >> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >> >
> > 
> 


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