Ask Your Question
0

Folsom: novnc is not working, not able to access VNC of the instances. Error: Failed to connect to server (code: 1006)

asked 2013-07-04 12:03:19 -0500

srikanth1239 gravatar image

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-glance-api openstack-glance-registry openstack-keystone openstack-nova-api openstack-nova-cert openstack-nova-console openstack-nova-consoleauth openstack-nova-network openstack-nova-novncproxy openstack-nova-objectstore openstack-nova-scheduler openstack-nova-volume openstack-nova-xvpvncproxy

nova.conf: ######################################################## [DEFAULT]

LOGS/STATE

debug = True

verbose = True

#[trusted_computing] server = Compute Node1 Private IP

AUTHENTICATION

auth_strategy = keystone

SCHEDULER

compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler

scheduler_driver=nova.scheduler.simple.SimpleScheduler

VOLUMES

volume_group = nova-volumes

volume_name_template = volume-%08x

iscsi_helper = tgtadm root_helper = sudo

DATABASE

sql_connection = mysql://nova:Password@Controller Node Private IP/nova

COMPUTE

compute_driver = libvirt.LibvirtDriver libvirt_type = kvm connection_type = libvirt instance_name_template = instance-%08x api_paste_config = /etc/nova/api-paste.ini allow_resize_to_same_host = True cpu_allocation_ratio = 2.0

APIS

osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions ec2_dmz_host = Controller Node Private IP ec2_host = Controller Node Private IP ec2_url = http://Controller Node Private IP:8773/services/Cloud s3_host = Controller Node Private IP

RABBITMQ

rabbit_host = Controller Node Private IP

GLANCE

image_service = nova.image.glance.GlanceImageService glance_api_servers = Controller Node Private IP:9292

NOVNC CONSOLE

novnc_enable = true vncserver_proxyclient_address = Controller Node Private IP novncproxy_base_url = http://Controller Node Public IP:6080/vnc_auto.html novncproxy_port = 6080 xvpvncproxy_base_url = http://Controller Node Public IP:6081/console vncserver_listen = 0.0.0.0

resume_guests_state_on_host_boot = True

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/nova-dhcpbridge injected_network_template = /usr/share/nova/interfaces.template #libvirt_nonblocking = True #libvirt_inject_partition = -1 iscsi_helper = tgtadm

compute_driver = libvirt.LibvirtDriver

rpc_backend = nova.openstack.common.rpc.impl_qpid

rootwrap_config = /etc/nova/rootwrap.conf

NETWORK

network_manager = nova.network.manager.FlatDHCPManager force_dhcp_release = True dhcpbridge_flagfile = /etc/nova/nova.conf dhcpbridge = /usr/bin/nova-dhcpbridge firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver 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_compute,osapi_volume,metadata send_arp_for_ha = True metadata_host = Controller Node Private IP

metadata_port = 8775

[keystone_authtoken] 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-signing-nova #######################################################

Compute Node1: Running Services:

openstack-nova-compute openstack-nova-network

nova.conf ####################################################### [DEFAULT]

LOGS/STATE

debug = True

verbose = True

AUTHENTICATION

auth_strategy = keystone

SCHEDULER

compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler

scheduler_driver=nova.scheduler.simple.SimpleScheduler

VOLUMES

volume_group = nova-volumes

volume_name_template = volume-%08x

iscsi_helper = tgtadm root_helper = sudo

DATABASE

sql_connection = mysql://nova:Password@Controller Node Private IP/nova

COMPUTE

compute_driver = libvirt.LibvirtDriver libvirt_type = kvm connection_type = libvirt instance_name_template = instance-%08x api_paste_config = /etc/nova/api-paste.ini allow_resize_to_same_host = True cpu_allocation_ratio = 2.0

APIS

osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions ec2_dmz_host = Controller Node Private IP ec2_host = Controller Node Private IP ec2_url = http://Controller Node Private IP:8773/services/Cloud s3_host = Controller Node Private IP

RABBITMQ

rabbit_host = Controller Node Private IP

GLANCE

image_service = nova.image.glance.GlanceImageService glance_api_servers = Controller Node Private IP ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-15 18:26:34 -0500

maoliping455 gravatar image

Can find any error message in consoleauth.log?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-04 12:03:19 -0500

Seen: 79 times

Last updated: Jul 15 '13