-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualizer not showing up nodes #3
Comments
Hi @ajeetraina, could you please also provide the following information? That way, I could maybe help you:
|
This is Ubuntu 16.04 LTS running on Google Cloud Platform. root@test-master1: Yes, I started it on the master node. root@test-master1:~# docker ps I used the below command: #docker run -it -d -p 5000:5000 -e HOST=localhost -e PORT=5000 -v /var/run/docker.sock:/var/run/docker.soc Just to keep you informed that I have 1.12rc2 running which I setup through the below command: $curl -sSL https://test.docker.com/ | sh |
I suppose, you already have executed the following commands? Do you see the nodes listed with the following command?: |
Yes, my swarm cluster is already up and running: #docker node ls |
Okay, I think I figured out the issue. The requests seem to be made client-side, so if you use localhost as -e HOST, it wont't work. Try to change |
That still doesnt work for me. 104.196.21.223 is public IP whereas 10.142.0.6 is the internal Ip as shown in Google Cloud. Not sure if internal Vs external IP is creating problem. I will test it in my internal lab. |
Interestingly, I can access the visualizer and it just shows up whale but no nodes :) |
Okay so in that case I would say it's an issue on how your cluster is configured. As i have tested it with 3 VPS on OVH.com, connected them through their public IP and set the HOST environment variable to the public IP of the VPS. That worked flawlessly for me. 104.196.21.223 is the public one and has also been used for the HOST environment variable. right? |
for myself I had to use the hostname of the manager and not the IP or localhost and then the nodes showed up. |
@wraithfive Did you also try it on Google's Cloud? As for me (VPS at OVH.com) it worked by using the public IP or the hostname. Have you already tried to use the public IP of your master for the HOST-environment variable? |
@ivansieder I'm in an internal environment with VM's only. No public IP, only private IPs and host names. |
I was having the same problem, just a blue screen without the nodes. My case:
On your case, you need to run |
I tried in my local virtual box but the same problem. The nodes doesn't Under Google Cloud, the master node is at 10.140.0.2 while the public IP is Will try hostname instead to see if it works. I was having the same problem, just a blue screen without the nodes. My case: run -it -d -p 5000:5000 -e HOST=node1 -e PORT=5000 -v — |
@icaro, let me try your suggestion. |
I'm seeing the same issue as well. Doing this on Vagrant (1 manager node, 2 worker nodes). I also tried using the hostname as suggested earlier in this thread but that didn't work for me - I still just get the blank Visualizer UI with no content. |
Btw I'm on vacation right now without a computer so I won't be really able to look at this until mid July. Some troubleshooting ideas: make sure you have 1.12 installed |
Playing around a bit more I did get this working. The hostname solution did not work for me, but using the manager's IP worked (using Vagrant). |
I am too seeing the same issue. Tried on one of ESXi VM infrastructure and virtual box the blank visualizer turns up. Neither hostname nor IP helped me with nodes display. |
Trying this out on AWS EC2 using the latest Ubuntu version. The visualizer doesn't seem to display the nodes as well. I just installed the engine from https://test.docker.com. From the Manager node, I did the following:
^ I tried the public ip and public hostname as well.
From the Worker node, I did the following:
|
have you tried, if you can ping the master from your nodes with the hostname? |
|
I ran into the same issue using vagrant + centos7 + docker v1.12. Nothing recommended above worked. I tried on Docker for mac and it worked, running the same command. |
The easiest way for me to debug this is to use Chrome dev tools. Or whatever JS debugging tool you use. The app console logs a lot of errors which can help out. You can see in the attached an image of a functioning app and an image of a not functioning one and some of the errors you get like |
FYI I had the same issue, I just insert the FQDN of my machine and works fine : |
@ TheLaxtSamurai, @ajeetraina were you able to get it working? |
#7 might also be relevant |
@IcaroBichir @ManoMarks It now works for me.. I'm using an AWS EC2 Centos7 cluster here. PUBLIC_HOSTNAME=$(curl http://169.254.169.254/latest/meta-data/public-hostname)
docker run -it -d -p 5000:5000 -e HOST=${PUBLIC_HOSTNAME} -e PORT=5000 -v /var/run/docker.sock:/var/run/docker.sock manomarks/visualizer |
I'm going to close this issue assuming it's been fixed. Reopen if you are still encountering. |
Ran into the same issue (blank visualizer). Enabling |
Hi, I'm getting the same issue I got the felling about the Volumes, may be is needed to share /var/run/docker.sock from de swarm container to host and then from the host to visualizer container One master, 3 nodes any idea? |
@lordjea This only works with Swarm Mode in Docker Engine 1.12, not the separate Docker Swarm project |
Hi, I had the same thing. Whale logo, but no nodes. My simple resolution was to switch from viewing the status page in IE, and use Firefox instead. Bingo, manager + 2 x worker nodes. Hope this helps. |
I had the same issue , fixed by disabling selinux . |
In my case, watching at REST calls, the problem was due to the fact the visualizer container was not deployed on a swarm manager. Promoting other nodes to managers made it work. |
I have 1 master node and 3 worker node. I have started the container as shown below:
root@test-master1:
# docker ps#CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
5e71e28bb451 manomarks/visualizer "npm start" 4 minutes ago Up 4 minutes
0.0.0.0:5000->5000/tcp, 8080/tcp dreamy_colden
522701d5e817 ajeetraina/nagios-docker:latest "/usr/bin/supervisord" 49 minutes ago Up 49 minutes
25/tcp, 80/tcp collabnix.4.5o64dlt55dh4o0w9ssczlg9ks
f193c0a406cd ajeetraina/nagios-docker:latest "/usr/bin/supervisord" 49 minutes ago Up 49 minutes
25/tcp, 80/tcp collabnix.3.augcoqggdb65aynl40k897k9f
root@test-master1:
But the http://104.196.21.223:5000/ turns up just a visualizer without any node being shown.
The logs too looks okay as shown below
root@test-master1:~# docker logs --details dreamy_colden
npm info it worked if it ends with ok
npm info using npm@2.14.4
npm info using node@v4.1.2
npm info prestart tutumVisualizer@0.0.1
npm info start tutumVisualizer@0.0.1
Anything I am missing out??
The text was updated successfully, but these errors were encountered: