Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Console for novnc will not start

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.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
vncserver_proxyclient_address=192.168.0.2
rabbit_hosts=192.168.0.1:5672
notify_api_faults=False
memcached_servers=127.0.0.1:11211
rabbit_use_ssl=False
notification_driver=
neutron_default_tenant_id=default
neutron_admin_auth_url=http://192.168.0.1:35357/v2.0
glance_api_servers=192.168.0.1:9292
rabbit_userid=nova
rabbit_ha_queues=True
rabbit_password=BDFHG9Kf
neutron_region_name=RegionOne
report_interval=10
security_group_api=neutron
vnc_enabled=True
rabbit_virtual_host=/
neutron_url_timeout=30
image_service=nova.image.glance.GlanceImageService
notify_on_state_change=vm_and_task_state
firewall_driver=nova.virt.firewall.NoopFirewallDriver
neutron_admin_password=ASIw1tqs
instance_usage_audit=True
neutron_auth_strategy=keystone
neutron_ovs_bridge=br-int
vif_plugging_is_fatal=True
neutron_admin_tenant_name=services
novncproxy_base_url=http://172.16.0.2:6080/vnc_auto.html
service_down_time=60
syslog_log_facility=LOG_LOCAL6
vncserver_listen=0.0.0.0
neutron_url=http://192.168.0.1:9696
notification_topics=notifications
instance_usage_audit_period=hour
auth_strategy=keystone
compute_driver=libvirt.LibvirtDriver
rootwrap_config=/etc/nova/rootwrap.conf
rpc_backend=nova.openstack.common.rpc.impl_kombu
vif_plugging_timeout=300
use_syslog=True
use_cow_images=True
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
cinder_catalog_info=volume:cinder:internalURL
linuxnet_ovs_integration_bridge=br-int
use_syslog_rfc_format=True
allow_resize_to_same_host=True
neutron_admin_username=neutron

[libvirt]
vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
disk_cachemodes="file=directsync","block=none"
cpu_mode=none
virt_type=qemu
inject_partition=1
live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST

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