Re: [openstack-dev] novnc console connection timetout

2015-06-04 Thread 张扬
Thanks folks, Its fixed via https://bugs.launchpad.net/mos/+bug/1409661 :-0

2015-06-04 20:29 GMT+08:00 张扬 w90p...@gmail.com:

 Hi Guys,

 I am a newbie on openstack, I deployed my first openstack env via Fuel
 6.0, but unfortunately I always could not access the vm's vnc console, it
 hints the connection time, I also found the following calltrace in
 nova-novncproxy.log,  Could anybody give me a hint on it? I am not sure
 whether its appropriate to send them to the mail list nor not, if not,
 please help me forward it to the right mail list. Thanks in advance! :-).

 BTW: I also tried to change the def_con_timeout, but it did not work for me
 The following is about the log information.

 controller: nova.conf

 root@node-9:~# cat /etc/nova/nova.conf
 [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
 flat_interface=eth2.103
 #debug=False
 debug=True
 log_dir=/var/log/nova
 network_manager=nova.network.manager.FlatDHCPManager
 amqp_durable_queues=False
 rabbit_hosts=10.0.21.5:5672
 quota_volumes=100
 notify_api_faults=False
 flat_network_bridge=br100
 resume_guests_state_on_host_boot=True
 memcached_servers=10.0.21.5: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
 quota_max_injected_file_content_bytes=102400
 s3_listen=0.0.0.0
 quota_driver=nova.quota.NoopQuotaDriver
 glance_api_servers=192.168.1.103:9292
 max_age=0
 quota_security_groups=10
 novncproxy_host=192.168.1.103
 rabbit_userid=nova
 rabbit_ha_queues=True
 rabbit_password=FMskSLdn
 report_interval=10
 scheduler_weight_classes=nova.scheduler.weights.all_weighers
 quota_cores=100
 reservation_expire=86400
 rabbit_virtual_host=/
 force_snat_range=0.0.0.0/0
 image_service=nova.image.glance.GlanceImageService
 use_cow_images=True
 quota_max_injected_files=50
 notify_on_state_change=vm_and_task_state
 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
 disk_allocation_ratio=1.0
 quota_max_injected_file_path_bytes=4096
 quota_floating_ips=100
 quota_key_pairs=10
 scheduler_max_attempts=3
 cpu_allocation_ratio=8.0
 multi_host=True
 max_instances_per_host=50
 scheduler_available_filters=nova.scheduler.filters.all_filters
 public_interface=eth1
 service_down_time=60
 syslog_log_facility=LOG_LOCAL6
 quota_gigabytes=1000
 use_syslog_rfc_format=True
 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
 service_neutron_metadata_proxy=False
 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://10.0.21.5:5000/v2.0/ec2tokens
 quota_metadata_items=1024
 osapi_compute_workers=8
 rootwrap_config=/etc/nova/rootwrap.conf
 rpc_backend=nova.openstack.common.rpc.impl_kombu
 fixed_range=10.0.23.0/24
 use_syslog=True
 metadata_workers=8
 dhcp_domain=novalocal
 allow_resize_to_same_host=True
 flat_injected=False

 [DATABASE]
 max_pool_size=30
 max_retries=-1
 max_overflow=40

 [database]
 idle_timeout=3600
 connection=mysql://nova:LcHgm0PN@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=FMxM1wqW
 admin_user=nova
 auth_protocol=http
 auth_host=10.0.21.5
 admin_tenant_name=services
 auth_uri=http://10.0.21.5:5000/

 [conductor]
 workers=8

 ===
 compute node: nova.conf

 root@node-8:~# cat /etc/nova/nova.conf
 [DEFAULT]
 notification_driver=ceilometer.compute.nova_notifier
 notification_driver=nova.openstack.common.notifier.rpc_notifier
 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=metadata
 flat_interface=eth2.103
 debug=False
 

[openstack-dev] novnc console connection timetout

2015-06-04 Thread 张扬
Hi Guys,

I am a newbie on openstack, I deployed my first openstack env via Fuel 6.0,
but unfortunately I always could not access the vm's vnc console, it hints
the connection time, I also found the following calltrace in
nova-novncproxy.log,  Could anybody give me a hint on it? I am not sure
whether its appropriate to send them to the mail list nor not, if not,
please help me forward it to the right mail list. Thanks in advance! :-).

BTW: I also tried to change the def_con_timeout, but it did not work for me
The following is about the log information.

controller: nova.conf

root@node-9:~# cat /etc/nova/nova.conf
[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
flat_interface=eth2.103
#debug=False
debug=True
log_dir=/var/log/nova
network_manager=nova.network.manager.FlatDHCPManager
amqp_durable_queues=False
rabbit_hosts=10.0.21.5:5672
quota_volumes=100
notify_api_faults=False
flat_network_bridge=br100
resume_guests_state_on_host_boot=True
memcached_servers=10.0.21.5: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
quota_max_injected_file_content_bytes=102400
s3_listen=0.0.0.0
quota_driver=nova.quota.NoopQuotaDriver
glance_api_servers=192.168.1.103:9292
max_age=0
quota_security_groups=10
novncproxy_host=192.168.1.103
rabbit_userid=nova
rabbit_ha_queues=True
rabbit_password=FMskSLdn
report_interval=10
scheduler_weight_classes=nova.scheduler.weights.all_weighers
quota_cores=100
reservation_expire=86400
rabbit_virtual_host=/
force_snat_range=0.0.0.0/0
image_service=nova.image.glance.GlanceImageService
use_cow_images=True
quota_max_injected_files=50
notify_on_state_change=vm_and_task_state
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
disk_allocation_ratio=1.0
quota_max_injected_file_path_bytes=4096
quota_floating_ips=100
quota_key_pairs=10
scheduler_max_attempts=3
cpu_allocation_ratio=8.0
multi_host=True
max_instances_per_host=50
scheduler_available_filters=nova.scheduler.filters.all_filters
public_interface=eth1
service_down_time=60
syslog_log_facility=LOG_LOCAL6
quota_gigabytes=1000
use_syslog_rfc_format=True
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
service_neutron_metadata_proxy=False
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://10.0.21.5:5000/v2.0/ec2tokens
quota_metadata_items=1024
osapi_compute_workers=8
rootwrap_config=/etc/nova/rootwrap.conf
rpc_backend=nova.openstack.common.rpc.impl_kombu
fixed_range=10.0.23.0/24
use_syslog=True
metadata_workers=8
dhcp_domain=novalocal
allow_resize_to_same_host=True
flat_injected=False

[DATABASE]
max_pool_size=30
max_retries=-1
max_overflow=40

[database]
idle_timeout=3600
connection=mysql://nova:LcHgm0PN@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=FMxM1wqW
admin_user=nova
auth_protocol=http
auth_host=10.0.21.5
admin_tenant_name=services
auth_uri=http://10.0.21.5:5000/

[conductor]
workers=8

===
compute node: nova.conf

root@node-8:~# cat /etc/nova/nova.conf
[DEFAULT]
notification_driver=ceilometer.compute.nova_notifier
notification_driver=nova.openstack.common.notifier.rpc_notifier
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=metadata
flat_interface=eth2.103
debug=False
log_dir=/var/log/nova
network_manager=nova.network.manager.FlatDHCPManager
amqp_durable_queues=False
vncserver_proxyclient_address=10.0.21.4
rabbit_hosts=10.0.21.5:5672
notify_api_faults=False
flat_network_bridge=br100
memcached_servers=127.0.0.1:11211
rabbit_use_ssl=False