openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #09429
Re: Dashboard VNC Console failed to connect to server
Anthony, It's working now. Thanks for your support. I'll take a look at the outdated flags at my config.
I have just a question, the novnc works on wich browsers? I've tried on firefox 10.0.2 and didn't worked. With chrome and IE I can connect to my instances, but can't use the keyboard.
Date: Fri, 30 Mar 2012 12:23:08 -0700
Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server
From: sleepsonthefloor@xxxxxxxxx
To: guibirk@xxxxxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx
On Fri, Mar 30, 2012 at 11:29 AM, Guilherme Birk <guibirk@xxxxxxxxxxx> wrote:
I installed the nova-consoleauth service and that resolved the problem of 404 not found. Now I'm getting a cannot connect to the server127.0.0.1:6080. The IP 127.0.0.1 is strange, because on my nova.conf file I have the following flags:
The 127.0.0.1 means that your flag is not taking effect.
If you are using essex you need:
--novncproxy_base_url=http://192.168.100.142:6080/vnc_auto.html
In https://review.openstack.org/6002 I explain that there are configuration options that have changed for essex, this is one of them. Let me know if there is any way I can improve that explanation.
Is this a 1 machine deploy? Given that vncproxy_url (again that is an outdated flag) references the same ip as the compute host, your configs would only work for all-in-one.
A
--vncserver_listen=192.168.100.142
--vncserver_proxyclient_address=192.168.100.142
--vncproxy_url=http://192.168.100.142:6080
--vnc_console_proxy_url=http://192.168.100.142:6080
My problem could be because of the localhost IP? I've already tried the port 6081, but with no success.
From: lucianthomaz@xxxxxxxxxxx
To: sleepsonthefloor@xxxxxxxxx
Date: Fri, 30 Mar 2012 16:30:05 +0000
CC: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server
Anthony, I tried to add this flags there and do some more things but I didn't have sucess yet.
I made a question in launchpad with all my network configurations and my log. Can you see that please?
Thank you.
https://answers.launchpad.net/nova/+question/192153
Lucian Thomaz
Date: Thu, 29 Mar 2012 12:28:24 -0700
Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server
From: sleepsonthefloor@xxxxxxxxx
To: lucianthomaz@xxxxxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx
Here are several flags that you must set on your compute host for a multi host deploy:
:option:`--vncserver_listen` - defaults to 127.0.0.1 This is the address that vncservers will bind, and should be overridden in production deployments as a private address. Applies to libvirt only. For multi-host libvirt deployments this should be set to a host management ip on the same network as the proxies.
:option:`--vncserver_proxyclient_address` - defaults to 127.0.0.1 This is the address of the compute host that nova will instruct proxies to use when connecting to instance vncservers. For all-in-one xen server domU deployments this can be set to 169.254.0.1. For multi-host xen server domU deployments this can be set to a dom0 management ip on the same network as the proxies. For multi-host libvirt deployments this can be set to a host management ip on the same network as the proxies.
:option:`--novncproxy_base_url=[base url for client connections]` - this is the public base url to which clients will connect. "?token=abc" will be added to this url for the purposes of auth. When using the system as described in this document, an appropriate value is "http://$SERVICE_HOST:6080/vnc_auto.html" where SERVICE_HOST is a public hostname.
Suppose you have 2 servers, APISERVER and COMPUTESERVER:
APISERVER:public hostname = my.server.commanagement ip = 192.168.1.1
public ip = 172.24.4.1
COMPUTESERVER:management ip = 192.168.1.2
Your nova.conf con COMPUTESERVER would need the following flags:
novncproxy_base_url=http://my.server.com:6080/vnc_auto.html or novncproxy_base_url=http://172.24.4.1:6080/vnc_auto.html
vncserver_proxyclient_address=192.168.1.2vncserver_listen=192.168.1.2
Note that novncproxy_base_url references a public ip or hostname (so clients can connect), while the other flags use private ips.
For more info:https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst
On Thu, Mar 29, 2012 at 11:07 AM, Lucian Thomaz <lucianthomaz@xxxxxxxxxxx> wrote:
Hey guys,
I'm using Dashboard with a nova-compute installed in another machine, but when I try access VNC Console I get the error "failed to connect to server".
Here is the log -> http://pastebin.com/5DZMfiNE
Anyone already saw this trouble?
Lucian Thomaz
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
Follow ups
References