mysql pod remains in pending state

308 views
Skip to first unread message

manohar

unread,
Jan 3, 2017, 5:59:23 AM1/3/17
to Seldon Users
I have recently installed Seldon on a macbook pro running Yosemite 10.10.5 with 8 GB ram. I am trying to run Seldon locally on my laptop.

After following through the instructions on this page, http://docs.seldon.io/install.html, I ran the seldon-up script. After a few minutes, the script exited with this error: 

The connection to the server 192.168.99.100:8443 was refused - did you specify the right host or port?

Has anyone seen this error?

I noticed from the messages that the mysql pod was in pending state. And the documentation suggests that it could be due to lack of resources on my machine: I guess that means memory. With 8 GB ram, I did not expect that to be a problem.

Anyway, I re-started with a clean slate and ran the following commands:

$ minikube start --memory=6000

Starting local Kubernetes cluster...

Kubectl is now configured to use the cluster.


$ kubectl create -f /Users/manohar/seldon-server/kubernetes/conf/mysql.json

pod "mysql" created

service "mysql" created


After 26 minutes, the mysql pod is still in pending state. 

$ kubectl get pods

NAME      READY     STATUS    RESTARTS   AGE

mysql     0/1       Pending   0          26m


What could be the problem? There is enough memory available as also disk space. The kubectl version is 1.5.1 and minikube version is 0.14.0


manohar

unread,
Jan 3, 2017, 9:04:27 AM1/3/17
to Seldon Users
I was able to find the problem and am summarizing the issue, in case someone else faces the same problem.

I had run the "minikube start" command a few days ago for some testing purposes and it had created a node. The node persists even after we stop minikube using the "minikube stop" command.

I removed the node using the "minikube delete" command. This deleted the node.

Subsequently, on running the commands listed in my previous post, I was able to get the  mysql pod up and running.

Alex Housley

unread,
Jan 3, 2017, 11:23:12 AM1/3/17
to Seldon Users
Hi Manohar,

Thanks for sharing.

I've added your tip to the troubleshooting section on the install docs:

By the way, we appreciate pull requests on Seldon's tech docs: https://github.com/SeldonIO/seldonio.github.com

Any commits to the master branch on the docs project will update the live docs directly via Github Pages. (Tip: you will often find docs for in-progress features in the branches of this project.)

Let us know if you have any further questions - we're happy to help.

Alex

--
You received this message because you are subscribed to the Google Groups "Seldon Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seldon-users+unsubscribe@googlegroups.com.
To post to this group, send email to seldon...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/seldon-users/2f65ff95-3385-4911-b9a3-e4705c192afa%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Barclays Accelerator, 69-89 Mile End Rd, London, E1 4TT. 
Registered in England: 4583527 and 9188032.

manohar

unread,
Jan 4, 2017, 12:50:49 AM1/4/17
to Seldon Users
Thanks, Alex.

I saw the update. Happy to issue a pull request next time I have something that can be useful.


On Tuesday, 3 January 2017 16:29:23 UTC+5:30, manohar wrote:
Reply all
Reply to author
Forward
0 new messages