Re: [Openstack] Scalability issue in nova-dhcpbridge

2012-03-19 Thread Vishvananda Ishaya
I believe it is safe to ignore the old leases.  If nova-network has been down 
for a while it could potentially be nice to refresh all of the leases that it 
knows about, but I don't think it will harm anything if you remove it.

Are you running flatdhcp with a single network host on a large install?  I 
would think that multi_host would be a better choice in that case.

There is also a potentially nasty performance issue in linux_net where it 
creates all of the leases.  It is a very expensive operation and needs to be 
reoptimized after the foreign keys were removed from the network tables. 
Currently it is doing 2 database for every active instance in the db.

Vish

On Mar 18, 2012, at 10:42 PM, Anton Blanchard wrote:

 
 Hi,
 
 We are seeing severe boot and delete performance issues with
 FlatDHPManager and a lot of instances.
 
 If I have 200 instances running and boot 1 new instance a kill -HUP
 dnsmasq calls nova-dhcpbridge 201 times, 200 for the existing leases and
 once for the new one.
 
 The 200 events for existing leases end up here in nova-dhcpbridge:
 
 def old_lease(mac, ip_address):
Update just as add lease.
LOG.debug(_(Adopted old lease or got a change of mac))
add_lease(mac, ip_address)
 
 I'm not sure why we need to do this at all. The comment mentions
 tracking a change of MAC and yet add_lease doesn't seem to do anything
 with the MAC parameter.
 
 I can fix my performance problem by ignoring any old leases, but I was
 hoping someone could explain what the purpose is here.
 
 Anton
 
 ___
 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


[Openstack] Quantum 2012.1 RC1 available

2012-03-19 Thread Thierry Carrez
The first release candidate for Quantum 2012.1 (Essex) is now
available at:

https://bugs.launchpad.net/quantum/+milestone/essex-rc1

Unless release-critical issues are found that warrant a release
candidate respin, this RC1 will be formally released as the 2012.1 final
version. You are therefore strongly encouraged to test and validate it.

If you find an issue that could be considered release-critical, please
file it at:

https://bugs.launchpad.net/quantum/+filebug

and tag it essex-rc-potential to bring it to Dan's attention.

The master branch of Quantum is now open for Folsom development,
feature freeze restrictions no longer apply.

NB: Quantum is not a core project for the Essex cycle, therefore it's
not part of OpenStack 2012.1 common release, scheduled for April 5.

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Load balancing and Atlas-LB

2012-03-19 Thread Szymon Grzybowski
Hi,

Where can i find any informations about load balancing in OpenStack? How is
it implemented and where? On wiki I've found something about Atlas-LB. Is
this project finished? Or still in progress? There is no roadmap for it so
it's really hard to find out the progress.

I'm plannig to write master thesis about load balancing algorithms and i'd
like to implement some of them inside OpenStack or as external driver
(according to Atlas-LB presentation), but right now i don't know how to
write one connected to Atlas-LB or even is Atlas-LB still active? Are there
any load balancing algorithms insied OpenStack? Where can i start if i'd
like to do research about load balancing and exact algorithms in OpenStack?

-- 
*Semy*
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quota classes

2012-03-19 Thread Day, Phil
+1

And make the whole combine quota/limits module pluggable -  so that all of 
these per-user configuration items can be managed in a central system (e.g 
keystone)  

-Original Message-
From: openstack-bounces+philip.day=hp@lists.launchpad.net 
[mailto:openstack-bounces+philip.day=hp@lists.launchpad.net] On Behalf Of 
Jay Pipes
Sent: 17 March 2012 16:25
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Quota classes

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 up Repose...

best,
-jay

___
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


Re: [Openstack] Load balancing and Atlas-LB

2012-03-19 Thread Youcef Laribi
Hi Semy,

Yes, the Atlas project is active and is in progress. The codebase for the LBaaS 
service and instructions on setting it up are on github at 
http://github.com/rackspace/atlas-lb. The Atlas spec API 1.1 that is 
implemented by the codebase is documented at 
http://wiki.openstack.org/Atlas-LB. The current code base supports 2 external 
drivers (we call them adapters), and there is a simple interface for adding 
others.

We have weekly meetings every Wednesday at 5:00pm GMT to discuss the project. 
Let me know if you'd like to join the meetings and I'll add you to the invite 
list and send you instructions on the conferencing service we use.

Thanks
Youcef



From: openstack-bounces+youcef.laribi=citrix@lists.launchpad.net 
[mailto:openstack-bounces+youcef.laribi=citrix@lists.launchpad.net] On 
Behalf Of Szymon Grzybowski
Sent: 19 March 2012 10:03
To: openstack@lists.launchpad.net
Subject: [Openstack] Load balancing and Atlas-LB

Hi,

Where can i find any informations about load balancing in OpenStack? How is it 
implemented and where? On wiki I've found something about Atlas-LB. Is this 
project finished? Or still in progress? There is no roadmap for it so it's 
really hard to find out the progress.

I'm plannig to write master thesis about load balancing algorithms and i'd like 
to implement some of them inside OpenStack or as external driver (according to 
Atlas-LB presentation), but right now i don't know how to write one connected 
to Atlas-LB or even is Atlas-LB still active? Are there any load balancing 
algorithms insied OpenStack? Where can i start if i'd like to do research about 
load balancing and exact algorithms in OpenStack?

--
Semy




No virus found in this message.
Checked by AVG - www.avg.comhttp://www.avg.com
Version: 10.0.1416 / Virus Database: 2109/4860 - Release Date: 03/09/12
Internal Virus Database is out of date.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quota classes

