Re: [Openstack] What is the correct config for vnc or novnc tosuccessfully enable VNC CONSOLE in a browser?

2012-04-09 Thread Anthony Young
See below: but I get some thing strange for: if I set --vnc_enabled=true --novncproxy_base_url=http://localhost:6080/vnc_auto.htmlhttp://78.153.xxx.xxx:6080/vnc_auto.html --vncserver_proxyclient_address=localhost --vncserver_listen=0.0.0.0 in nova.conf that it return Oops! Google Chrome

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-04-04 Thread Anthony Young
Lucian - Could you also paste your iptables nat rules to the question? Usually, when I get into a funky network state like you are in, I bust out tcpdump and map out exactly how packets are getting moved from interface to interface. That usually gets to the problem quickly. A On Wed, Apr 4,

Re: [Openstack] make instances not communicate each other

2012-04-04 Thread Anthony Young
Use the flag --allow_same_net_traffic : This flag will allow all traffic from other vms (and host machines) in the same network. It defaults to true. If you would prefer to block all vm-vm traffic and use security groups to manage vm-vm traffic, set this flag to false. On Wed, Apr 4, 2012 at

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-04-02 Thread Anthony Young
I have just a question, the novnc works on wich browsers? I've tried on firefox 10.0.2 and didn't worked. Here is an approximate supported version list: https://github.com/kanaka/noVNC/wiki/Browser-support. I'm not sure about that exact version of FF, though I know that certain versions

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
It does not look like you are running nova-consoleauth. The vnc proxies use that service to verify incoming tokens. Try running that and see if that fixes things. A On Fri, Mar 30, 2012 at 6:50 AM, Guilherme Birk guib...@hotmail.com wrote: Thanks for the reply. I've added the flags that

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
On Fri, Mar 30, 2012 at 7:56 AM, David Kranz david.kr...@qrclab.com wrote: I am also having problems with vnc console but not using dashboard and of a different kind. First, the documentation says to use the vnc_redux branch but that is evidently diablo-compatible code. So I used master and

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
On Fri, Mar 30, 2012 at 9:12 AM, Michaël Van de Borne michael.vandebo...@cetic.be wrote: Thank you. I installed the package. Now I've got this error when I paste the vnc url (which I got with nova get-vnc-console) in firefox: Traceback (most recent call last): File

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
Lucian, I added a response to your question. There are several issues at play there. A On Fri, Mar 30, 2012 at 9:30 AM, Lucian Thomaz luciantho...@hotmail.comwrote: 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

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
I've proposed doc changes that add a FAQ and also remove references to vnc_redux (thanks for bringing that to my attention). https://review.openstack.org/6002 In the FAQ I also mention the python-numpy noVNC dependency, which appears to be biting you. A On Fri, Mar 30, 2012 at 7:56 AM, David

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-30 Thread Anthony Young
On Fri, Mar 30, 2012 at 11:29 AM, Guilherme Birk guib...@hotmail.com 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 server 127.0.0.1:6080. The IP 127.0.0.1 is strange, because on my nova.conf file I have

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-29 Thread Anthony Young
Here are several flags that you must set on your compute host for a multi host deploy: - :option:`--vncserver_listen` https://github.com/openstack/nova#id3 - defaults to 127.0.0.1 This is the address that vncservers will bind, and should be overridden in production deployments as a

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-29 Thread Anthony Young
How are you generating this link: http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None ? It looks like if horizon is behaving nicely the link would look like

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-29 Thread Anthony Young
, at 1:06 PM, Anthony Young wrote: How are you generating this link: http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None ? It looks like if horizon is behaving nicely the link would look like http://192.168.100.142/nova/instances_and_volumes

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-29 Thread Anthony Young
://pastie.org/3694439 The compute host is 172.18.1.1 with my instance (TTY, named zerglet) The nova vncproxy code is running at 172.17.1.50 - both have direct access to each other - pingable, etc. 172.17.1.50 is the nova-api host for this setup as well -joe On Mar 29, 2012, at 2:35 PM, Anthony Young

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-03-29 Thread Anthony Young
that suggestion right now... -joe On Mar 29, 2012, at 3:01 PM, Anthony Young wrote: Joe - looks like it could just be a typo: 1 2 3 --vncserver_list=172.18.1.1--vncserver_proxyclient_address=172.18.1.1--novncproxy_base_url=http://172.17.1.50:6080/vnc_auto.html that should

