Revision history [back]

click to hide/show revision 1
initial version

Can't access dashboard on VM installation with novncproxy

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

Can't access dashboard on VM installation with novncproxyinstallation

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.,

From /var/log/horizon/horizon.log:

2015-04-23 08:38:30,504 3928 INFO openstack_auth.forms Login successful for user "admin".
2015-04-23 08:38:30,516 3928 WARNING django.request Not Found: /dashboard
2015-04-23 08:38:30,622 3928 WARNING django.request Not Found: /static/dashboard/css/9af23c59ea0e.css
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/0272dc9e5c21.js
2015-04-23 08:38:30,876 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:44,824 3928 WARNING django.request Forbidden (CSRF token missing or incorrect.): /auth/login/

Can't access dashboard on VM installation

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.,verified.

From /var/log/horizon/horizon.log:

2015-04-23 08:38:30,504 3928 INFO openstack_auth.forms Login successful for user "admin".
2015-04-23 08:38:30,516 3928 WARNING django.request Not Found: /dashboard
2015-04-23 08:38:30,622 3928 WARNING django.request Not Found: /static/dashboard/css/9af23c59ea0e.css
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/0272dc9e5c21.js
2015-04-23 08:38:30,876 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:44,824 3928 WARNING django.request Forbidden (CSRF token missing or incorrect.): /auth/login/

Can't access dashboard on VM installationinstallation - django.request Forbidden (CSRF token missing or incorrect.): /auth/login/

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.

From /var/log/horizon/horizon.log:

2015-04-23 08:38:30,504 3928 INFO openstack_auth.forms Login successful for user "admin".
2015-04-23 08:38:30,516 3928 WARNING django.request Not Found: /dashboard
2015-04-23 08:38:30,622 3928 WARNING django.request Not Found: /static/dashboard/css/9af23c59ea0e.css
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/0272dc9e5c21.js
2015-04-23 08:38:30,876 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:44,824 3928 WARNING django.request Forbidden (CSRF token missing or incorrect.): /auth/login/

Can't access dashboard on VM installation - django.request Forbidden (CSRF token missing or incorrect.): /auth/login/installation

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.

From /var/log/horizon/horizon.log:

2015-04-23 08:38:30,504 3928 INFO openstack_auth.forms Login successful for user "admin".
2015-04-23 08:38:30,516 3928 WARNING django.request Not Found: /dashboard
2015-04-23 08:38:30,622 3928 WARNING django.request Not Found: /static/dashboard/css/9af23c59ea0e.css
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:30,636 3928 WARNING django.request Not Found: /static/dashboard/js/0272dc9e5c21.js
2015-04-23 08:38:30,876 3928 WARNING django.request Not Found: /static/dashboard/js/f81063bc9af9.js
2015-04-23 08:38:44,824 3928 WARNING django.request Forbidden (CSRF token missing or incorrect.): /auth/login/