2012-03-19 Thread Mark Washenberger
Out of curiosity, why prefer keystone for centrally managing quota groups 
rather than an admin api in nova? From my perspective, a nova admin api would 
save a data migration and preserve nova-manage backwards compatibility. 

Also, since quota clearly isn't an auth-n thing, is keystone way more auth-z 
than I realized?

Day, Phil philip@hp.com said:

 +1
 
 And make the whole combine quota/limits module pluggable -  so that all of 
 these
 per-user configuration items can be managed in a central system (e.g 
 keystone)
 
 -Original Message-
 From: openstack-bounces+philip.day=hp@lists.launchpad.net
 [mailto:openstack-bounces+philip.day=hp@lists.launchpad.net] On Behalf Of 
 Jay
 Pipes
 Sent: 17 March 2012 16:25
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Quota classes
 
 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 up Repose...
 
 best,
 -jay
 
 ___
 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
 



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Keystone Not Logging

2012-03-19 Thread Dolph Mathews
The 'file' handler is missing from your loggers; in other words, logging to a 
file is not enabled, as-is. Try:

[logger_keystone]
level=ERROR
handlers=file
qualname=keystone

-Dolph Mathews

On Mar 19, 2012, at 12:47 AM, Andrew Michael Weiss wei...@purdue.edu wrote:

 Hey Kevin,
 
 I have found that by commenting out the log_config line and adding the 
 following line you can get logging to work:
 
 log_file = /var/log/keystone/keystone.log
 
 I'm not sure how to get logging to work with the log_config file though.
 
 Andrew
 
 
 Sent from my iPhone
 
 
 On Mar 18, 2012, at 16:05, Kevin Jackson ke...@linuxservices.co.uk wrote:
 
 Hi,
 I have Keystone set up (2012.1~rc1~20120316.2145-0ubuntu1) on Ubuntu 12.04 
 B1 and it isn't logging.
 Only when stopping the keystone service then running 'keystone-all' in a 
 terminal do I get to see all the debug output.
 I've checked permissions (/var/log/keystone and keystone.log are owned by 
 keystone user/group) and I've tried the packaged logging.conf.sample (note 
 the ubuntu package ships with this referencing 'glance') to no avail.
 
 /etc/keystone/keystone.conf
 ...
 verbose = True
 debug = True
 log_config = /etc/keystone/logging.conf
 ...
 
 
 /etc/keystone/logging.conf
 [loggers]
 keys=root,keystone,combined
 
 [formatters]
 keys=normal,normal_with_name,debug
 
 [handlers]
 keys=production,file,devel
 
 [logger_root]
 level=NOTSET
 handlers=devel
 
 [logger_keystone]
 level=DEBUG
 handlers=devel
 qualname=keystone
 
 [logger_combined]
 level=DEBUG
 handlers=devel
 qualname=keystone-combined
 
 [handler_production]
 class=handlers.SysLogHandler
 level=ERROR
 formatter=normal_with_name
 args=(('localhost', handlers.SYSLOG_UDP_PORT), 
 handlers.SysLogHandler.LOG_USER)
 
 [handler_file]
 class=FileHandler
 level=DEBUG
 formatter=normal_with_name
 args=('/var/log/keystone/keystone.log', 'w')
 
 [handler_devel]
 class=StreamHandler
 level=NOTSET
 formatter=debug
 args=(sys.stdout,)
 
 [formatter_normal]
 format=%(asctime)s %(levelname)s %(message)s
 
 [formatter_normal_with_name]
 format=(%(name)s): %(asctime)s %(levelname)s %(message)s
 
 [formatter_debug]
 format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s 
 %(message)s
 
 
 
 Is anyone able to help out what's up with this?
 
 Cheers,
 
 Kev
 -- 
 Kevin Jackson
 @itarchitectkev
 ___
 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

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quota classes

2012-03-19 Thread Kevin L. Mitchell
On Sat, 2012-03-17 at 12:24 -0400, Jay Pipes wrote:
 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?

Jesse: I'll point out that they are intimately related; they just have
different names.  You can see the quotas using the novaclient
absolute-limits command.  (Rate limits are different.)

 Oh, yes please! :)
 
 And make it configurable via a REST API, since editing config files 
 ain't the most admin-friendly thang ;)

Quotas are already configurable via an extension, but no CLI command was
available for manipulating them in python-novaclient (although the API
support was there).  My quota classes patch to novaclient adds the CLI
commands as well.
-- 
Kevin L. Mitchell kevin.mitch...@rackspace.com


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Distributed rate-limiting

2012-03-19 Thread Kevin L. Mitchell
On Sat, 2012-03-17 at 12:31 -0400, Jay Pipes wrote:
 Kevin, you've really impressed me. Well documented, well thought-out code.

Yeah, well…I got into the habit of documenting my code well when I wrote
a very large project and discovered I was forgetting how to use its
pieces :)

 I hope you won't mind if I contribute a REST-ful interface for 
 configuration management and status reporting?

Not at all; I designed the limit classes—specifically the limit
attributes—to be easily introspectable for exactly that sort of purpose.
-- 
Kevin L. Mitchell kevin.mitch...@rackspace.com


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] zookeeper problem

2012-03-19 Thread khabou imen
i've tried to change the ticktime value
but i'm still getting exceeded  deadline by 13ms
can any one advice me please
-- 
cordialement,
 Imen Khabou,
Elève Ingénieur en Informatique

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Andrew Weiss
Hey guys,

