<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Eric ,
<br>
<br>
 In the nova configuration file , --novncproxy_port=65535   is set . you are trying to use the url --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><br>
  <br>
<div>you have overridden the default port 6080  to 65535. Please look into this & correct the port ..<br>
<br>
This should solve the connection error ..<br>
<br>
<br>
<div style="font-family: Tahoma; font-size: 13px;">Meena Raja<br>
Consultant<br>
__________________________________________<br>
<span class="heading"><b>WIPRO TECHNOLOGIES<br>
</b></span>No 53/1 Ganapa Towers ,Near Madivala Police Station , Hosur Main Road ,Bangalore-560068<br>
Hand Phone : +91-9880549725 | Desk : +91-80-39912554 |Fax No: +91-80-25502160<br>
Email : raja.meena@wipro.com | Website : www.wipro.com<br>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF871777"><font color="#000000" face="Tahoma" size="2"><b>From:</b> openstack-bounces+raja.meena=wipro.com@lists.launchpad.net [openstack-bounces+raja.meena=wipro.com@lists.launchpad.net] on behalf of Eric Luo [staywithmyheart@gmail.com]<br>
<b>Sent:</b> Saturday, April 07, 2012 1:58 PM<br>
<b>To:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> [Openstack] What is the correct config for vnc or novnc to successfully enable VNC CONSOLE in a browser?<br>
</font><br>
</div>
<div></div>
<div>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: 1.083em 0px 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: 1.083em 0px 0px; font-family: arial,sans-serif;">
Suggestions:</h2>
<ul style="font-size: 1.083em; line-height: 1.37em; margin: 0px 0px 0px 1.5em; padding: 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">
<label for="search" style="display: block; padding: 0px 0px 0.8em; text-align: left;" target="_blank">Search on Google:</label><label for="search" style="display: block; padding: 0px 0px 0.8em; text-align: left;" target="_blank">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: 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: 0px; padding: 0px;">Here are some suggestions:</h2>
<ul style="margin: 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 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/" 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 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>
</div>
</div>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>