Folsom: novnc is not working, not able to access VNC of the instances. Error: Failed to connect to server (code: 1006)
Hello,
I have installed Folsom (1Controller & 2 Compute servers ) on 3 Cento's Boxes. Everything is working fine except VNC. As it is in production from past 5 months. Now i am in deep trouble with one of the instance. I want to boot that instance in single user mode to recover that instance, for that i need to fix VNC on Compute Nodes. Kindly help me in fixing this issues.
Controller node:
Running Services:
openstack-
openstack-
openstack-keystone
openstack-nova-api
openstack-nova-cert
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
nova.conf:
#######
[DEFAULT]
# LOGS/STATE
debug = True
# verbose = True
#[trusted_
server = Compute Node1 Private IP
# AUTHENTICATION
auth_strategy = keystone
# SCHEDULER
# compute_
scheduler_
# VOLUMES
volume_group = nova-volumes
# volume_
iscsi_helper = tgtadm
root_helper = sudo
# DATABASE
sql_connection = mysql:/
# COMPUTE
compute_driver = libvirt.
libvirt_type = kvm
connection_type = libvirt
instance_
api_paste_config = /etc/nova/
allow_resize_
cpu_allocation_
# APIS
osapi_compute_
ec2_dmz_host = Controller Node Private IP
ec2_host = Controller Node Private IP
ec2_url = http://
s3_host = Controller Node Private IP
# RABBITMQ
rabbit_host = Controller Node Private IP
# GLANCE
image_service = nova.image.
glance_api_servers = Controller Node Private IP:9292
# NOVNC CONSOLE
novnc_enable = true
vncserver_
novncproxy_base_url = http://
novncproxy_port = 6080
xvpvncproxy_
vncserver_listen = 0.0.0.0
# resume_
# vncserver_listen = Controller Node Public IP
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/
injected_
#libvirt_
#libvirt_
iscsi_helper = tgtadm
# compute_driver = libvirt.
# rpc_backend = nova.openstack.
rootwrap_config = /etc/nova/
# NETWORK
network_manager = nova.network.
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
dhcpbridge = /usr/bin/
firewall_driver = nova.virt.
state_path = /var/lib/nova
my_ip = Controller Node Private IP
public_interface = eth1
vlan_interface = eth0
flat_network_bridge = br100
flat_interface = eth0
routing_source_ip = Controller Node Private IP
fixed_range = 192.168.100.0/24
multi_host = True
enabled_apis = ec2,osapi_
send_arp_for_ha = True
metadata_host = Controller Node Private IP
# metadata_port = 8775
[keystone_
admin_tenant_name = service
admin_user = nova
admin_password = Password
auth_host = Controller Node Private IP
auth_port = 35357
auth_protocol = http
signing_dir = /tmp/keystone-
#######
Compute Node1:
Running Services:
openstack-
openstack-
nova.conf
#######
[DEFAULT]
# LOGS/STATE
debug = True
# verbose = True
# AUTHENTICATION
auth_strategy = keystone
# SCHEDULER
# compute_
scheduler_
# VOLUMES
volume_group = nova-volumes
# volume_
iscsi_helper = tgtadm
root_helper = sudo
# DATABASE
sql_connection = mysql:/
# COMPUTE
compute_driver = libvirt.
libvirt_type = kvm
connection_type = libvirt
instance_
api_paste_config = /etc/nova/
allow_resize_
cpu_allocation_
# APIS
osapi_compute_
ec2_dmz_host = Controller Node Private IP
ec2_host = Controller Node Private IP
ec2_url = http://
s3_host = Controller Node Private IP
# RABBITMQ
rabbit_host = Controller Node Private IP
# GLANCE
image_service = nova.image.
glance_api_servers = Controller Node Private IP:9292
# NOVNC CONSOLE
novnc_enable = True
vncserver_
novncproxy_base_url = http://
xvpvncproxy_
#vncserver_listen = 0.0.0.0
resume_
#vncserver_listen = Controller Node Public IP
vncserver_listen = 0.0.0.0
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/
injected_
#libvirt_
#libvirt_
iscsi_helper = tgtadm
# compute_driver = libvirt.
# rpc_backend = nova.openstack.
rootwrap_config = /etc/nova/
# NETWORK
network_manager = nova.network.
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
dhcpbridge = /usr/bin/
firewall_driver = nova.virt.
state_path = /var/lib/nova
my_ip = Controller Node Private IP
public_interface = eth1
vlan_interface = eth0
flat_network_bridge = br100
flat_interface = eth0
# routing_source_ip = 192.168.1.1
fixed_range = 192.168.100.0/24
multi_host = True
enabled_apis = metadata
send_arp_for_ha = True
metadata_host = Controller Node Private IP
[keystone_
admin_tenant_name = service
admin_user = nova
admin_password = Password
auth_host = Controller Node Private IP
auth_port = 35357
auth_protocol = http
signing_dir = /tmp/keystone-
#######
Compute Node2: Same services and nova.conf as Compute Node1
-------
Kindly help me in enabling the VNC on my compute's. Any help would be appreciated. Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Srikanth Mergu for more information if necessary.