<p>The novnc package included in 12.04 is outdated/broken.</p>
<p>I know Chuck is planning to fix it ASAP..</p>
<p>In the meantime, I hacked together a fixed .deb.. I can stick it somewhere for you to download if you like?<br></p>
<p>Thanks,<br>
Kiall</p>
<p>Sent from my phone.</p>
<div class="gmail_quote">On Apr 7, 2012 9:31 a.m., "Eric Luo" <<a href="mailto:staywithmyheart@gmail.com">staywithmyheart@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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" target="_blank">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" target="_blank">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" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
<label style="display:block;padding-top:0px;padding-right:0px;padding-bottom:0.8em;padding-left:0px;text-align:left">Search on Google:</label><label 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 style="margin-top:15px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><span><span>Google Chrome</span>'s connection attempt to <strong>192.168.0.202</strong> was rejected. The website may be down, or your network may not be properly configured.</span></div>

<div 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)" target="_blank">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>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>Settings</span> > <span>Under the Hood</span> > <span>Change Proxy Settings...</span> </strong>and make sure your configuration is set to "no proxy" or "direct."</span></li>

</ul></div><div 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/" target="_blank">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" target="_blank">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" target="_blank">novadbadmin:123456@192.168.0.202/nova</a></div>

<div>--ec2_url=<a href="http://192.168.0.202:8773/services/Cloud" target="_blank">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" target="_blank">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" target="_blank">http://192.168.0.202:6080/vnc_auto.html</a></div>

<div>--xvpvncproxy_base_url=<a href="http://192.168.0.202:6081/console" target="_blank">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" target="_blank">192.168.0.60/27</a></div>

<div>--floating_range=<a href="http://192.168.0.202/27" target="_blank">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" target="_blank">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 style="color:rgb(119,119,119);margin-top:30px;font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><br></div><div 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>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div>