Ask Your Question
0

Console for novnc will not start

asked 2015-06-15 13:14:20 -0500

Laxman2809 gravatar image

Hello I am having trouble getting the VNC console to work properly. Currently I have a 3 node Openstack setup that was deployed using the Mirantis deployment option. I believe that I have the nova.conf properly configured, but every time I got to the Instance console I am given an error saying there is no Web Socket or canvas rendering. I have attached the nova.conf files for both the controller and compute nodes.

Contoller

[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
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
neutron_extension_sync_interval=600
network_api_class=nova.network.neutronv2.api.API
debug=False
log_dir=/var/log/nova
amqp_durable_queues=False
rabbit_hosts=192.168.0.1:5672
quota_volumes=100
notify_api_faults=False
resume_guests_state_on_host_boot=True
memcached_servers=192.168.0.1:11211
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,CoreFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
rabbit_use_ssl=False
quota_ram=51200
notification_driver=messaging
max_io_ops_per_host=8
neutron_default_tenant_id=default
neutron_admin_auth_url=http://192.168.0.1:35357/v2.0
quota_max_injected_file_content_bytes=102400
s3_listen=0.0.0.0
quota_driver=nova.quota.NoopQuotaDriver
glance_api_servers=172.16.0.2:9292
max_age=0
quota_security_groups=10
novncproxy_host=172.16.0.2
rabbit_userid=nova
rabbit_ha_queues=True
rabbit_password=BDFHG9Kf
neutron_region_name=RegionOne
report_interval=10
scheduler_weight_classes=nova.scheduler.weights.all_weighers
security_group_api=neutron
quota_cores=100
reservation_expire=86400
rabbit_virtual_host=/
neutron_url_timeout=30
image_service=nova.image.glance.GlanceImageService
use_cow_images=True
quota_max_injected_files=50
notify_on_state_change=vm_and_task_state
firewall_driver=nova.virt.firewall.NoopFirewallDriver
neutron_admin_password=ASIw1tqs
scheduler_host_subset_size=30
novncproxy_port=6080
ram_allocation_ratio=1.0
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
quota_security_group_rules=20
neutron_auth_strategy=keystone
disk_allocation_ratio=1.0
quota_max_injected_file_path_bytes=4096
neutron_ovs_bridge=br-int
quota_floating_ips=100
quota_key_pairs=10
scheduler_max_attempts=3
cpu_allocation_ratio=8.0
vif_plugging_is_fatal=True
neutron_admin_tenant_name=services
max_instances_per_host=50
scheduler_available_filters=nova.scheduler.filters.all_filters
service_down_time=60
syslog_log_facility=LOG_LOCAL6
quota_gigabytes=1000
use_syslog_rfc_format=True
neutron_url=http://192.168.0.1:9696
quota_instances=100
scheduler_host_manager=nova.scheduler.host_manager.HostManager
notification_topics=notifications
osapi_compute_listen=0.0.0.0
ec2_listen=0.0.0.0
volume_api_class=nova.volume.cinder.API
neutron_metadata_proxy_shared_secret=ErhY15yc
service_neutron_metadata_proxy=True
use_forwarded_for=False
osapi_volume_listen=0.0.0.0
metadata_listen=0.0.0.0
auth_strategy=keystone
ram_weight_multiplier=1.0
keystone_ec2_url=http://192.168.0.1:5000/v2.0/ec2tokens
quota_metadata_items=1024
osapi_compute_workers=1
rootwrap_config=/etc/nova/rootwrap.conf
rpc_backend=nova.openstack.common.rpc.impl_kombu
vif_plugging_timeout=300
use_syslog=True
metadata_workers=1
allow_resize_to_same_host=True
neutron_admin_username=neutron

[DATABASE]
max_pool_size=5
max_retries=-1
max_overflow=5

[database]
idle_timeout=3600
connection=mysql://nova:jRvlsBJq@127.0.0.1/nova?read_timeout=60

[keystone_authtoken]
signing_dirname=/tmp/keystone-signing-nova
signing_dir=/tmp/keystone-signing-nova
auth_port=35357
admin_password=I8WhCjIn
admin_user=nova
auth_protocol=http
auth_host=192.168.0.1
admin_tenant_name=services
auth_uri=http://192.168.0.1:5000/

[conductor]
workers=1

Compute

[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
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-15 14:09:28 -0500

jdiaz9 gravatar image

Have you checked if your nova novnc service is running properly or if your neutron agents are running as well? There may also be services that are stuck.

I would suggest you try the following:

If Ubuntu:

cd /etc/init.d; for i in $(ls nova-*); do service $i restart; done
cd /etc/init.d; for i in $(ls neutron-*); do service $i restart; done

If CentOS:

cd /etc/init.d; for i in $(ls openstack-neutron-*); do service $i restart; done
cd /etc/init.d; for i in $(ls openstack-nova-*); do service $i restart; done

After running these two commands try vnc again and let me know what happens.

edit flag offensive delete link more

Comments

Sorry for the delayed response, I have been out of the office. After running these 2 commands, on both the Controller and the Compute nodes. My VNC console is still down. I then began investigating the log files, https://drive.google.com/file/d/0B1NbB_M-vthtRThjbm9oRUp1Qm8/view?usp=sharing (https://drive.google.com/file/d/0B1Nb...)

Laxman2809 gravatar imageLaxman2809 ( 2015-06-23 11:47:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-15 13:14:20 -0500

Seen: 805 times

Last updated: Jun 15 '15