Can't access dashboard on VM installation [closed]
I have an all-in-one icehouse running on a redhat VM and I'm using novncproxy. I can't access the dashboard, receiving the following error when I browse to http://test:6080/vnc_auto.html, 'Failed to connect to server (code: 1006)'.
I can find no logs on the server for novncproxy.
Can anyone direct me to what nest to check?
Status:
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| nova-conductor | test | internal | enabled | up | 2015-04-22T10:58:57.000000 | - |
| nova-consoleauth | test | internal | enabled | up | 2015-04-22T10:58:58.000000 | - |
| nova-scheduler | test | internal | enabled | up | 2015-04-22T10:59:00.000000 | - |
| nova-cert | test | internal | enabled | up | 2015-04-22T10:58:59.000000 | - |
| nova-compute | test | nova | enabled | up | 2015-04-22T10:59:02.000000 | - |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
openstack-nova-novncproxy (pid 5882) is running...
+--------------------------------------+--------------------+----------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+----------+-------+----------------+
| 6c76ed25-b187-47bf-8dec-bdd5692e11aa | Open vSwitch agent | test | :-) | True |
| 91966572-cf79-4f48-949a-e69b92be00f9 | L3 agent | test | :-) | True |
| a02a2af9-c7b3-40e7-83d4-f4b613936709 | Metadata agent | test | :-) | True |
| aa8e3509-bc3a-455d-a5b9-affafa622765 | DHCP agent | test | :-) | True |
+--------------------------------------+--------------------+----------+-------+----------------+
netstat -nap |grep 6080
tcp 0 0 0.0.0.0:6080 0.0.0.0:* LISTEN 5882/python
tcp 0 0 127.0.0.1:60802 127.0.0.1:3306 ESTABLISHED 2898/python
tcp 0 0 127.0.0.1:3306 127.0.0.1:60802 ESTABLISHED 1996/mysqld
.
Configuration:
grep vnc /etc/nova/nova.conf | grep -v ^#
novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=http://test:6080/vnc_auto.html
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=127.0.0.1
vnc_enabled=True
vnc_keymap=en-us
novncproxy is a red herring so I've removed it from question title. I noticed that the permissions were incorrect for horizon logs, which I've corrected so now I have some useful logging. I also have another VM, which I imported and I can access it from the host so at least the comms are verified.
If you are using iptables, can you flush it and check? Are you able to ping "test"? Also try to capture the traffic passing through 6080 port using wireshark.
Make sure the domain name test is resolvable from the machine you are trying to access the console.
I can ping etc.
4 0.000250 10.169.106.239 10.169.106.230 HTTP 896 GET /websockify HTTP/1.1
6 0.012608 10.169.106.230 10.169.106.239 HTTP 227 HTTP/1.1 101 Switching Protocols
Hi , are you trying to access the Openstack Dashboard or the remote console for the Instance running in the Openstack Servers.
The dashboard as I've not yet created any instances. I've tried various URL:ports etc. with little success.