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

Re: origin V3 installation in Docker



Hi Ben,

Thanks for the response.
have tried running Origin V3 from "https://blog.openshift.com/openshift-v3-deep-dive-docker-kubernetes/" too.

This is also giving me error when i start openshift via "./openshift start". Below are the error logs:

I1209 08:32:41.903328 01388 start.go:122] Starting an OpenShift all-in-one, reachable at http://10.0.2.15:8080 (etcd: http://10.0.2.15:4001)
I1209 08:32:42.036060 01388 start.go:134]   Node: localhost
I1209 08:32:42.038579 01388 etcd.go:29] Started etcd at 10.0.2.15:4001
[etcd] Dec  9 08:32:42.234 INFO      | Peer URLs in log:  / openshift.local (http://127.0.0.1:7001)
[etcd] Dec  9 08:32:42.245 INFO      | etcd server [name openshift.local, listen on 0.0.0.0:4001, advertised url http://10.0.2.15:4001]
[etcd] Dec  9 08:32:42.247 INFO      | peer server [name openshift.local, listen on 0.0.0.0:7001, advertised url http://127.0.0.1:7001]
[etcd] Dec  9 08:32:42.250 INFO      | openshift.local starting in peer mode
[etcd] Dec  9 08:32:42.252 INFO      | openshift.local: state changed from 'initialized' to 'follower'.
[etcd] Dec  9 08:32:42.525 INFO      | openshift.local: state changed from 'follower' to 'candidate'.
[etcd] Dec  9 08:32:42.532 INFO      | openshift.local: state changed from 'candidate' to 'leader'.
[etcd] Dec  9 08:32:42.533 INFO      | openshift.local: leader changed from '' to 'openshift.local'.
I1209 08:32:42.648691 01388 controller.go:38] Creating build controller with timeout=1200
I1209 08:32:42.667859 01388 master.go:74] Started Kubernetes Scheduler
I1209 08:32:42.686037 01388 master.go:65] Started Kubernetes Replication Manager
E1209 08:32:42.685814 01388 endpoints_controller.go:53] Failed to list services: Get http://10.0.2.15:8080/api/v1beta1/services?labels=: dial tcp 10.0
.2.15:8080: connection refused
I1209 08:32:42.651709 01388 master.go:192] Started Kubernetes API at http://10.0.2.15:8080/api/v1beta1
[info] GET /_ping
I1209 08:32:42.741259 01388 master.go:192] Started Kubernetes API at http://10.0.2.15:8080/api/v1beta2
I1209 08:32:42.742664 01388 master.go:192] Started OAuth2 API at http://10.0.2.15:8080/oauth
I1209 08:32:42.743050 01388 master.go:192] Started login server at http://10.0.2.15:8080/login
I1209 08:32:42.743416 01388 master.go:194] Started OpenShift API at http://10.0.2.15:8080/osapi/v1beta1
E1209 08:32:42.723229 01388 reflector.go:78] Failed to list *api.Pod: Get http://10.0.2.15:8080/api/v1beta1/pods?fields=DesiredState.Host%3D: dial tcp
 10.0.2.15:8080: connection refused
E1209 08:32:42.723253 01388 controller.go:63] Synchronization error: Get http://10.0.2.15:8080/osapi/v1beta1/deployments?labels=: dial tcp 10.0.2.15:8
080: connection refused (&url.Error{Op:"Get", URL:"http://10.0.2.15:8080/osapi/v1beta1/deployments?labels=", Err:(*net.OpError)(0xc208388500)})
I1209 08:32:42.741152 01388 node.go:53] Connecting to Docker at unix:///var/run/docker.sock
I1209 08:32:42.744657 01388 node.go:115] Started Kubernetes Proxy on 0.0.0.0
I1209 08:32:42.651836 01388 master.go:227] Started OpenShift static asset server at http://10.0.2.15:8091
E1209 08:32:42.746426 01388 docker.go:86] Unable to parse Docker config file: unexpected end of JSON input
I1209 08:32:42.747884 01388 node.go:98] Started Kubelet for node localhost, server at 0.0.0.0:10250
E1209 08:32:42.723046 01388 replication_controller.go:104] Unexpected failure to watch: Get http://10.0.2.15:8080/api/v1beta1/watch/replicationControl
lers?fields=&labels=&resourceVersion=0: dial tcp 10.0.2.15:8080: connection refused
E1209 08:32:42.723118 01388 poller.go:63] failed to list: Get http://10.0.2.15:8080/api/v1beta1/minions: dial tcp 10.0.2.15:8080: connection refused
E1209 08:32:42.723177 01388 reflector.go:78] Failed to list *api.Pod: Get http://10.0.2.15:8080/api/v1beta1/pods?fields=DesiredState.Host%21%3D: dial
tcp 10.0.2.15:8080: connection refused

Don't know whats going wrong, any help would be really beneficial for me.

Thanks,
Priya 

On Mon, Dec 8, 2014 at 8:40 PM, Ben Parees <bparees redhat com> wrote:
----- Original Message -----
> From: "priyanka Gupta" <priyanka4openshift gmail com>
> To: dev lists openshift redhat com, "Ben Parees" <bparees redhat com>, hripps redhat com
> Sent: Monday, December 8, 2014 4:21:13 AM
> Subject: origin V3 installation in Docker
>
> Hi,
>
> As I am exploring more about docker and its implementation in OpenShift. I
> came across github link "https://github.com/openshift/origin/" and was
> curious to try this out.
>
> I have docker installed in Fedora, where I can perform any docker
> operation. Github link for origin V3 says:
>
> *The simplest way to start is to run OpenShift Origin in a Docker
> container: **$ docker run -v /var/run/docker.sock:/var/run/docker.sock
> --net=host --privileged openshift/origin start*
>
> but when  I start origin in docker using above commands hitting with the
> following issue:
>
> *E1208 07:04:06.068780 00001 reflector.go:102] failed to watch
> *api.Deployment: Get
> http://172.17.0.6:8080/osapi/v1beta1/watch/deployments?fields=&labe
> <http://172.17.0.6:8080/osapi/v1beta1/watch/deployments?fields=&labe>*
>
> *ls=&resourceVersion=0: http: can't write HTTP request on broken connection*
>
> *E1208 07:09:06.051317 00001 iowatcher.go:88] Unable to decode an event
> from the watch stream: unexpected EOF*

Not sure what is going wrong in general, but i believe at least this decode message is benign and should probably be added to our "benign error" list in the troubleshooting guide: https://github.com/openshift/origin/blob/master/docs/debugging-openshift.md

If someone can confirm, i'll add it.


>
> *E1208 07:09:06.065847 00001 iowatcher.go:88] Unable to decode an event
> from the watch stream: unexpected EOF*
>
> E1208 07:09:06.070725 00001 iowatcher.go:88] Unable to decode an event from
> the watch stream: unexpected EOF
>
> any help will be really appreciated. Waiting for the response.
>
>
> Thanks,
>
> Priya
>


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