Was wondering if I could get some help setting up VNC for my instances on
Essex.  I'm confused as to how nova.conf should be configured along with the
differences between the different VNC options, novnc and xvpvnc. When I try
to execute nova get-vnc-console instance_id vnctype I don't get a
response and I can't seem to find which log file would give me additional
guidance in regards to VNC issues.

While SSH is the preferred option to accessing my instances, I do want to
ensure that VNC is available as well.

Thanks!


Andrew Weiss
wei...@purdue.edu mailto:wei...@purdue.edu
LinkedIn | http://www.linkedin.com/in/weissa
http://www.linkedin.com/in/weissa


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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 Mon, Mar 19, 2012 at 9:25 AM, Andrew Weiss wei...@purdue.edu wrote:

 Hey guys,

 Was wondering if I could get some help setting up VNC for my instances on
 Essex.  I'm confused as to how nova.conf should be configured along with
 the differences between the different VNC options, novnc and xvpvnc. When I
 try to execute nova get-vnc-console instance_id vnctype I don't get a
 response and I can't seem to find which log file would give me additional
 guidance in regards to VNC issues.

 While SSH is the preferred option to accessing my instances, I do want to
 ensure that VNC is available as well.

 Thanks!

 *
 *

 *Andrew Weiss*

 wei...@purdue.edu

 LinkedIn | http://www.linkedin.com/in/weissa

 ___
 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


Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-19 Thread John Garbutt
Hi,

We actively working on improving these guides. Hopefully they will become more 
bullet proof very soon!

We are working on getting the wiki up to scratch as a first step:
http://wiki.openstack.org/XenServerhttp://wiki.openstack.org/XenServer/XenXCPAndXenServer

I have not seen this error myself. How did you install the xva image? Did you 
use build_domU.sh? Where you running as route when doing build_xva?

Can you give me the output of xe vm-param-list for your VM? I can compare that 
with mine to see if there are any settings that could be causing the issue 
(like not being in the correct PV-mode, or similar, although not seen that 
cause a kernel panic myself)

Thanks,
John

From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
[mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
Behalf Of Kieran Evans
Sent: 17 March 2012 4:38
To: openstack@lists.launchpad.net
Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic

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/devstack/blob/master/tools/xen/README.md

Wether on XenServer or XCP, I always seem to hit the same issue. When the 
ALLINONE VM is fired up, it shuts down after a few seconds with a kernel panic 
( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
domU_multi scripts too.

A note, in case it may affect the build scripts somehow, For external storage, 
rather than using a different machine, or external USB, I've mounted /root to 
an NFS share before running prepare_dom0.sh.

We've currently got a Diablo Openstack installation up and running using 
StackOps, but I'm currently trying out essex on some spare machines (both to 
get to know it, and an attempt to see if running with Xen is of any advantage 
to us).

Thanks

/Kieran


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-19 Thread Kieran Evans
Hi,

I used build_domU.sh (also tried the multi scripts, but got the same error). I 
was root for everything.

I'll have to hold off on sending output. The servers are mid way through a 
reinstall. 

Thanks

/Kieran

On 19 Mar 2012, at 16:46, John Garbutt wrote:

 Hi,
  
 We actively working on improving these guides. Hopefully they will become 
 more bullet proof very soon!
  
 We are working on getting the wiki up to scratch as a first step:
 http://wiki.openstack.org/XenServer
  
 I have not seen this error myself. How did you install the xva image? Did you 
 use build_domU.sh? Where you running as route when doing build_xva?
  
 Can you give me the output of xe vm-param-list for your VM? I can compare 
 that with mine to see if there are any settings that could be causing the 
 issue (like not being in the correct PV-mode, or similar, although not seen 
 that cause a kernel panic myself)
  
 Thanks,
 John
  
 From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
 [mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
 Behalf Of Kieran Evans
 Sent: 17 March 2012 4:38
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 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/devstack/blob/master/tools/xen/README.md
  
 Wether on XenServer or XCP, I always seem to hit the same issue. When the 
 ALLINONE VM is fired up, it shuts down after a few seconds with a kernel 
 panic ( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
 domU_multi scripts too.
  
 A note, in case it may affect the build scripts somehow, For external 
 storage, rather than using a different machine, or external USB, I've mounted 
 /root to an NFS share before running prepare_dom0.sh.
  
 We've currently got a Diablo Openstack installation up and running using 
 StackOps, but I'm currently trying out essex on some spare machines (both to 
 get to know it, and an attempt to see if running with Xen is of any advantage 
 to us).
  
 Thanks
  
 /Kieran
  
  

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


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*

 wei...@purdue.edu

 LinkedIn | http://www.linkedin.com/in/weissa

 ___
 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


Re: [Openstack] zookeeper problem

2012-03-19 Thread Yun Mao
Hi,

As far as I know, OpenStack doesn't use zookeeper yet. Is this
something you work on as an extra component? Nova/glance/keystone uses
eventlet, which doesn't work well with the default zookeeper python
lib. We have some success with this library I wrote:
https://github.com/maoy/python-evzookeeper. Hopefully that helps..


Yun

On Mon, Mar 19, 2012 at 11:26 AM, khabou imen imenkh...@gmail.com wrote:
 i've tried to change the ticktime value
 but i'm still getting exceeded  deadline by 13ms
 can any one advice me please
 --
 cordialement,
  Imen Khabou,
 Elève Ingénieur en Informatique

 ___
 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


[Openstack] Essex keystone with remote glance endpoint

2012-03-19 Thread Jason Hedden
When following the documentation at https://review.openstack.org/#change,5190 
I'm having trouble getting Glance to authenticate via Keystone.  I have this 
working when everything is installed on a single system, but can't seem to find 
any winning combinations to get a multi-host installation working.

# glance  -I adminUser -K ... -S keystone -N http://192.168.131.141:5000/v2.0' 
index
Failed to show index. Got error:
Response from Keystone does not contain a Glance endpoint.

Keystone appears to be working, or at least passing basic tests:
keystone # curl -d '{auth: {tenantName: service, 
passwordCredentials:{username: glance, password: glance}}}' -H 
Content-type: application/json http://192.168.131.141:35357/v2.0/tokens | 
python -mjson.tool
http://paste.openstack.org/show/11078/

