The novnc package included in 12.04 is outdated/broken. I know Chuck is planning to fix it ASAP..
In the meantime, I hacked together a fixed .deb.. I can stick it somewhere for you to download if you like? Thanks, Kiall Sent from my phone. On Apr 7, 2012 9:31 a.m., "Eric Luo" <staywithmyhe...@gmail.com> wrote: > Hello ,all > 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. > 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), > When I use the command root@ubuntu:~# *service novnc start* > I got the following with nothing else: > * Starting OpenStack NoVNC proxy nova-novncproxy > > It only says "starting",but does not say "started"! > > actually it is not started ,by command *service novnc status, *it says: > * nova-novncproxy is not running. > > when I use command *nova-novncproxy --flagfile=/etc/nova/nova.conf* ,I > got the following: > > WARNING: no 'numpy' module, HyBi protocol support disabled > Traceback (most recent call last): > File "/usr/bin/nova-novncproxy", line 40, in <module> > flags.DEFINE_boolean('verbose', False, > AttributeError: 'module' object has no attribute 'DEFINE_boolean' > > When I use command *nova get-vnc-console testVM novnc* > > > > +-------+------------------------------------------------------------------------------------+ > | Type | Url > | > > +-------+------------------------------------------------------------------------------------+ > | novnc | > http://192.168.0.202:6080/vnc_auto.html?token=e1095862-deb9-4cb5-9ec9-44aa0200342e| > > +-------+------------------------------------------------------------------------------------+ > > but When pasted the url above into my chrome ,I got the following : > Oops! Google Chrome could not connect to 192.168.0.202:6080 Suggestions: > > - Try reloading the page > - Search on Google:when I click the "VNC " tag in dashboard ,I got the > folloing : > > > This webpage is not available > Google Chrome's connection attempt to *192.168.0.202* was rejected. The > website may be down, or your network may not be properly configured. > Here are some suggestions: > > - > Reload<http://192.168.0.202:6080/vnc_auto.html?token=4ecea055-2253-48e7-9542-544761432d29&title=VM9(11323336-8e18-453b-8b31-f4c821649df4)> > this > webpage later. > - Check your Internet connection. Restart any router, modem, or other > network devices you may be using. > - Add Google Chrome 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. > - 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 *the wrench menu > Settings > Under the Hood > Change > Proxy Settings... *and make sure your configuration is set to "no > proxy" or "direct." > > Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection. > I hvae an nova config as following: > --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 > --allow_admin_api=true > --use_deprecated_auth=false > --auth_strategy=keystone > --scheduler_driver=nova.scheduler.simple.SimpleScheduler > --s3_host=192.168.0.202 > --ec2_host=192.168.0.202 > --rabbit_host=192.168.0.202 > --cc_host=192.168.0.202 > --nova_url=http://192.168.0.202:8774/v1.1/ > --routing_source_ip=192.168.0.202 > --glance_api_servers=192.168.0.202:9292 > --image_service=nova.image.glance.GlanceImageService > --iscsi_ip_prefix=192.168.0 > --sql_connection=mysql://novadbadmin:123456@192.168.0.202/nova > --ec2_url=http://192.168.0.202:8773/services/Cloud > --keystone_ec2_url=http://192.168.0.202:5000/v2.0/ec2tokens > --api_paste_config=/etc/nova/api-paste.ini > --libvirt_type=kvm > --libvirt_use_virtio_for_bridges=true > --start_guests_on_host_boot=false > --resume_guests_state_on_host_boot=false > > > --vnc_enabled=true > --novnc_enabled=true > --vncserver_listen=127.0.0.1 > --vncserver_proxyclient_address=127.0.0.1 > --novncproxy_base_url=http://192.168.0.202:6080/vnc_auto.html > --xvpvncproxy_base_url=http://192.168.0.202:6081/console > --xvpvncproxy_port=6081 > --novncproxy_port=65535 > # network specific settings > --network_manager=nova.network.manager.FlatDHCPManager > --public_interface=eth0 > --flat_interface=eth0 > --flat_network_bridge=br100 > --fixed_range=192.168.0.60/27 > --floating_range=192.168.0.202/27 > --network_size=32 > --flat_network_dhcp_start=192.168.0.61 > --flat_injected=False > --force_dhcp_release > --iscsi_helper=tgtadm > --connection_type=libvirt > --root_helper=sudo nova-rootwrap > --verbose > > > I guess that's all the information I can give it for now . > I did a lot of googling ,and read ton of docs on openstack.org ..but > nothing seams help..... > Can someone please help me out of here ?...I almost get crazy about this > = = !...... > > > > -- > Stay with me,stay with my heart,honey..... > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp