41 Commits

Author SHA1 Message Date
Jenkins
fd9515e5b3 Merge "notify calling process we are ready to serve" 2012-05-18 17:34:20 +00:00
Rafael Durán Castañeda
05d6150fe9 Added 'NormalizingFilter' middleware.
Fixes bug 956954.

Change-Id: Ib5995a01439e564fcb27682976e8e27c8bb7d0d1
2012-05-15 13:39:10 +02:00
Derek Higgins
6c5f7d9e10 notify calling process we are ready to serve
Fixes bug 980037

Service managers starting keystone-all have no way of being notified
when the service is ready to accept connections. This commit allows
a configurable command to be called when we are ready e.g.
for systemd setting the statup type of a service unit to "notify" and setting
onready    = systemd-notify --ready
in keystone.conf, would notify a waiting systemd that we are ready to
serve

In an automated envirnment (e.g. puppet) this will allow the startup of
the keystone-all service (with systemctl for example) directly followed
by usage of the keystone client without the need for a sleep (or retry)
while we are waiting for the keystone service to be ready.

Change-Id: I3f7aafe9837be60a0f35cae1a7db892f6851cc47
2012-05-11 16:27:58 +01:00
Mark McLoughlin
cf1c5e1820 Improve the sample keystone.conf
Make sure all the available options are include in the file, add
some more documentation and, rather than set any of the defaults,
just include them as comments.

Change-Id: I2cb6060f47ea88349b1862d4d995c80cf9237066
2012-05-03 23:01:54 +01:00
Josh Kearney
f640093ba8 Rename keystone.conf to .sample.
Fixes bug 966670.

Change-Id: Ic57c9971c4f3a14c30e2382c58c3d0da6b2a7957
2012-04-10 12:38:50 -05:00
Dolph Mathews
2e172e5155 Change default catalog driver to SQL; doc the options
Change-Id: I7a713b8fb67ec099f60e35161c15a7b2b200ee8a
2012-03-26 10:37:18 -07:00
termie
3e4653a391 fix keystone-all's usage of options vs conf
we shouldn't be using options at all, that was a leftover piece of code
from a long time ago.

invalidates bug 949373

Change-Id: I29fcbd5f641464bda985900172b55bca45843f81
2012-03-20 10:47:31 -07:00
Jenkins
9c823977ba Merge "Clean up sql connection args" 2012-03-20 17:19:51 +00:00
Brian Waldon
6f8752bf6e Clean up sql connection args
* Convert idle_timeout (pool_recycle) to integer
* Drop min_pool_size, max_pool_size, pool_timeout
* Fixes bug 959916

Change-Id: Ie124b3abdf00358d6b722e1c2e2a2fb22967ca5a
2012-03-19 21:20:22 -07:00
Dolph Mathews
ee577163e3 Improved file logging example (bug 959610)
- Root logger w/ file handler will log WARNING, ERROR, CRITICAL by default

Change-Id: I36cd07cec85712640daa013563401a3bc52f290c
2012-03-19 16:33:00 -05:00
Julien Danjou
773f0f84af Fix default port for identity.internalURL
This should be the public_port and not the admin one.

Change-Id: Ib09e7479c0507797532e6bb91d76b7d3083cc761
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-03-15 11:38:29 +01:00
Dean Troyer
a036b3f77b Fix double-quoted service names
The Keystone service template parser doesn't do any quote interpolation,
it just splits on ' = ' and passes the two parts on. So we just remove
the quotes for now.

Fixes bug 943523

Change-Id: Ib9e17e70926339ab67f9c50a52a5036eeb7bfb65
2012-03-12 14:48:00 -05:00
Jenkins
0a124fa6a1 Merge "add more default catalog templates" 2012-03-08 22:29:04 +00:00
termie
a2f2274c69 port common policy code to keystone
keystone.common.policy is copied from nova

leave simple backend in as a shim until devstack stops referencing it

Change-Id: Ibd579cfeb99465706d525b6565818a2d8f5f3b7c
2012-03-08 14:06:32 -08:00
Jenkins
4e4f793e0b Merge "Set default identity driver to sql (bug 934332)" 2012-03-08 04:00:28 +00:00
Devin Carlen
d0429ea9b8 Make bind host configurable
* fixes bug 945868

