Hi,

I am trying to deploy the petstore sample of WSO2/product-mss[1] in Ubuntu
14.04 LTS.

[1] https://github.com/wso2/product-mss/tree/master/samples/petstore

Instead of using vagrant to run Kubernetes, I am executing the sample
by *running
Kubernetes locally via Docker*. After executing the run.sh file, the
services and pods are deployed successfully. But the *kube2sky's log
displays the following error.* It seems that configurations in the
*dns-controller.yaml* have caused the error. The corresponding file is
attached herewith.

$:~/product-mss/samples/petstore/deployment$ kubectl logs kube-dns-c41u3 -c
kube2sky --namespace=kube-system
I1207 10:06:51.295341       1 kube2sky.go:383] [Attempt: 1] Attempting
access to etcd after 5 second sleep
I1207 10:06:56.296629       1 kube2sky.go:389] Etcd server found:
http://127.0.0.1:4001
I1207 10:06:57.299334       1 kube2sky.go:455] Using http://10.0.0.1:8080
for kubernetes master
I1207 10:06:57.299362       1 kube2sky.go:456] Using kubernetes API v1
E1207 10:07:27.300207       1 reflector.go:136] Failed to list
*api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:07:27.300451       1 reflector.go:136] Failed to list
*api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:07:58.300908       1 reflector.go:136] Failed to list
*api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:07:58.301040       1 reflector.go:136] Failed to list
*api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:08:29.301463       1 reflector.go:136] Failed to list
*api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:08:29.301815       1 reflector.go:136] Failed to list
*api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:09:00.302064       1 reflector.go:136] Failed to list
*api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:09:00.302243       1 reflector.go:136] Failed to list
*api.Service: Get http://10.0.0.1:8080/api/v1/services: dial tcp
10.0.0.1:8080: i/o timeout
E1207 10:09:31.302670       1 reflector.go:136] Failed to list
*api.Endpoints: Get http://10.0.0.1:8080/api/v1/endpoints: dial tcp
10.0.0.1:8080: i/o timeout


What could be done to resolve this issue? Any help is greatly appreciated.

Thank you.

Nanduni Nimalsiri
Software Engineering Intern, WSO2 Inc. (http://wso2.com)
email : nand...@wso2.com
blog : http://nanduni.blogspot.com/
mobile : +94714114256

Attachment: dns-controller.yaml
Description: application/yaml

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to