Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova.console.websocketproxy handler eception : Invalid token

I am installing Openstack Juno using UBUNTU .

Whenever I launch an instance in the console , I get this error

Failed to connect to server(1006)

I checked the log /var/log/upstart/nov-novncproxy.log

I get these detail nova.console.websocketproxy handler eception : Invalid token

How do I solve this?

nova.console.websocketproxy handler eception : Invalid token

I am installing Openstack Juno using UBUNTU .

Whenever I launch an instance in the console , I get this error

Failed to connect to server(1006)

I checked the log /var/log/upstart/nov-novncproxy.log

I get these detail nova.console.websocketproxy handler eception : Invalid token

How do I solve this?

nova.conf on compute node

[DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True libvirt_use_virtio_for_bridges=True verbose=True ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini enabled_apis=ec2,osapi_compute,metadata rpc_backend = rabbit rabbit_host = controller rabbit_password = controller_pass auth_strategy = keystone my_ip = 10.10.10.11 vnc_enabled = True vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 10.10.10.11 novncproxy_base_url = http://controller:6080/vnc_auto.html

nova.conf file on controller [DEFAULT) dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True libvirt_use_virtio_for_bridges=True verbose=True ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini enabled_api=ec2,osapi_compute,metadata rpc_backend = rabbit rabbit_host = controller rabbit_password = controller_pass my_ip = 10.10.10.10 vncserver_listen = 10.10.10.10 vncserver_proxyclient_address = 10.10.10.10 network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver

nova.console.websocketproxy handler eception : Invalid token

I am installing Openstack Juno using UBUNTU .

Whenever I launch an instance in the console , I get this error

Failed to connect to server(1006)

I checked the log /var/log/upstart/nov-novncproxy.log

I get these detail nova.console.websocketproxy handler eception : Invalid token

How do I solve this?

nova.conf on compute node

[DEFAULT] 
dhcpbridge_flagfile=/etc/nova/nova.conf 
dhcpbridge=/usr/bin/nova-dhcpbridge 
logdir=/var/log/nova
 state_path=/var/lib/nova 
lock_path=/var/lock/nova
 force_dhcp_release=True 
libvirt_use_virtio_for_bridges=True
 verbose=True 
ec2_private_dns_show_ip=True 
api_paste_config=/etc/nova/api-paste.ini 
enabled_apis=ec2,osapi_compute,metadata 
rpc_backend = rabbit
 rabbit_host = controller 
rabbit_password = controller_pass 
auth_strategy = keystone 
my_ip = 10.10.10.11
 vnc_enabled = True
 vncserver_listen = 0.0.0.0 
vncserver_proxyclient_address = 10.10.10.11 
novncproxy_base_url = http://controller:6080/vnc_auto.html 

http://controller:6080/vnc_auto.html

nova.conf file on controller

[DEFAULT) 
dhcpbridge_flagfile=/etc/nova/nova.conf
 dhcpbridge=/usr/bin/nova-dhcpbridge 
logdir=/var/log/nova 
state_path=/var/lib/nova 
lock_path=/var/lock/nova 
force_dhcp_release=True 
libvirt_use_virtio_for_bridges=True
 verbose=True 
ec2_private_dns_show_ip=True 
api_paste_config=/etc/nova/api-paste.ini 
enabled_api=ec2,osapi_compute,metadata 
rpc_backend = rabbit 
rabbit_host = controller 
rabbit_password = controller_pass 
my_ip = 10.10.10.10
 vncserver_listen = 10.10.10.10 
vncserver_proxyclient_address = 10.10.10.10 
network_api_class = nova.network.neutronv2.api.API 
security_group_api = neutron
 linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver 
firewall_driver = nova.virt.firewall.NoopFirewallDriver 

nova.virt.firewall.NoopFirewallDriver

nova.console.websocketproxy handler eception : Invalid token

I am installing Openstack Juno using UBUNTU .

Whenever I launch an instance in the console , I get this error

Failed to connect to server(1006)

I checked the log /var/log/upstart/nov-novncproxy.log

I get these detail nova.console.websocketproxy handler eception : Invalid token

How do I solve this?

nova.conf on compute node

[DEFAULT] 
dhcpbridge_flagfile=/etc/nova/nova.conf 
dhcpbridge=/usr/bin/nova-dhcpbridge 
logdir=/var/log/nova
 state_path=/var/lib/nova 
lock_path=/var/lock/nova
 force_dhcp_release=True 
libvirt_use_virtio_for_bridges=True
 verbose=True 
ec2_private_dns_show_ip=True 
api_paste_config=/etc/nova/api-paste.ini 
enabled_apis=ec2,osapi_compute,metadata 
rpc_backend = rabbit
 rabbit_host = controller 
rabbit_password = controller_pass 
auth_strategy = keystone 
my_ip = 10.10.10.11
 vnc_enabled = True
 vncserver_listen = 0.0.0.0 
vncserver_proxyclient_address = 10.10.10.11 
novncproxy_base_url = http://controller:6080/vnc_auto.html

nova.conf file on controller

[DEFAULT) 
dhcpbridge_flagfile=/etc/nova/nova.conf
 dhcpbridge=/usr/bin/nova-dhcpbridge 
logdir=/var/log/nova 
state_path=/var/lib/nova 
lock_path=/var/lock/nova 
force_dhcp_release=True 
libvirt_use_virtio_for_bridges=True
 verbose=True 
ec2_private_dns_show_ip=True 
api_paste_config=/etc/nova/api-paste.ini 
enabled_api=ec2,osapi_compute,metadata 
rpc_backend = rabbit 
rabbit_host = controller 
rabbit_password = controller_pass 
my_ip = 10.10.10.10
 vncserver_listen = 10.10.10.10 
vncserver_proxyclient_address = 10.10.10.10 
network_api_class = nova.network.neutronv2.api.API 
security_group_api = neutron
 linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver 
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[database] connection = mysql://nova:openstack@controller/nova