Host details:
Keystone host (192.168.131.141):
keystone # lsb_release -d; uname -a; dpkg -l | grep keystone
Description:Ubuntu precise (development branch)
Linux ubuntu 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux
ii  keystone 2012.1~rc1~20120316.2145-0ubuntu1 
OpenStack identity service - Daemons
ii  python-keystone  2012.1~rc1~20120316.2145-0ubuntu1 
OpenStack identity service - Python library
ii  python-keystoneclient2012.1~rc1~20120310.0-0ubuntu1Client 
libary for Openstack Keystone API

Glance host (192.168.131.142):
glance # lsb_release -d; uname -a; dpkg -l | egrep glance|keystone
Description:Ubuntu precise (development branch)
Linux ubuntu 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux
ii  glance   2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - Daemons
ii  glance-api   2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - API
ii  glance-client2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - Registry
ii  glance-common2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - Common
ii  glance-registry  2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - Registry
ii  python-glance2012.1~rc1~20120316.1354-0ubuntu1 
OpenStack Image Registry and Delivery Service - Python library
ii  python-keystone  2012.1~rc1~20120316.2145-0ubuntu1 
OpenStack identity service - Python library
ii  python-keystoneclient2012.1~rc1~20120310.0-0ubuntu1Client 
libary for Openstack Keystone API

Keystone configuration @ http://paste.openstack.org/show/11080/
Glance configuration:
#/etc/glance/glance-[api | registry]-paste.ini
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
service_protocol = http
service_host = 192.168.131.141
service_port = 5000
auth_host = 192.168.131.141
auth_port = 35357
auth_protocol = http
auth_uri = http://192.168.131.141:5000/
admin_tenant_name = service
admin_user = glance
admin_password = glance

#/etc/glance/glance-[api | registry].conf
[paste_deploy]
flavor = keystone

Thanks,
-Jason



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Essex keystone with remote glance endpoint

2012-03-19 Thread Justin Santa Barbara

 # glance  -I adminUser -K ... -S keystone -N
 http://192.168.131.141:5000/v2.0' index
 Failed to show index. Got error:
 Response from Keystone does not contain a Glance endpoint.


I think that means that the glance client can't find a suitable glance
endpoint in the response from Keystone.  Relevant code is in get_endpoint
around line 200 of glance/common/auth.py

So, I don't think you're ever hitting the glance server.

Keystone appears to be working, or at least passing basic tests:
 keystone # curl -d '{auth: {tenantName: service,
 passwordCredentials:{username: glance, password: glance}}}' -H
 Content-type: application/json http://192.168.131.141:35357/v2.0/tokens| 
 python -mjson.tool
 http://paste.openstack.org/show/11078/


The response (in the paste) looks good to me.  If you're passing in a
region (OS_REGION_NAME or via the '-R/--region' command line) then maybe
this is wrong?

If not, you could try this curl with the same credentials as you're using
with the glance CLI tool, to verify that the glance endpoint is being
returned correctly here also.

Justin
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Essex keystone with remote glance endpoint

2012-03-19 Thread Jason Hedden

On Mar 19, 2012, at 12:58 PM, Jay Pipes wrote:

 On 03/19/2012 01:13 PM, Jason Hedden wrote:
 When following the documentation at 
 https://review.openstack.org/#change,5190 I'm having trouble getting Glance 
 to authenticate via Keystone.  I have this working when everything is 
 installed on a single system, but can't seem to find any winning 
 combinations to get a multi-host installation working.
 
 # glance  -I adminUser -K ... -S keystone -N 
 http://192.168.131.141:5000/v2.0' index
 Failed to show index. Got error:
 Response from Keystone does not contain a Glance endpoint.
 
 Try specifying the tenant name with -T TENANT_NAME.

With both the admin, and glance user I get:
glance # glance -T service -I glance -K glance -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Not authorized to make this request. Check your credentials (OS_AUTH_USER, 
OS_AUTH_KEY, …).

glance # glance -T openstackDemo -I adminUser -K ... -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Not authorized to make this request. Check your credentials (OS_AUTH_USER, 
OS_AUTH_KEY, …).

Just to verify that I'm speaking with keystone at all:
Without the -T:
glance # glance -I adminUser -K ... -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Failed to show index. Got error:
Response from Keystone does not contain a Glance endpoint.

With a bad password and no -T:
Failed to show index. Got error:
Response from Keystone does not contain a Glance endpoint.
glance # glance -I adminUser -K blah -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Not authorized to make this request. Check your credentials (OS_AUTH_USER, 
OS_AUTH_KEY, ...).
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [OpenStack] using xenapi hypervisor

2012-03-19 Thread Eduardo Nunes
I wanna use the xenpi as a hypervisor, i see there are many tutorials, but
almost all of then is using the devstack, i don't wanna use the devstack,
is there a tutorial about how i create a domU, what image i sould use on
the domU, an the conf of xen?
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Essex keystone with remote glance endpoint

2012-03-19 Thread Jason Hedden

