After installation of Cloudstack, you can navigate to Infrastructure > System VMs and see two system VMs running:

  • Secondary Storage VM
  • Console Proxy VM

In the detail view of these VMs (and also in all guest instance VMs which you create) there is a button View Console which opens a new browser window/tab. After a small delay, the content of the console of the running machine should be visible in this window/tab. The admin guide of the current release version 4.1.1 shows the location of the button.

To understand why you see messages related to a domain '', please read Role of realhostip in CloudStack.

Diagnostic Steps

If your browser hangs with a message 'Connecting to' or you receive an error (usually a timeout) in the Console View, perform the following steps which were compiled from a mailing list thread.

Find out the Link Local IP Address of your Console Proxy

Infrastructure > System VMs > Console Proxy VM > Link Local IP Adddress

SSH into the Console Proxy VM

ssh -i /var/lib/cloudstack/management/.ssh/id_rsa -p 3922

Check whether the Cloudstack Agent is running
ps aux | grep -v grep | grep

the result should be such a process description:

root      1986  0.0  4.4 999920 45644 ?        Sl   Sep09   1:33 java -mx808m -cp ./:./conf:antisamy-1.4.3.jar:aopalliance-1.0.jar:apache-log4j-extras-1.1.jar:aspectjrt-1.7.1.jar:aspectjweaver-1.7.1.jar:aws-java-sdk- template=domP type=consoleproxy host= port=8250 name=v-2-VM premium=true zone=1 pod=1 guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip= eth2mask= gateway= eth0ip= eth0mask= eth1ip= eth1mask= mgmtcidr= localgw= internaldns1= dns1=
Check the connection of Agent to Management Server
netstat -na | grep 8250
tcp        0      0        ESTABLISHED
Check whether Agent listens on 443
netstat -na | grep 443
tcp        0      0   *               LISTEN     
Check connectivity to public IP of Console Proxy

On the console proxy, find out the public IP with ifconfig:

ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 06:e6:f2:00:00:c7  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::4e6:f2ff:fe00:c7/64 Scope:Link
          RX packets:6503 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5243 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2447827 (2.3 MiB)  TX bytes:2324955 (2.2 MiB)

From your machine, on which the browser is running where you click on the Console View button, try to access port 443 of that public IP:

telnet 443
Connected to
Escape character is '^]'.

  • No labels