I used CoreOs alpha release. After having a discussion with kubernetes google group, I found the root cause for this. I used their latest master.yaml file and they have replaced a flag *portal-net* with *service-cluster-ip-range* in the Kubernetes Api server service. Due to that, api server hasn't started up I got the i/o timeout. After changing the flag to the previous flag, it worked.
On Sat, Jun 6, 2015 at 12:08 AM, Imesh Gunaratne <im...@apache.org> wrote: > Such issues could occur due to new releases of CoreOS and Kubernetes. The > latest stable version I used is with CoreOS 681 and Kubernetes 0.17.0. > > On Tue, Jun 2, 2015 at 11:33 PM, Pubudu Gunatilaka <pubu...@wso2.com> > wrote: > >> I checked the ports. They are opened. But when I did ssh to the >> kubernetes master, it indicates *oem-cloudinit.service* as a failed >> unit. I think this is why I can't access the service as it is downed. >> >> On Tue, Jun 2, 2015 at 10:27 PM, Sajith Kariyawasam <saj...@wso2.com> >> wrote: >> >>> is it because of port 8080 is not opened for access? >>> >>> On Tue, Jun 2, 2015 at 10:23 PM, Pubudu Gunatilaka <pubu...@wso2.com> >>> wrote: >>> >>>> Hi Devs, >>>> >>>> Yes, I hadn't set the KUBERNETES_MASTER environment variable. But when >>>> i did that, still getting the error as below. >>>> >>>> *Couldn't get available api versions from server: Get >>>> http://<My-kuberbetes-master-IP>:8080/api: dial tcp * >>>> *<My-kuberbetes-master-IP>**:8080: i/o timeout* >>>> >>>> I tried through the browser as well. But didn't workout. >>>> What could be the reason for this? >>>> >>>> Thank you! >>>> >>>> >>>> On Tue, Jun 2, 2015 at 9:34 PM, Udara Liyanage <ud...@wso2.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> me too got the same error which is solved by setting the env variable >>>>> Imesh mentioned. >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Pubudu Gunatilaka* >>>> Software Engineer >>>> WSO2, Inc.: http://wso2.com >>>> lean.enterprise.middleware >>>> mobile: +94 77 4078049 >>>> >>> >>> >>> >>> -- >>> Sajith Kariyawasam >>> *Committer and PMC member, Apache Stratos, * >>> *WSO2 Inc.; http://wso2.com <http://wso2.com>* >>> *Mobile: 0772269575 <0772269575>* >>> >> >> >> >> -- >> >> *Pubudu Gunatilaka* >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> mobile: +94 77 4078049 >> > > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049