On Mar 19, 2012, at 1:07 PM, Justin Santa Barbara wrote:

 # glance  -I adminUser -K ... -S keystone -N 
 http://192.168.131.141:5000/v2.0' index
 Failed to show index. Got error:
 Response from Keystone does not contain a Glance endpoint.
 
 I think that means that the glance client can't find a suitable glance 
 endpoint in the response from Keystone.  Relevant code is in get_endpoint 
 around line 200 of glance/common/auth.py
 
 So, I don't think you're ever hitting the glance server.

I think you're correct. I've tried many different endpoints, but nothing seems 
to work. 
 
 Keystone appears to be working, or at least passing basic tests:
 keystone # curl -d '{auth: {tenantName: service, 
 passwordCredentials:{username: glance, password: glance}}}' -H 
 Content-type: application/jsonhttp://192.168.131.141:35357/v2.0/tokens | 
 python -mjson.tool
 http://paste.openstack.org/show/11078/
 
 The response (in the paste) looks good to me.  If you're passing in a region 
 (OS_REGION_NAME or via the '-R/--region' command line) then maybe this is 
 wrong?
 
 If not, you could try this curl with the same credentials as you're using 
 with the glance CLI tool, to verify that the glance endpoint is being 
 returned correctly here also.
 

Glance CLI with the glance credentials:
glance # glance  -I glance -K glance -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Failed to show index. Got error:
Response from Keystone does not contain a Glance endpoint.

curl with glance credentials: http://paste.openstack.org/show/11078/

Glance CLI with admin credentials:
glance # glance -I adminUser -K ... -S keystone -N 
http://192.168.131.141:5000/v2.0 index
Failed to show index. Got error:
Response from Keystone does not contain a Glance endpoint.

curl with admin user: http://paste.openstack.org/show/11103/

Thanks,
Jason
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Keystone Not Logging

2012-03-19 Thread Adam Gandelman

Kevin, Dolph--

Getting this working out-of-the-box has been a TODO of mine for a 
while.  I've filed https://bugs.launchpad.net/keystone/+bug/959610  to 
track.Adding the example dolph mentioned did not seem to get any log 
output generated.


@Kevin- The logging.conf installed in the current Ubuntu packages is the 
logging.conf that was previously shipped in the pre-KSL keystone 
branch.  The current logging.conf.sample in the source tree seems to be 
copied from glance.  This is also installed at 
/etc/keystone/logging.conf.sample alongside the version we maintain in 
packaging.


Adam


On 03/18/2012 01:03 PM, Kevin Jackson wrote:

Hi,
I have Keystone set up (2012.1~rc1~20120316.2145-0ubuntu1) on Ubuntu 
12.04 B1 and it isn't logging.
Only when stopping the keystone service then running 'keystone-all' in 
a terminal do I get to see all the debug output.
I've checked permissions (/var/log/keystone and keystone.log are owned 
by keystone user/group) and I've tried the packaged 
logging.conf.sample (note the ubuntu package ships with this 
referencing 'glance') to no avail.


/etc/keystone/keystone.conf
...
verbose = True
debug = True
log_config = /etc/keystone/logging.conf
...


/etc/keystone/logging.conf
[loggers]
keys=root,keystone,combined

[formatters]
keys=normal,normal_with_name,debug

[handlers]
keys=production,file,devel

[logger_root]
level=NOTSET
handlers=devel

[logger_keystone]
level=DEBUG
handlers=devel
qualname=keystone

[logger_combined]
level=DEBUG
handlers=devel
qualname=keystone-combined

[handler_production]
class=handlers.SysLogHandler
level=ERROR
formatter=normal_with_name
args=(('localhost', handlers.SYSLOG_UDP_PORT), 
handlers.SysLogHandler.LOG_USER)


[handler_file]
class=FileHandler
level=DEBUG
formatter=normal_with_name
args=('/var/log/keystone/keystone.log', 'w')

[handler_devel]
class=StreamHandler
level=NOTSET
formatter=debug
args=(sys.stdout,)

[formatter_normal]
format=%(asctime)s %(levelname)s %(message)s

[formatter_normal_with_name]
format=(%(name)s): %(asctime)s %(levelname)s %(message)s

[formatter_debug]
format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s 
%(message)s




Is anyone able to help out what's up with this?

Cheers,

Kev
--
Kevin Jackson
@itarchitectkev


___
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


[Openstack] Problem about making swift use keystone to auth

2012-03-19 Thread jacky wang
hi,
   i want to make  swift use keystone to auth.
   i config as here  https://github.com/openstack/keystone
https://github.com/openstack/keystone  Swift
Integration - Quick Start
but at here swift-init proxy start
object-server already started...
Traceback (most recent call last):
  File /usr/bin/swift-proxy-server, line 22, in module
run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)
  File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 122,
in run_wsgi
loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 204,
in loadapp
return loadobj(APP, uri, name=name, **kw)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 224,
in loadobj
global_conf=global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 248,
in loadcontext
global_conf=global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 278,
in _loadconfig
return loader.get_context(object_type, name, global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 405,
in get_context
global_additions=global_additions)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 503,
in _pipeline_app_context
for name in pipeline[:-1]]
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 409,
in get_context
section)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 431,
in _context_from_use
object_type, name=use, global_conf=global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 361,
in get_context
global_conf=global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 248,
in loadcontext
global_conf=global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 285,
in _loadegg
return loader.get_context(object_type, name, global_conf)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 561,
in get_context
object_type, name=name)
  File /usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py, line 600,