Re: [Openstack] regarding this Message #09165 (VNC error with latest version of Firefox)

2012-03-28 Thread Anthony Young
In diablo, nova shipped its own websocket proxy, which had some browser compatibility issues due to eventlet's out-dated websocket implementation. For this reason, in essex we replaced nova-vncproxy with one more directly based on noVNC's websocket proxy. Docs for the current proxy may be found

Re: [Openstack] BUG on dashboard (Horizon)

2012-03-26 Thread Anthony Young
On Mon, Mar 26, 2012 at 11:58 AM, Guilherme Souza souza.guilherm...@gmail.com wrote: All configurations are correct and the service is running, if i try to run the status command on shell i prints running, and in fact it was, because i need keystone to access the horizon, in a test i stop the

Re: [Openstack] Horizon

2012-03-22 Thread Anthony Young
I made a very simple horizon example plugin, maybe you will find this useful: https://github.com/cloudbuilders/simple_horizon_plugin On Thu, Mar 22, 2012 at 5:16 AM, Hallvard Westman hallvard.west...@gmail.com wrote: I would like an answer to this question :

Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Anthony Young
Hey Andrew, You can see out the main vnc doc in the nova source tree: https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst Let me know if have any additional questions, or if anything is unclear (so I can help you out and update the docs accordingly :) Anthony On

Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Anthony Young
When I try to execute nova get-vnc-console instance_id vnctype I don't get a response... This sounds like you are not running nova-console-auth. There are references to that in the docs, and you can see a working configuration using that process in devstack. A * * *Andrew Weiss*

Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Anthony Young
which obviously poses an issue when I access my dashboard from a different host. Any idea where else I might be able to change this? Thanks, * * Andrew From: Anthony Young sleepsonthefl...@gmail.com Date: Mon, 19 Mar 2012 09:58:16 -0700 To: Andrew Weiss wei...@purdue.edu Cc

Re: [Openstack] question of novncproxy

2012-03-08 Thread Anthony Young
DeadSun, I just made a pass at trying to improve the vnc proxy docs a bit. Could you join me in reviewing this patch until the docs answer all your questions? https://review.openstack.org/#change,5086 Thanks, Anthony 2012/3/8 DeadSun mwjpi...@gmail.com Essex4 In mutil hosts, does any

Re: [Openstack] XCP toolstack support for devstack

2012-02-21 Thread Anthony Young
Todd, Mike - This looks great! From the looks of things, the main difference seem to be slight changes due to the fact that dom0 is ubuntu, rather than redhat. Is that accurate? If so, it seems like it should be straightforward to support both with roughly the same code, and just if-else the

Re: [Openstack] Creating boot-from-volume capable image and volume

2012-02-21 Thread Anthony Young
, Feb 11, 2012 at 2:58 PM, Anthony Young sleepsonthefl...@gmail.com wrote: On Fri, Feb 10, 2012 at 8:51 PM, Tomoe Sugihara to...@midokura.com wrote: Hi folks, Could someone tell me what is the right way to do boot-from-volume? Especially, how to create boot-from-volume capable image

Re: [Openstack] devstack and stable/diablo

2012-02-21 Thread Anthony Young
On Tue, Feb 21, 2012 at 11:23 AM, Yun Mao yun...@gmail.com wrote: What's the recommended way to play with stable/diablo with devstack? Ideally: git checkout stable/diablo ./stack.sh Which you are probably doing. We've been using the stable/diablo branch of devstack but stack.sh in that

Re: [Openstack] devstack and stable/diablo

2012-02-21 Thread Anthony Young
). Anthony Those bugs are all fixed in the master branch a while ago. Thanks, Yun On Tue, Feb 21, 2012 at 2:51 PM, Anthony Young sleepsonthefl...@gmail.com wrote: On Tue, Feb 21, 2012 at 11:23 AM, Yun Mao yun...@gmail.com wrote: What's the recommended way to play with stable/diablo

Re: [Openstack] Creating boot-from-volume capable image and volume

2012-02-17 Thread Anthony Young
for following it up. On Sat, Feb 11, 2012 at 2:58 PM, Anthony Young sleepsonthefl...@gmail.com wrote: On Fri, Feb 10, 2012 at 8:51 PM, Tomoe Sugihara to...@midokura.com wrote: Hi folks, Could someone tell me what is the right way to do boot-from-volume? Especially, how to create boot

Re: [Openstack] Flavor change in Essex?

