Hello ,all<div>I installed Openstack as a all-in-one solution ,I got everything runs correctly ,I can ssh to my VMs etc. But there is a problem here: I can not use the VNC tag in dashboard.</div><div>I have installed the nova-consoleauth and novnc by "apt-get" .but I can not statrt the nova-novncproxy service (by the way ,the nova-vncproxy service always runs OK),</div>
<div>When I use the command  root@ubuntu:~# <b>service novnc start</b></div><div>I got the following with nothing else:</div><div> * Starting OpenStack NoVNC proxy  nova-novncproxy   </div><div><br></div><div>It only says "starting",but does not say "started"! </div>
<div><br></div><div>actually it is not started ,by command   <b>service novnc status, </b>it says:   * nova-novncproxy is not running.</div><div><br></div><div>when I use command  <b>nova-novncproxy --flagfile=/etc/nova/nova.conf</b>   ,I got the following:</div>
<div><br></div><div><div>WARNING: no 'numpy' module, HyBi protocol support disabled</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/nova-novncproxy", line 40, in <module></div>
<div>    flags.DEFINE_boolean('verbose', False,</div><div>AttributeError: 'module' object has no attribute 'DEFINE_boolean'</div></div><div><br></div><div>When I use command  <b>nova get-vnc-console testVM novnc</b></div>
<div><br></div><div><br></div><div><div>+-------+------------------------------------------------------------------------------------+</div><div>|  Type |                                        Url                                         |</div>
<div>+-------+------------------------------------------------------------------------------------+</div><div>| novnc | <a href="http://192.168.0.202:6080/vnc_auto.html?token=e1095862-deb9-4cb5-9ec9-44aa0200342e">http://192.168.0.202:6080/vnc_auto.html?token=e1095862-deb9-4cb5-9ec9-44aa0200342e</a> |</div>
<div>+-------+------------------------------------------------------------------------------------+</div></div><div><br></div><div>but When pasted the url above into my chrome ,I got the following :</div><div><h1 style="font-size:1.5em;margin-top:1.083em;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(51,51,51);font-family:arial,sans-serif">
Oops! Google Chrome could not connect to <a href="http://192.168.0.202:6080">192.168.0.202:6080</a></h1><h2 style="font-size:1.083em;margin-top:1.083em;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif">
Suggestions:</h2><ul style="font-size:1.083em;line-height:1.37em;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:arial,sans-serif">
<li>Try reloading the page</li><li><form action="http://www.google.com.hk/search" method="get" style="text-align:center"><label for="search" style="display:block;padding-top:0px;padding-right:0px;padding-bottom:0.8em;padding-left:0px;text-align:left">Search on Google:</label><label for="search" style="display:block;padding-top:0px;padding-right:0px;padding-bottom:0.8em;padding-left:0px;text-align:left">when I click the "VNC " tag in dashboard ,I got the folloing :</label></form>
</li></ul></div><div><br></div><div><h1 style="font-size:12pt;line-height:20px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica,Arial,sans-serif"><span>This webpage is not available</span></h1>
<div id="errorSummary" style="margin-top:15px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><span><span class="productName">Google Chrome</span>'s connection attempt to <strong class="hostName">192.168.0.202</strong> was rejected. The website may be down, or your network may not be properly configured.</span></div>
<div id="suggestions" style="margin-top:15px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><h2 style="font-size:10pt;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
Here are some suggestions:</h2><ul style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-bottom:0px"><li style="padding-top:2px"><span><a href="http://192.168.0.202:6080/vnc_auto.html?token=4ecea055-2253-48e7-9542-544761432d29&title=VM9(11323336-8e18-453b-8b31-f4c821649df4)" style="color:rgb(85,26,139)">Reload</a> this webpage later.</span></li>
<li style="padding-top:2px"><span>Check your Internet connection. Restart any router, modem, or other network devices you may be using.</span></li><li style="padding-top:2px"><span>Add <span class="productName">Google Chrome</span> as a permitted program in your firewall's or antivirus software's settings. If it is already a permitted program, try deleting it from the list of permitted programs and adding it again.</span></li>
<li style="padding-top:2px"><span>If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server, adjust your proxy settings: Go to <strong>the wrench menu > <span class="settingsTitle">Settings</span> > <span class="advancedTitle">Under the Hood</span> > <span class="proxyTitle">Change Proxy Settings...</span> </strong>and make sure your configuration is set to "no proxy" or "direct."</span></li>
</ul></div><div id="errorDetails" class="$this" style="color:rgb(119,119,119);margin-top:30px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.</div>
I hvae an nova config as following:</div><div><div>--dhcpbridge_flagfile=/etc/nova/nova.conf</div><div>--dhcpbridge=/usr/bin/nova-dhcpbridge</div><div>--logdir=/var/log/nova</div><div>--state_path=/var/lib/nova</div><div>
--lock_path=/var/lock/nova</div><div>--allow_admin_api=true</div><div>--use_deprecated_auth=false</div><div>--auth_strategy=keystone</div><div>--scheduler_driver=nova.scheduler.simple.SimpleScheduler</div><div>--s3_host=192.168.0.202</div>
<div>--ec2_host=192.168.0.202</div><div>--rabbit_host=192.168.0.202</div><div>--cc_host=192.168.0.202</div><div>--nova_url=<a href="http://192.168.0.202:8774/v1.1/">http://192.168.0.202:8774/v1.1/</a></div><div>--routing_source_ip=192.168.0.202</div>
<div>--glance_api_servers=<a href="http://192.168.0.202:9292">192.168.0.202:9292</a></div><div>--image_service=nova.image.glance.GlanceImageService</div><div>--iscsi_ip_prefix=192.168.0</div><div>--sql_connection=mysql://<a href="http://novadbadmin:123456@192.168.0.202/nova">novadbadmin:123456@192.168.0.202/nova</a></div>
<div>--ec2_url=<a href="http://192.168.0.202:8773/services/Cloud">http://192.168.0.202:8773/services/Cloud</a></div><div>--keystone_ec2_url=<a href="http://192.168.0.202:5000/v2.0/ec2tokens">http://192.168.0.202:5000/v2.0/ec2tokens</a></div>
<div>--api_paste_config=/etc/nova/api-paste.ini</div><div>--libvirt_type=kvm</div><div>--libvirt_use_virtio_for_bridges=true</div><div>--start_guests_on_host_boot=false</div><div>--resume_guests_state_on_host_boot=false</div>
<div><br></div><div><br></div><div>--vnc_enabled=true</div><div>--novnc_enabled=true</div><div>--vncserver_listen=127.0.0.1</div><div>--vncserver_proxyclient_address=127.0.0.1</div><div>--novncproxy_base_url=<a href="http://192.168.0.202:6080/vnc_auto.html">http://192.168.0.202:6080/vnc_auto.html</a></div>
<div>--xvpvncproxy_base_url=<a href="http://192.168.0.202:6081/console">http://192.168.0.202:6081/console</a></div><div>--xvpvncproxy_port=6081</div><div>--novncproxy_port=65535</div><div># network specific settings</div>
<div>--network_manager=nova.network.manager.FlatDHCPManager</div><div>--public_interface=eth0</div><div>--flat_interface=eth0</div><div>--flat_network_bridge=br100</div><div>--fixed_range=<a href="http://192.168.0.60/27">192.168.0.60/27</a></div>
<div>--floating_range=<a href="http://192.168.0.202/27">192.168.0.202/27</a> </div><div>--network_size=32</div><div>--flat_network_dhcp_start=192.168.0.61</div><div>--flat_injected=False</div><div>--force_dhcp_release</div>
<div>--iscsi_helper=tgtadm</div><div>--connection_type=libvirt</div><div>--root_helper=sudo nova-rootwrap</div><div>--verbose</div><div><br></div><div><br></div><div>I guess that's all the information I can give it for now .</div>
<div>I did a lot of googling ,and read ton of docs on <a href="http://openstack.org">openstack.org</a> ..but nothing seams help.....</div><div>Can someone please help me out of here ?...I almost get crazy about this  = = !......</div>
<div id="errorDetails" class="$this" style="color:rgb(119,119,119);margin-top:30px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><br></div><div id="errorDetails" class="$this" style="color:rgb(119,119,119);margin-top:30px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">
<br></div><div><br></div>-- <br>Stay with me,stay with my heart,honey.....<br>
</div>