in find_egg_entry_point
for prot in protocol_options] or '(no entry points)'
LookupError: Entry point 'tokenauth' not found in egg 'keystone' (dir:
/root/keystone; protocols: paste.filter_factory, paste.filter_app_factory;
entry_points: )
 
is there anybody can help me ?
 
thanks

 

 

jacky wang 

 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Keystone Not Logging

2012-03-19 Thread Dolph Mathews
With: https://review.openstack.org/#change,5528

Out of the box:

1) uncomment log_config in keystone.conf
2) Run ./bin/keystone-all (with proposed logging configuration, no output
will occur on the CLI)
3) ./keystone.log will be produced containing WARNING / ERROR / CRITICAL.

On Mon, Mar 19, 2012 at 2:03 PM, Adam Gandelman ad...@canonical.com wrote:

  Kevin, Dolph--

 Getting this working out-of-the-box has been a TODO of mine for a while.
 I've filed https://bugs.launchpad.net/keystone/+bug/959610  to track.
 Adding the example dolph mentioned did not seem to get any log output
 generated.

 @Kevin- The logging.conf installed in the current Ubuntu packages is the
 logging.conf that was previously shipped in the pre-KSL keystone branch.
 The current logging.conf.sample in the source tree seems to be copied from
 glance.  This is also installed at /etc/keystone/logging.conf.sample
 alongside the version we maintain in packaging.

 Adam



 On 03/18/2012 01:03 PM, Kevin Jackson wrote:

 Hi,
 I have Keystone set up (2012.1~rc1~20120316.2145-0ubuntu1) on Ubuntu 12.04
 B1 and it isn't logging.
 Only when stopping the keystone service then running 'keystone-all' in a
 terminal do I get to see all the debug output.
 I've checked permissions (/var/log/keystone and keystone.log are owned by
 keystone user/group) and I've tried the packaged logging.conf.sample (note
 the ubuntu package ships with this referencing 'glance') to no avail.

 /etc/keystone/keystone.conf
 ...
 verbose = True
 debug = True
 log_config = /etc/keystone/logging.conf
 ...


 /etc/keystone/logging.conf
 [loggers]
 keys=root,keystone,combined

 [formatters]
 keys=normal,normal_with_name,debug

 [handlers]
 keys=production,file,devel

 [logger_root]
 level=NOTSET
 handlers=devel

 [logger_keystone]
 level=DEBUG
 handlers=devel
 qualname=keystone

 [logger_combined]
 level=DEBUG
 handlers=devel
 qualname=keystone-combined

 [handler_production]
 class=handlers.SysLogHandler
 level=ERROR
 formatter=normal_with_name
 args=(('localhost', handlers.SYSLOG_UDP_PORT),
 handlers.SysLogHandler.LOG_USER)

 [handler_file]
 class=FileHandler
 level=DEBUG
 formatter=normal_with_name
 args=('/var/log/keystone/keystone.log', 'w')

 [handler_devel]
 class=StreamHandler
 level=NOTSET
 formatter=debug
 args=(sys.stdout,)

 [formatter_normal]
 format=%(asctime)s %(levelname)s %(message)s

 [formatter_normal_with_name]
 format=(%(name)s): %(asctime)s %(levelname)s %(message)s

 [formatter_debug]
 format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s
 %(message)s



 Is anyone able to help out what's up with this?

 Cheers,

 Kev
 --
 Kevin Jackson
 @itarchitectkev


 ___
 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


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [openstack] nova-billing in ubuntu

2012-03-19 Thread Leandro Reox
Try this for Horizon:
http://openstackgd.wordpress.com/2012/01/24/billing-plugin-for-horizon/

Regards
Lean

On Mon, Mar 19, 2012 at 2:26 PM, Lucian Thomaz luciantho...@hotmail.comwrote:

  I'm searching about billing in openstack and I found nova-billing. But in
 the github page of this tool https://github.com/griddynamics/nova-billingthey 
 use it with fedora or something like that. I tried convert the rpm
 file using alien in ubuntu and I tried install that, but I had no sucess.
 Has anyone done this?

 Lucian Thomaz

 ___
 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


Re: [Openstack] [openstack] nova-billing in ubuntu

2012-03-19 Thread Lucian Thomaz

Thanks Lean,I already saw this, but I'm not working with Horizon at the moment, 
so I want to try to use that without it.Have you worked with that? Do you have 
another link or tutorial that works fine?

Lucian Thomaz

Date: Mon, 19 Mar 2012 17:07:39 -0300
Subject: Re: [Openstack] [openstack] nova-billing in ubuntu
From: leandro.r...@gmail.com
To: luciantho...@hotmail.com
CC: openstack@lists.launchpad.net

Try this for Horizon: 
http://openstackgd.wordpress.com/2012/01/24/billing-plugin-for-horizon/
Regards
Lean


On Mon, Mar 19, 2012 at 2:26 PM, Lucian Thomaz luciantho...@hotmail.com wrote:





I'm searching about billing in openstack and I found nova-billing. But in the 
github page of this tool https://github.com/griddynamics/nova-billing
 they use it with fedora or something like that. I tried convert the rpm
 file using alien in ubuntu and I tried install that, but I had no 
sucess. Has anyone done this?

Lucian Thomaz
  

___

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


[Openstack] Update on the Design Summit - March 19

2012-03-19 Thread Stefano Maffulli
hello folks,

a brief update on the Design Summit. The good news is that all the
people that have asked us until today, will get an invite to the summit.
Now the details.

We had originally planned to get 350 people at the Summit and we booked
capacity in the hotel accordingly. We have booked 4 medium size rooms
for summit blueprints tracks, one small room for breakout, one large
room for unconference track, one ballroom for plenary session.