2012-02-14 Thread Anthony Young
It sounds like we need to update the cli to reflect this disk-configuration-parity change. It is also likely that some nova-api work will need to be done to get this humming. https://bugs.launchpad.net/nova/+bug/932423 On Tue, Feb 14, 2012 at 1:57 PM, Jesse Andrews anotherje...@gmail.comwrote:

Re: [Openstack] Creating boot-from-volume capable image and volume

2012-02-10 Thread Anthony Young
On Fri, Feb 10, 2012 at 8:51 PM, Tomoe Sugihara to...@midokura.com wrote: Hi folks, Could someone tell me what is the right way to do boot-from-volume? Especially, how to create boot-from-volume capable image and volume? My understanding is that, since openstack API requires imageRef, we

[Openstack-poc] [Bug 930270] Re: flagfile interpolation breaks instance_name_tempalte

2012-02-10 Thread Anthony Young
Curious if anyone knows how this bug made it past the integration test gate? -- You received this bug notification because you are a member of OpenStack Common Drivers, which is the registrant for openstack-common. https://bugs.launchpad.net/bugs/930270 Title: flagfile interpolation breaks

Re: [Openstack] Error while installing devstack

2012-01-22 Thread Anthony Young
I'm not sure of the exact reason why this is failing - it could be an issue with how pip deals with git connections when a proxy is specified. It could also be a transient git network issue. If the latter is the issue, you may try running stack.sh again. Regardless, openstack.compute is no

Re: [Openstack] how to verify nova uses openstackx extensions?

2012-01-18 Thread Anthony Young
In your nova-api log, you should see lines like the following if openstackx is loading: 2012-01-18 09:32:01,329 DEBUG nova.api.openstack.extensions [-] Loading extension extensions.admin.Admin from (pid=3731) debug /opt/stack/nova/nova/log.py:1752012-01-18 09:32:01,620 DEBUG

Re: [Openstack] has anyone tried devstack this morning

2012-01-18 Thread Anthony Young
To: Anthony Young Cc: Gabriel Hurley; openstack Subject: Re: [Openstack] has anyone tried devstack this morning Each time I install Devstack, and try the Quantum cmds, it doesn't work. So I have to manually do a $ python setup.py build and $ python setup.py install

Re: [Openstack] libvirt issues

2012-01-18 Thread Anthony Young
It is likely that one of devstack, nova, openstackx, or dashboard are out-of-date. You should update those directories, and then re-run stack.sh A On Wed, Jan 18, 2012 at 8:42 AM, Mohammad Banikazemi m...@us.ibm.com wrote: I resolved the 2nd problem by using virsh undefine instance-0002.

Re: [Openstack] libvirt issues

2012-01-18 Thread Anthony Young
---I've also had to run the following before. Might be useful]Joshua Harlow ---01/18/2012 03:59:19 PM---I've also had to run the following before. Might be useful for others. Might be a bug somewhere that From: Joshua Harlow harlo...@yahoo-inc.com To: Anthony Young sleepsonthefl...@gmail.com

Re: [Openstack] has anyone tried devstack this morning

2012-01-17 Thread Anthony Young
Hey Debo - A fix has been merged for https://bugs.launchpad.net/devstack/+bug/917457 - hopefully that resolves your issue! Anthony On Tue, Jan 17, 2012 at 4:00 PM, Debo Dutta (dedutta) dedu...@cisco.comwrote: Thanks …. I tried installing devstack with Quantum and ignoring the horizon error

Re: [Openstack] has anyone tried devstack this morning

2012-01-17 Thread Anthony Young
statements in openstackx. That doesn’t fix the overall problem at all, sadly. ** ** **- **Gabriel ** ** *From:* Anthony Young [mailto:sleepsonthefl...@gmail.com] *Sent:* Tuesday, January 17, 2012 5:09 PM *To:* Debo Dutta (dedutta) *Cc:* Gabriel Hurley; openstack *Subject

Re: [Openstack] Multinode installation (with devstack on the master)

