Cloud-Mak edited a comment on issue #4347:
URL: https://github.com/apache/cloudstack/issues/4347#issuecomment-700677864


   Installed the ping on Marvin to see if I can reach simulator by its name and 
IP. 
   
   > root@4034e81431d0:/tmp/MarvinLogs# ping simulator
   > PING 8096 (172.17.0.3) 56(84) bytes of data.
   > 64 bytes from 8096 (172.17.0.3): icmp_seq=1 ttl=64 time=0.131 ms
   > 64 bytes from 8096 (172.17.0.3): icmp_seq=2 ttl=64 time=0.076 ms
   > ^C
   > --- 8096 ping statistics ---
   > 2 packets transmitted, 2 received, 0% packet loss, time 1031ms
   > rtt min/avg/max/mdev = 0.076/0.103/0.131/0.029 ms
   > root@4034e81431d0:/tmp/MarvinLogs# ping 172.17.0.3
   > PING 172.17.0.3 (172.17.0.3) 56(84) bytes of data.
   > 64 bytes from 172.17.0.3: icmp_seq=1 ttl=64 time=0.132 ms
   > 64 bytes from 172.17.0.3: icmp_seq=2 ttl=64 time=0.097 ms
   > ^C
   
   --- 172.17.0.3 ping statistics ---
   2 packets transmitted, 2 received, 0% packet loss, time 1014ms
   rtt min/avg/max/mdev = 0.097/0.114/0.132/0.020 ms
   
   But seems I can't telnet to simulator on 8096 from Marvin
   
   > root@4034e81431d0:/tmp/MarvinLogs# telnet 172.17.0.3 8096
   > Trying 172.17.0.3...
   > telnet: Unable to connect to remote host: Connection refused
   > root@4034e81431d0:/tmp/MarvinLogs# telnet 172.17.0.3 8080
   > Trying 172.17.0.3...
   > Connected to 172.17.0.3.
   > Escape character is '^]'.
   > 
   
   Here is how docker ps -a looks like 
   
   ```
   makrand@mint-gl63:~$ docker ps -a
   CONTAINER ID        IMAGE                                                 
COMMAND                  CREATED             STATUS              PORTS          
                            NAMES
   4034e81431d0        cloudstack/marvin                                     
"/bin/sh -c /bin/bash"   36 minutes ago      Up 36 minutes                      
                            marvin
   fc86aecc33bd        cloudstack/simulator                                  
"/usr/bin/supervisord"   About an hour ago   Up About an hour    
0.0.0.0:8080->8080/tcp, 8096/tcp           simulator
   593188cd5e2c        docker.elastic.co/kibana/kibana:7.8.0                 
"/usr/local/bin/dumb…"   12 days ago         Up About an hour    
0.0.0.0:5601->5601/tcp                     kibana
   47ba9727f41e        docker.elastic.co/elasticsearch/elasticsearch:7.8.0   
"/tini -- /usr/local…"   12 days ago         Up About an hour    
0.0.0.0:9200->9200/tcp, 9300/tcp           elasticsearch
   82ad0cb6df32        rancher/rancher                                       
"entrypoint.sh"          12 days ago         Up About an hour    
0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   rancher
   
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to