Due to the incredible popularity of the summit, we had to raise the
original capacity while at the same time try hard not disrupt the work
of PTLs to define Folsom roadmap. They need rooms with few knowledgeable
people in and make decisions there.

To avoid having the rooms for discussing blueprints super-filled and
facilitate productive discussions, we are rearranging the usage of the
rooms we booked and adding a new track, OpenStack Ecosystem. This is to
provide interesting topics for all the people that will not have a
specific interest in discussing otherwise boring blueprints. Lloyd
Dewolkf and Anne Gentle have volunteered to coordinate the agenda for
this track and recruit speakers. They have the delicate job of making
the track interesting without cannibalizing topics from the conference.
Lloyd Dewolf is also coordinating the Unconference, since we hope that
track will also provide solid content for all new members of OpenStack
developers' community. We hope to have plenty of content for all
participants and have productive meetings.

The not so good news is that we don't have any space left to maneuver
further: the extra capacity we added is already filled.

I would like to remind all that this is a reason to be proud of: Folsom
summit is the most popular we had so far. We broke the record of
participants already and in San Francisco we will welcome a lot of new
companies and people in this large community. Go on and submit your
proposal for the Ecosystem track on http://summit.openstack.org/

If you have questions let me know.
Cheers,
stef


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [OpenStack] using xenapi hypervisor

2012-03-19 Thread Todd Deshane
On Mon, Mar 19, 2012 at 2:19 PM, Eduardo Nunes eduardo.ke...@gmail.com wrote:
 I wanna use the xenpi as a hypervisor, i see there are many tutorials, but
 almost all of then is using the devstack, i don't wanna use the devstack, is
 there a tutorial about how i create a domU, what image i sould use on the
 domU, an the conf of xen?

Some more general documentation has been started here:
https://review.openstack.org/#change,5419

The devstack scripts are written in bash and include example
configurations within them so that you can make your own custom setups
and scripts based on them.

There are also chef recipes for working with XenServer here:
https://github.com/openstack/openstack-chef/tree/master/cookbooks/xenserver

If you look carefully at the individual devstack scripts there are
techniques to build stage files, build XVA files, etc.

The documentation linked from http://wiki.openstack.org/XenServer is
still work in progress, but is written by the actual developers that
are making all of this work. The latest devstack scripts are being
used and tested by these developers as well.

The compute manual, devstack, chef scripts, etc. will evolve over time
to include more details and even more information, but as things are
built up, you should just ask if you don't understand something so
that we can explain and then include more in the documentation.

Hope that helps.

Thanks,
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://blog.xen.org/
http://wiki.xen.org/

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quota classes

2012-03-19 Thread Day, Phil
On 03/19/2012 10:42 AM, Mark Washenberger wrote:
 Out of curiosity, why prefer keystone for centrally managing quota groups 
 rather than an admin api in nova? From my perspective, a nova admin api 
 would save a data migration and preserve nova-manage backwards compatibility.

Because more services than Nova can/should have Quotas/limits. Glance would 
like to piggy back on some common quota code if possible, instead of inventing 
something new :)

And more than one Nova instance can be using the same central user management 
system.For example if I have a number of separate Nova instances I'd like 
to not have to manage the quota settings for a user separately in each one.

 Also, since quota clearly isn't an auth-n thing, is keystone way more auth-z 
 than I realized?

RBAC and other functionality planned for Keystone is all about auth-z.

But, that said, I would not be opposed to having the quota/limits stuff 
outside of Keystone. I think Kevin's Turnstile is a pretty good solution that 
offers middleware that does distributed ratelimiting in a flexible 
architecture and has some nice advantages over the Swift ratelimit middleware, 
including having a control thread that allows admins to reconfigure the 
ratelimit middleware without restarting the service that houses the middleware 
-- just send a 
message to the control daemon's pubsub channel...

I agree it doesn't have to Keystone - what I meant was that it should be 
possible to have a system outside of Nova manage these per-user settings, given 
that with Keystone users/projects are in effect foreign keys to entities who's 
life cycle is manages elsewhere.

Phil

 Day, Philphilip@hp.com  said:

 +1

 And make the whole combine quota/limits module pluggable -  so that 
 all of these per-user configuration items can be managed in a 
 central system (e.g keystone)

 -Original Message-
 From: openstack-bounces+philip.day=hp@lists.launchpad.net
 [mailto:openstack-bounces+philip.day=hp@lists.launchpad.net] On 
 Behalf Of Jay Pipes
 Sent: 17 March 2012 16:25
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Quota classes

 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 up Repose...

 best,
 -jay

 ___
 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




 ___
 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

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Keystone's Swift Integration

2012-03-19 Thread Maru Newby
I'd like to write unit tests for keystone.middleware.swift_auth in advance of 
some functional changes (adding support for unauthenticated container sync and 
referrer access).  It appears that swift_auth lacks unit tests, though.  Is 
this due to its dependency on swift, or is there another reason?

Given that untested code is difficult to maintain, what would the best option 
be to add tests for swift_auth?  Ideally the module would just move to the 
swift repo, but if for some reason that's not an option, I'm prepared to use 
stubs.

Thanks,


Maru

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Andrew Weiss
Hi Anthony,

So I figured out the issue I was having. I was using the nova-vncproxy
Precise rc1 packages, however nova-consoleauth was not included. Instead, I
simply pulled the source from Git.

Only other issue now is that the access URL that is being returned uses the
127.0.0.1 host.  Even after I set the the following flags it still won't
change the host to the IP address I want:

--novncproxy_base_url=http://192.168.10.1:6080/vnc_auto.html
--novncproxy_port=6080
--novncproxy_host=192.168.10.1

When I execute nova get-vnc-console server id novnc I get an access URL
back, but it is using the host 127.0.0.1 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:  openstack@lists.launchpad.net openstack@lists.launchpad.net
Subject:  Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

 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
 wei...@purdue.edu mailto:wei...@purdue.edu
 LinkedIn | http://www.linkedin.com/in/weissa
 http://www.linkedin.com/in/weissa
 
 ___
 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


Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Adam Gandelman

On 03/19/2012 09:04 PM, Andrew Weiss wrote:

Hi Anthony,

So I figured out the issue I was having. I was using the nova-vncproxy 
Precise rc1 packages, however nova-consoleauth was not included. 
Instead, I simply pulled the source from Git.


Only other issue now is that the access URL that is being returned 
uses the 127.0.0.1 host.  Even after I set the the following flags it 
still won't change the host to the IP address I want:


--novncproxy_base_url=http://192.168.10.1:6080/vnc_auto.html
--novncproxy_port=6080
--novncproxy_host=192.168.10.1

When I execute nova get-vnc-console server id novnc I get an 
access URL back, but it is using the host 127.0.0.1 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



Andrew--

Packaging has been fix to properly install nova-consoleauth as its own 
binary package (its currently coupled with nova-console), should be 
updated in precise with the next upload (presumably rc1) [1]  However, I 
had the same results trying to set the base url flag, perhaps that is an 
unrelated nova bug.


Adam

[1] https://bugs.launchpad.net/bugs/959426
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] HATEOAS Question

2012-03-19 Thread Luis Gervaso
Hi,

Can anyone explain why the reason why do bookmark links not include the api
version?

or

is this a bug?

i.e:

links=[

Link [rel=self,
href=*http://192.168.1.52:8774/v2/*7e8b7cd65def4a29957b279f965ec5c5/servers/96347f55-9b19-47bc-bbfd-96edbc6c9713,
type=null],

Link [rel=bookmark,
href=*http://192.168.1.52:8774/*7e8b7cd65def4a29957b279f965ec5c5/servers/96347f55-9b19-47bc-bbfd-96edbc6c9713,
type=null]]

Regards

-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO  CTO
mobile: (+34) 627983344
luis@ luis.gerv...@gmail.comwoorea.es
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

2012-03-19 Thread Anthony Young
On Mon, Mar 19, 2012 at 9:04 PM, Andrew Weiss wei...@purdue.edu wrote:

 Hi Anthony,

 So I figured out the issue I was having. I was using the nova-vncproxy
 Precise rc1 packages, however nova-consoleauth was not included. Instead, I
 simply pulled the source from Git.

 Only other issue now is that the access URL that is being returned uses
 the 127.0.0.1 host.  Even after I set the the following flags it still
 won't change the host to the IP address I want:

 --novncproxy_base_url=http://192.168.10.1:6080/vnc_auto.html


The docs are incorrect here - this flag must be set on your compute hosts,
not for nova-novncproxy.  I put a review for a doc change to help clarify
this: https://review.openstack.org/5550

A




 --novncproxy_port=6080
 --novncproxy_host=192.168.10.1

 When I execute nova get-vnc-console server id novnc I get an access
 URL back, but it is using the host 127.0.0.1 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: openstack@lists.launchpad.net openstack@lists.launchpad.net
 Subject: Re: [Openstack] Configuring Nova VNC Proxy_Essex_rc1

 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*

 wei...@purdue.edu

 LinkedIn | http://www.linkedin.com/in/weissa

 ___
 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


[Openstack-poc] Update on the Design Summit - March 19

2012-03-19 Thread Stefano Maffulli
hello folks,

a brief update on the Design Summit. The good news is that all the
people that have asked us until today, will get an invite to the summit.
Now the details.

We had originally planned to get 350 people at the Summit and we booked
capacity in the hotel accordingly. We have booked 4 medium size rooms
for summit blueprints tracks, one small room for breakout, one large
room for unconference track, one ballroom for plenary session.

Due to the incredible popularity of the summit, we had to raise the
original capacity while at the same time try hard not disrupt the work
of PTLs to define Folsom roadmap. They need rooms with few knowledgeable
people in and make decisions there.

To avoid having the rooms for discussing blueprints super-filled and
facilitate productive discussions, we are rearranging the usage of the
rooms we booked and adding a new track, OpenStack Ecosystem. This is to
provide interesting topics for all the people that will not have a
specific interest in discussing otherwise boring blueprints. Lloyd
Dewolkf and Anne Gentle have volunteered to coordinate the agenda for
this track and recruit speakers. They have the delicate job of making
the track interesting without cannibalizing topics from the conference.
Lloyd Dewolf is also coordinating the Unconference, since we hope that
track will also provide solid content for all new members of OpenStack
developers' community. We hope to have plenty of content for all
participants and have productive meetings.

The not so good news is that we don't have any space left to maneuver
further: the extra capacity we added is already filled.

I would like to remind all that this is a reason to be proud of: Folsom
summit is the most popular we had so far. We broke the record of
participants already and in San Francisco we will welcome a lot of new
companies and people in this large community. Go on and submit your
proposal for the Ecosystem track on http://summit.openstack.org/

If you have questions let me know.
Cheers,
stef


___
Mailing list: https://launchpad.net/~openstack-poc
Post to : openstack-poc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack-poc
More help   : https://help.launchpad.net/ListHelp