2012-01-03 Thread Anthony Young
Hey Sagar, Are you able to produce logs from n-cpu? If you are in the screen session, you should be able to switch to the window (ctrl-a + [number]) of that name and use ctrl-a + [ to enable interactive scrollback (uses vim keybindings). I think there is a chance that some data from a previous

Re: [Openstack] Multinode installation (with devstack on the master)

2011-12-30 Thread Anthony Young
Hey Sagar, I'll take a quick guess here that maybe your servers have host names that don't resolve. So for example, if host1 is 'server1' and host2 is 'server2' the vnc proxy may try connect using those hostnames (connecting to the latter host would probably fail). A quick fix could be to add

Re: [Openstack] Multinode installation (with devstack on the master)

2011-12-29 Thread Anthony Young
Hey Sagar, It does sound like you need to use eth1 for FLAT_INTERFACE - but note this parameter is used when your network is first created with nova-manage, so if you change this you will need to re-run stack.sh (it isn't enough to update your nova.conf), which is probably best to do after a

Re: [Openstack] Multinode installation (with devstack on the master)

2011-12-28 Thread Anthony Young
In this case, how should i tweak my localrc file to get network access for my VMs? I have setup SNAT on the master node to provide external network access to machines in the network 192.168.2.0/24. All my VMs are given ips in the fixed range 192.168.3.0/24. Is each machine configured

Re: [Openstack] Several keystone questions ...

2011-10-10 Thread Anthony Young
Looks cool! When do you think you'll be ready to propose these changes back into trunk? A On Mon, Oct 10, 2011 at 7:32 AM, Dmitry Maslennikov dmaslenni...@griddynamics.com wrote: On Thu, Oct 6, 2011 at 3:49 PM, Kuo Hugo tonyt...@gmail.com wrote: 3. We can using cloud with Dashbord smoothly

Re: [Openstack] Several keystone questions ...

2011-10-06 Thread Anthony Young
1. What's the difference of python-novaclient between devstackhttps://github.com/cloudbuilders/python-novaclient and rackspace https://github.com/rackspace/python-novaclient , as I know devstack's version forked from rackspace.. but while I install each of them... only devstack's

Re: [Openstack] keystone + dash + diablo user flows

2011-09-26 Thread Anthony Young
Hey Luis, I ran into the same issue last week when I was implementing this for dashboard. I filed a bug on launchpad here: https://bugs.launchpad.net/keystone/+bug/857671 The issue is that for admin users, all tenants get returned on GET /tenants, including tenants for which the admin is not a

Re: [Openstack] Diablo 4 dashboard error Unable to get usage info: (OperationalError) no such column: vm_state

2011-09-13 Thread Anthony Young
vm_state was added to the instance model in d4 - if you are upgrading, you will need to migrate: nova-manage db sync A On Tue, Sep 13, 2011 at 9:21 AM, atkisc atk...@gmail.com wrote: ** hi when i run the diablo-4 dashboard,Has the following error : Unable to get usage info:

Re: [Openstack] Diablo 4 dashboard error missing openstackx extensions in nova.

2011-09-12 Thread Anthony Young
Make sure that the openstackx/extensions contents are accessible via the flag FLAGS.osapi_extensions_path. nova-api uses that flag to dynamically load external extensions. Anthony On Mon, Sep 12, 2011 at 7:52 AM, shake chen shake.c...@gmail.com wrote: Hi I run Diablo 3 and dashboard, all

Re: [Openstack] Diablo 4 dashboard error missing openstackx extensions in nova.

2011-09-12 Thread Anthony Young
Another thing to check - the os1.1 keystone endpoints have been modified in d4 to include a tenant prefix. If you are upgrading an existing install, you may need to update your keystone service catalog accordingly: keystone-manage $* endpointTemplates add RegionOne nova http://%= api_vip

Re: [Openstack] Can't create an instance with openstack-dashboard

2011-09-09 Thread Anthony Young
Thanks, Jae - I pushed a change like you mention below to openstackx. At this point, most of the features we need for dashboard support of servers.create have been pushed to nova core, so we should be able to get rid of the openstackx dep for this call. A 2011/9/8 Jae Sang Lee hyan...@gmail.com

Re: [Openstack] VNC and dashboard

2011-08-10 Thread Anthony Young
Hey Carlo, Not sure what the exact issue is in that question as I'm having trouble reproducing, but I left a comment with a guess. It is worth noting that the protocol that is used to set up the proxy is different for html5 browsers like safari/chrome versus Firefox(and I suppose IE?). In

Re: [Openstack] VNC consoles for all

2011-07-14 Thread Anthony Young
The main issue was that maintaining ec2 extensions was becoming too hairy, which is why the original doc talks about using the direct api client to get a console url. Dashboard support for vnc was subsequently added through the community using dashboard's ec2 extensions. Proper support for vnc