Change-Id: Ib33dc9ad1878a9215c1a1ab10814fa7d0905cbdb
2012-03-07 12:54:27 -08:00
Alan Pevec
524cbd58ac add more default catalog templates
Image, Volume and Ec2 services were missing

Change-Id: I409b0b587b0019dc97bf46760e8f732aa13b88de
2012-03-07 11:39:39 +01:00
Dolph Mathews
5c7f3cff8d Set default identity driver to sql (bug 934332)
Change-Id: Ibc5502f0feb2bcc9583ccd1aa9bf9bd94fef43ca
2012-03-06 11:20:45 -06:00
Dolph Mathews
b68051cd13 Renamed sqlite files (bug 944951)
Change-Id: Iae7aa34de0bf68da9e422719605753634cc0d113
2012-03-06 11:20:11 -06:00
Adam Young
63437e9dca LDAP Identity backend
Bug 933852

Merged over the code from the legacy keystone implementation, updated
style and streamlined the API a bit.

 * Unit tests can be run against a live OpenLDAP server
 * Password hashing done via passlib. Only does salted sha1, which is what simple_bind requires, but is not secure.
 * Added pip dependencies

Change-Id: I5296d94f6b7d0a7c7dbc887cdae872171e34bb5f
2012-02-27 16:51:46 -08:00
Dolph Mathews
212489084f XML de/serialization (bug 928058)
Middleware rewrites incoming XML requests as JSON, and outgoing JSON as
XML, per Accept and Content-Type headers.

Tests assert that core API methods support WADL/XSD specs, and cover
JSON content as well.

Change-Id: I6897971dd745766cbc472fd6e5346b1b34d933b0
2012-02-27 09:58:04 -06:00
Dan Prince
7530b8ef32 The default nova compute port is 8774.
Fixes LP Bug #940637.

Change-Id: I58523892ef862254c1ebe1320a5bd6386455c281
2012-02-24 16:39:12 -05:00
Dolph Mathews
dd382af03b Admin version pipeline not utilized (bug 925548)
Change-Id: Id7c527d8a65330dee1116a020568faaa3354cfa5
2012-02-17 15:23:09 -06:00
Brian Waldon
71436dbf18 Add token expiration
* Config option token.expiration defines amount of time tokens should be valid
* Fixes bug 928545

Change-Id: I3dff7a1ebf03bb44fc6e5247f976baea0581de08
2012-02-14 14:18:50 -08:00
Anthony Young
9028f3228b Add version description to root path
* Fixes 925548
 * Fix test for correct assertion
 * / returns {}

Change-Id: I1067b402ad1bab474781e29ab7761f644f076540
2012-02-10 10:35:30 -08:00
termie
fc79bbe7f4 update some names 2012-01-18 21:47:18 -08:00
Jesse Andrews
1418925669 tests for ec2 crud 2012-01-16 17:36:38 -08:00
termie
afd897f912 add an ec2 extension 2012-01-16 16:31:44 -08:00
Joe Heck
c830305434 logging to debugging by default for now 2012-01-10 17:38:15 -08:00
Joe Heck
393aedb7ac adding logging from configuration files, default logging per common 2012-01-10 13:42:18 -08:00
termie
74170ee7b4 in the bin config too 2012-01-09 15:16:00 -08:00
termie
51df8b1b5b remove default configuration 2012-01-09 14:34:28 -08:00
termie
8f46af011e basic service running again 2012-01-09 14:32:02 -08:00
Devin Carlen
4b55fa5e8e Split keystone compat by admin and service endpoints 2011-12-30 14:55:57 -08:00
termie
63943c98c6 describe and add a policy backend 2011-11-17 11:40:52 -08:00
termie
58b8ca858c mergeish dolph's port change 2011-11-15 15:47:25 -08:00
termie
20bebd9f60 adjust default port 2011-11-15 13:48:46 -08:00
termie
1335e4c2ea cli for adding users, tenants, extras 2011-11-14 15:50:46 -08:00
termie
9d99821152 adjust paths and use composite apps 2011-11-14 11:46:32 -08:00
termie
adbbe0147e use the keystone app in the conf 2011-11-14 09:57:24 -08:00
termie
4885d4a2d3 add an etc dir 2011-11-09 11:57:59 -08:00