Re: [Openstack] questions about rabbitmq channels

2011-08-30 Thread Joseph Heck
There are multiple sets of channels - Direct - to send messages to a specific instance of nova-compute on a specific host, Topic - to send messages to "all instances" of nova-compute, and then reply channels for the RPC mechanism to return values through the message queue based on message ID.

[Openstack] questions about rabbitmq channels

2011-08-30 Thread heut2008
hello everybody, I installed rabbitmq-server management plugins to see the details about rpc .i find that every worker process for instance a nova-compute service makes for channels ibut only one channel has the three type(direct fanout topic) exchanges. I wonder what the other channels us

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Vishvananda Ishaya
On Aug 30, 2011, at 5:22 PM, Nguyen, Liem Manh wrote: > Thanks, Vish… Of course, now, I have more questions (naturally J): > > 1. So, if the Nova project/user objects go away, I assume the > nova_auth_token middleware currently used for lazily creating Nova > projects/users are not nee

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Nguyen, Liem Manh
Thanks, Vish... Of course, now, I have more questions (naturally :)): 1. So, if the Nova project/user objects go away, I assume the nova_auth_token middleware currently used for lazily creating Nova projects/users are not needed anymore? 2. Also, now that user/project operations a

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Rouault, Jason (Cloud Services)
Glen, How does one list the servers associated with a particular tenant? When I look at the GET /servers interface it only acts on the account of the 'caller'. Jason From: Glen Campbell [mailto:glen.campb...@rackspace.com] Sent: Tuesday, August 30, 2011 3:46 PM To: Rouault, Jason (C

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Glen Campbell
We're in the midst of implementing these now: https://blueprints.launchpad.net/nova/+spec/admin-account-actions Essentially suspend/resume for all servers associated with a tenant ID. We're still having discussions around the mass deletion and whether or not we want to expose something that risk

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Rouault, Jason (Cloud Services)
And does that interface exist? Thanks, Jason From: openstack-bounces+jason.rouault=hp@lists.launchpad.net [mailto:openstack-bounces+jason.rouault=hp@lists.launchpad.net] On Behalf Of Vishvananda Ishaya Sent: Tuesday, August 30, 2011 12:31 PM To: Nguyen, Liem Manh Cc: openstack@lis

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Vishvananda Ishaya
This is correct. Well, they are still there, but marked deprecated. One can still use the old user and project system by using the --use_deprecated_auth flag and using the modified middleware stack that is commented out in the default paste.ini file. Vish On Aug 30, 2011, at 11:37 AM, Nguye

Re: [Openstack] Error while attaching a Compute node

2011-08-30 Thread Vishvananda Ishaya
using two different versions of nova on the different hosts will cause a problem. 0.9.1 is ancient at this point. On Aug 30, 2011, at 12:34 AM, Rasika Karunathilaka wrote: > > Hi Team, > > When I am trying to attach a compute node into Cloud Control node , I am > getting following error on

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Vishvananda Ishaya
With keystone in use, there is no user and project object in nova anymore. So the only thing that would make sense inside of nova is: delete all resources associated with a given project_id string. Vish On Aug 30, 2011, at 11:11 AM, Nguyen, Liem Manh wrote: > How is Nova project/user deleti

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Nguyen, Liem Manh
So, by the release of Diablo, the account and project operations from the nova-manage command won't be there anymore, and things should be done via Keystone? I assume role will go away as well, since this is also covered by Keystone. Is this correct? Thanks, Liem From: Vishvananda Ishaya [m

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Nguyen, Liem Manh
How is Nova project/user deletion handled then? There is no synchronization for that currently. Liem From: Vishvananda Ishaya [mailto:vishvana...@gmail.com] Sent: Tuesday, August 30, 2011 11:04 AM To: Nguyen, Liem Manh Cc: Glen Campbell; openstack@lists.launchpad.net Subject: Re: [Openstack] No

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Vishvananda Ishaya
users/tenants should be managed with keystone. So this would really be in the purview of the keystone admin api. On Aug 30, 2011, at 10:20 AM, Nguyen, Liem Manh wrote: > Hi Glen, > > This may be a tangential question, but I don’t see a Nova Admin API to allow > creation/deletion of projects

Re: [Openstack] Nova: Admin API blueprints

2011-08-30 Thread Nguyen, Liem Manh
Hi Glen, This may be a tangential question, but I don't see a Nova Admin API to allow creation/deletion of projects and user accounts. With Keystone integration, we can do that lazily; but, is there a proactive way to do so via an API? Thanks, Liem From: openstack-bounces+liem_m_nguyen=hp

Re: [Openstack] nova-vncproxy configuration issue

2011-08-30 Thread Vishvananda Ishaya
Hmm, the _ is installed when nova is imported. I'm nots sure what would make it get missed. Is it possible you have an old version of nova installed in your path somewhere that doesn't have an __init__.py that does gettext.install? from nova import flags and similar lines should be installing

Re: [Openstack] Installation errors

2011-08-30 Thread Vishvananda Ishaya
If the instance is going into shutdown, it is having trouble booting for some reason. If you check /var/log/libvirt/qemu/instance-.log, you should see an error message explaining why the image failed to boot. It could be permissions or a bad kernel, but you should get some info there.

Re: [Openstack] Automated Test Suite for OpenStack

2011-08-30 Thread Dan Prince
I Kiran, If you are interested in functionally testing the various openstack API's you might check out the following: https://github.com/rackspace-titan/stacktester (v1.1 OSAPI tests written in Python) https://github.com/dprince/openstack_vpc/tree/master/tests/ruby (v1.0 OSAPI tests usin

[Openstack] nova-vncproxy configuration issue

2011-08-30 Thread Rasika Karunathilaka
Hi Team, I tried configuring nova-vncproxy, but at /usr/bin/nova-vncproxy --vncproxy_wwwroot /home/localadmin/src/noVNC --flagfile=/etc/nova/nova.conf I am getting following error at /var/log/nova/nova-vncproxy.log *2011-08-30 17:39:10,698 CRITICAL nova [-] name '_' is not defined (nova): TR

Re: [Openstack] Automated Test Suite for OpenStack

2011-08-30 Thread Jay Pipes
On Tue, Aug 30, 2011 at 4:34 AM, wrote: > Hello List, Hello! :) > I have been testing OpenStack for a while and would be interested in any > automated test suites that are available. There are a number of them... > On searching what I could find was Soren's presentation at EuroPython-2011 > h

[Openstack] Automated Test Suite for OpenStack

2011-08-30 Thread Kiran . Murari
Hello List,I have been testing OpenStack for a while and would be interested in any automated test suites that are available.On searching what I could find was Soren's presentation at EuroPython-2011http://lanyrd.com/2011/europython/sfwky/Is the test battery that is run against the installed "clou

Re: [Openstack] Error while attaching a Compute node

2011-08-30 Thread Rasika Karunathilaka
Hi Leandra/Team, I set the set foreign_key_checks = 0 ; at mysql DB and then executed; /etc/init.d/nova-compute start However still I am getting the same error on /var/log/nova/nova-compute.log stating; *sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create table 'nova.networ

[Openstack] Error while attaching a Compute node

2011-08-30 Thread Rasika Karunathilaka
Hi Team, When I am trying to attach a compute node into Cloud Control node , I am getting following error on /var/log/nova/nova-compute.log . Server1 is the cloud control node, Server2 is the compute node which I am trying to attach. *2011-08-30 12:16:18+0500 [-] File "/usr/lib/python2.6/dist-

Re: [Openstack] Error while attaching a Compute node

2011-08-30 Thread Leandro Reox
Are running diablo milestone ? There's only 3 ways to get this mysql error : - If the two fields ( field and the foreing field) uses non-compatible field types - If its using “On Delete Set Null” but the field doesnt allow that - The FK name is not unique A quick solution is to