summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change default catalog driver to SQL; doc the optionsDolph Mathews2012-03-262-2/+7
| | | | Change-Id: I7a713b8fb67ec099f60e35161c15a7b2b200ee8a
* Open FolsomThierry Carrez2012-03-231-1/+1
| | | | | | Bump version to 2012.2 to formally open Folsom development. Change-Id: Ib510cc530414f9fa197aa07807aa33d097214ef4
* Merge "Check values for EC2."Jenkins2012-03-231-6/+55
|\
| * Check values for EC2.Chmouel Boudjnah2012-03-231-6/+55
| | | | | | | | | | | | | | | | - Add multiple check to methods to make sure we have a proper tenant_id/user_id/credentials. - Fixes bug 958135. Change-Id: I4dd171e3db32d6ebdc70bb1a83492c8ecd09c21c
* | S3 tokens cleanups.Chmouel Boudjnah2012-03-233-47/+213
|/ | | | | | | | | | - Cleanups. - Remove reference about config admin_username/password/token. - Return proper http error on errors. - Add unittests (skip them for now when swift is not installed). - Fixes bug 956983. Change-Id: I392fc274f3b01a5a0b5779dd13f9cd3b819ee65a
* Fix critical typo in endpoint_create (bug 961412)Dolph Mathews2012-03-212-1/+44
| | | | | | It looks like catalog crud was previously untested. Change-Id: I8e3060b6d6c737d3d97a5bd9076e9a5fdf9945e2
* Merge "Rename tokenauth to authtoken."Jenkins2012-03-202-7/+12
|\
| * Rename tokenauth to authtoken.Chmouel Boudjnah2012-03-202-7/+12
| | | | | | | | | | | | | | - Avoid confusing by using the authtoken name for auth_token middleware. - Improve swift_auth middleware doc. Change-Id: I287860eba067b99a1d89f8f17200820340836ff9
* | unique role name constraintYong Sheng Gong2012-03-205-9/+66
| | | | | | | | | | | | | | | | | | | | | | For SQL identity backend, add unique constraint with column definition; for kvs and ldap backend, use python code to apply this constraint. Test cases test_create_duplicate_role_name_fails and test_rename_duplicate_role_name_fails are added to guard it. python run_tests.py test_backend_ldap test_backend_kvs test_backend_sql pass. bug 932258. Change-Id: I990f17a270e84d35c078f215c587a81d6784c192
* | Merge "Spring cleaning, fix PEP8 violations."Jenkins2012-03-2011-104/+108
|\ \
| * | Spring cleaning, fix PEP8 violations.Chmouel Boudjnah2012-03-2011-104/+108
| | | | | | | | | | | | Change-Id: Ide832cd64c9b285213e23901eaf81946d504e726
* | | Add test for swift middleware.Chmouel Boudjnah2012-03-201-0/+203
|/ / | | | | | | | | | | - skip the tests if we don't have swift installed. Change-Id: I3647538f3e7a32cbfce97b181c532371cef963da
* | Merge "Wrapped unexpected exceptions (bug 955411)"Jenkins2012-03-2014-55/+121
|\ \
| * | Wrapped unexpected exceptions (bug 955411)Dolph Mathews2012-03-2014-55/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replaced all webob.exc's (outside of middleware) with keystone.exception's - Raised 409 Conflict when creating/updating existing user/tenant ID/names (bug 955464) - Raised 501 Not Implemented for user-role-add w/o tenant_id (bug 955548) Change-Id: I9f16cac502c20dd35a6b8da778e85bf3d9cfae49
* | | Merge "Support PyPAM in pam backend, update to latest API"Jenkins2012-03-201-12/+125
|\ \ \ | |_|/ |/| |
| * | Support PyPAM in pam backend, update to latest APIRussell Bryant2012-03-161-12/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 938801. This bug pointed out that some distros don't have the same pam Python module packaged that this backend was expecting. In my case, on Fedora, it's PAM and the API is not compatible with the pam module that was used. This patch makes the backend support PyPAM, as well as the original pam module that was used. In order to test this, I updated the pam backend to the latest backend API. Even though the base class will raise NotImplementedError, I included all functions here to make it more clear all of the things this backend does not do. Change-Id: I74144f4e63b6830c8224bc87e1662eb5df8728a0
* | | Merge "fix keystone-all's usage of options vs conf"Jenkins2012-03-202-5/+5
|\ \ \
| * | | fix keystone-all's usage of options vs conftermie2012-03-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | pass the arguments in when starting keystone-alltermie2012-03-201-1/+1
|/ / / | | | | | | | | | | | | | | | fixes bug 942793 Change-Id: I044a56c1eedae2ecef04dd3aa60b91414b7abc14
* | | Merge "Clean up sql connection args"Jenkins2012-03-204-13/+1
|\ \ \
| * | | Clean up sql connection argsBrian Waldon2012-03-194-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert idle_timeout (pool_recycle) to integer * Drop min_pool_size, max_pool_size, pool_timeout * Fixes bug 959916 Change-Id: Ie124b3abdf00358d6b722e1c2e2a2fb22967ca5a
* | | | Merge "Improved file logging example (bug 959610)"Jenkins2012-03-203-21/+6
|\ \ \ \
| * | | | Improved file logging example (bug 959610)Dolph Mathews2012-03-193-21/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Root logger w/ file handler will log WARNING, ERROR, CRITICAL by default Change-Id: I36cd07cec85712640daa013563401a3bc52f290c
* | | | | Changing belongsTo validation back to IDMichael Basnight2012-03-202-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | * Fixes lp#960218 Change-Id: I6296413c211da92a4d0e07a544ca812d3544cb73
* | | | Merge "Fixes LP #954089 - Service list templated catalog"Jenkins2012-03-2012-55/+174
|\ \ \ \
| * | | | Fixes LP #954089 - Service list templated catalogJay Pipes2012-03-1912-55/+174
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds missing test cases for the TemplatedCatalog * Adds a base CatalogTest that different backends can use * Updates kvs.Catalog to raise ServiceNotFound where appropriate * Updates the tests.test_keystoneclient_sql to actually test the SQL catalog backend * Removes old test for incorrect endpoints listing * Removes the keystone.catalog.core.Driver.service_exists method since it was only implemented in the SQL driver and wasn't required now that get_service and delete_service properly raise ServiceNotFound exception. Change-Id: I35690cc147e56007be27bacf94eeff360e727e5d
* | | | Merge "Swift middleware doc update."Jenkins2012-03-201-5/+8
|\ \ \ \
| * | | | Swift middleware doc update.Chmouel Boudjnah2012-03-191-5/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I01ecc4d602b5e887f66d32676f11a92d022f693f
* | | | | Merge "Refactor keystone.common.logging use (bug 948224)"Jenkins2012-03-2011-62/+90
|\ \ \ \ \
| * | | | | Refactor keystone.common.logging use (bug 948224)Dolph Mathews2012-03-1411-62/+90
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I01b2b5748a2524273bb8c2b734ab22415652f739
* | | | | | Merge "Installing keystone docs"Jenkins2012-03-202-2/+118
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Installing keystone docsJoe Heck2012-03-142-2/+118
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug 954217 Change-Id: Iba79d2d5bae836037d5b0e10169d9bbdba8603dc
* | | | | Merge "Update get_metadata to return {}"Jenkins2012-03-205-9/+26
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Update get_metadata to return {}Brian Lamar2012-03-095-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 951093 While the actual issue was encountered in keystone/service.py, the underlying issue is that all identity backends seems to be returning None when no metadata is found for a user. I would argue that returning {} makes it easier on clients. Change-Id: I06faf755cc0dbe45b5d0a0f86c6235b27c856047
* | | | | Merge "Fix default port for identity.internalURL"Jenkins2012-03-191-1/+1
|\ \ \ \ \
| * | | | | Fix default port for identity.internalURLJulien Danjou2012-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be the public_port and not the admin one. Change-Id: Ib09e7479c0507797532e6bb91d76b7d3083cc761 Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
* | | | | | Merge "docstring cleanup to remove sphinx warnings"Jenkins2012-03-192-9/+14
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | docstring cleanup to remove sphinx warningsJoe Heck2012-03-142-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icfc273f2466f48307d2addd22b70f1759d23fd97
* | | | | | Merge "Remove nova-specific middlewares"Jenkins2012-03-194-327/+1
|\ \ \ \ \ \
| * | | | | | Remove nova-specific middlewaresBrian Waldon2012-03-194-327/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Nova now ships with nova.api.auth.NovaKeystoneContext * Nova does not depend on either of the middlewares being removed Change-Id: I9546e5c84ea1453f5dfd2dd7bf9924ccda57f87a
* | | | | | Merge "Add check for MAX_PASSWORD_LENGTH to utils."Jenkins2012-03-192-4/+18
|\ \ \ \ \ \
| * | | | | | Add check for MAX_PASSWORD_LENGTH to utils.Dan Prince2012-03-192-4/+18
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates to keystone password hashing and checking functions so that a max password length is enforced. Fixes LP Bug #959288. Change-Id: Id3048f3c916e92c59ac5b063d09c3d612d51c97c
* / / / / / Remove glance_auth_token middlewareBrian Waldon2012-03-161-78/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 957501 Change-Id: I2ae6ec7b391dd41587f2246940a8d392c12c91fe
* | | | | Merge "sample_data.sh: check file paths for packaged installations"Jenkins2012-03-161-4/+15
|\ \ \ \ \
| * | | | | sample_data.sh: check file paths for packaged installationsAlan Pevec2012-03-131-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v4: try to use system-wide configuration first then fallback to assuming git checkout Change-Id: I6916f554cb9848fcb2d090e142b8915ad19a7486
* | | | | | Merge "Properly return 501 for unsupported Catalog calls"Jenkins2012-03-159-39/+127
|\ \ \ \ \ \
| * | | | | | Properly return 501 for unsupported Catalog callsAdam Gandelman2012-03-149-39/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the other APIs, this creates a Driver class that describes expected functionality of the catalog driver and raises NotImplemented accordingly. NotImplementedError()'s are caught and returned as proper 501s instead of AttributeErrors. Also fixes some inconsistent paramters names in the sql backend. Fixes bug 954087 Update: Convert usage of NotImplementedError() to new keystone.exception.NotImplemented() for all unimplemented driver actions. Change-Id: I69d8e21a6f651e69b724ec5ed5784645bad80c00
* | | | | | | Merge "Add automatically generated code docs."Jenkins2012-03-151-0/+3
|\ \ \ \ \ \ \
| * | | | | | | Add automatically generated code docs.Russell Bryant2012-03-141-0/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 954734. Fix "python setup.py build_sphinx" to build the code documentation via sphinx-apidoc. Change-Id: I18eced31aab424b7c808697324cbf6cfede442a7
* | | | | | | Merge "Update username -> name in token response."Jenkins2012-03-152-5/+5
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |