Re: [Openstack] euca2ools: Failure communicating with keystone (Essex on Ubuntu 12.04 B1)

2012-03-17 Thread Kevin Jackson
Given the stack trace for doing something that was seemingly normal, I've raised a bug report on it. https://bugs.launchpad.net/keystone/+bug/958135 Kev On 17 March 2012 18:33, Kevin Jackson wrote: > Ah, one more thing - noticed this in keystone (there is an error after > all): > > Summary:

Re: [Openstack] euca2ools: Failure communicating with keystone (Essex on Ubuntu 12.04 B1)

2012-03-17 Thread Kevin Jackson
Ah, one more thing - noticed this in keystone (there is an error after all): Summary: File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 350, in authenticate for role_id in metadata_ref.get('roles', []): UnboundLocalError: local variable 'metadata_ref' referenced before assign

Re: [Openstack] Distributed rate-limiting

2012-03-17 Thread Kiall Mac Innes
I was just thinking about why redis was chosen over memcache.. Ignoring any capability differences, service and technology sprawl was the first thing that crossed my mind. Is redis providing more than the, more then likely preexisting, memcache and rabbitmq combination? Thanks, Kiall Sent from

Re: [Openstack] Distributed rate-limiting

2012-03-17 Thread John Dickinson
If you're looking for wsgi rate limiting, take a look at swift's rate limiting middleware. It's distributed, simple (uses memcached to keep track of what's going on), supports multiple tiers of rate limiting (with interpolation between them), and white/black lists. While swift's rate limiting i

[Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-17 Thread Kieran Evans
Hi all, I'm not sure if this is the right place for this (and if not, can anyone point out where). I've used the devstack scripts to try to set up Openstack on both XenServer 6.0 and XCP 1.5 using the following guides: http://wiki.xen.org/wiki/XCP_DevStack https://github.com/openstack-dev/devs

Re: [Openstack] Distributed rate-limiting

2012-03-17 Thread Jay Pipes
Rock. On. Kevin, you've really impressed me. Well documented, well thought-out code. I hope you won't mind if I contribute a REST-ful interface for configuration management and status reporting? Best, -jay On 03/16/2012 05:45 PM, Kevin L. Mitchell wrote: Howdy, folks. I've been working on

Re: [Openstack] Quota classes

2012-03-17 Thread Jay Pipes
On 03/16/2012 07:02 PM, Jesse Andrews wrote: There is the concept of "limits" that are very similar. Should we align quotas& limits? Oh, yes please! :) And make it configurable via a REST API, since editing config files ain't the most admin-friendly thang ;) /me waits for Jorge to bring u

Re: [Openstack] euca2ools: Failure communicating with keystone (Essex on Ubuntu 12.04 B1)

2012-03-17 Thread Kevin Jackson
Thanks gents, I've updated my resource files to include the new style envvars... but I suspect that must affect nova client only in this case. The line is indeed present to keystone in my nova.conf. When running euca commands and keystone-all in a console so I see all the debug output, I don't se

[Openstack] nova-xcp-network plugin searching for a xapi0 interface

2012-03-17 Thread Thomas Goirand
Hi, When I start instances with Nova, using XCP on a Debian dom0, it seems that the Nova XenAPI plugin needs to access to a xapi0 network interface. If it's not their, the plugin just fails, and there's a python stack dump. So I have created a bridge called xapi0 on my dom0, and now I can start i

Re: [Openstack] dnsmasq: cannot run lease-init script /usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: No such file or directory

2012-03-17 Thread Thomas Goirand
On 03/17/2012 06:08 PM, Ghe Rivero wrote: > Hi Thomas, > you can use the flag: > dhcpbridge=/usr/bin/nova-dhcpbridge > in nova.conf. > > Ghe Rivero Ok, I'll do that, thanks! However, I really think that by default this should be corrected. I feels really weird that nova is trying to search a

Re: [Openstack] dnsmasq: cannot run lease-init script /usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: No such file or directory

2012-03-17 Thread Ghe Rivero
Hi Thomas, you can use the flag: dhcpbridge=/usr/bin/nova-dhcpbridge in nova.conf. Ghe Rivero On 3/16/12, Thomas Goirand wrote: > Hi, > > When running with the following nova.conf: > > --sql_connection=mysql://nova:admin@127.0.0.1/nova > --novncproxy_base_url=http://:6080/vnc_auto.html > --ra