RETIRED, further work has moved to Debian project infrastructure
Go to file
Ilya Pekelny ba6705a731 Explicit foreign key indexes.
Overview:
MySQL requires indexes on foreign keys. Such an index is created on the
referencing table automatically if it does not exist.

Motivation:
MySQL names foreign keys indexes differently dependent from itself
version. Implicit fk indexes is MySQL specific behavior, so it should be
ignored during comparision. We plan to use Alembic to compare models and
migrations I0758c7e09d1d46ce870c3f94f76c2a177955e143. Alembic doesn't support
5.5 naming convention. So we need consistent index name for all MySQL versions
to be easily ignored.

Solution:
A new migration script renames incorrectly named fk indexes on MySQL.

Reproduction:
Stop execution when foregn keys will be initialized. See schema with
your MySQL shell client. With 5.5, indexes which was not named
explicitly, will have a name such as <tablename>_<columnname>_fk, with 5.1 it
will be <columnname>.

Change-Id: I01ba0c8856afbda59394395ac319bf83a55ee2be
Partial-Bug: #1292591
2014-04-24 16:25:48 +03:00
bin Isolate backend loading 2014-04-16 15:13:20 +10:00
doc Merge "Discourage use of pki_setup" 2014-04-22 19:35:55 +00:00
etc Merge "Fix typo on cache backend module" 2014-04-24 01:59:19 +00:00
examples/pki Modified keystone endpoint-create default region 2014-02-03 09:41:16 -06:00
httpd Isolate backend loading 2014-04-16 15:13:20 +10:00
keystone Explicit foreign key indexes. 2014-04-24 16:25:48 +03:00
tools Sync with oslo-incubator 2fd457b 2014-04-15 15:14:25 -05:00
.coveragerc Add tests dir to the coverage omit list 2013-09-30 16:07:03 -04:00
.gitignore Fixes documentation building 2013-12-13 02:47:37 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 14:48:03 -04:00
.mailmap reverse my preferred mailmap 2014-02-12 10:46:38 -06:00
.testr.conf Fix parallel unit tests keystoneclient partial checkout 2014-04-02 19:19:59 -05:00
babel.cfg setting up babel for i18n work 2012-06-21 18:03:09 -07:00
CONTRIBUTING.rst Migrate to pbr. 2013-05-23 16:59:08 +02:00
HACKING.rst Fix assertEqual arguments order(catalog, cert_setup, etc) 2014-04-03 20:11:29 +09:00
LICENSE Added Apache 2.0 License information. 2012-02-15 17:48:33 -08:00
MANIFEST.in Create TMPDIR for tests recursively 2014-03-24 18:46:36 +01:00
openstack-common.conf Sync with oslo-incubator 2fd457b 2014-04-15 15:14:25 -05:00
README.rst Keystone team uses #openstack-keystone now 2014-02-18 10:57:25 -08:00
requirements.txt Sync with oslo-incubator 2fd457b 2014-04-15 15:14:25 -05:00
run_tests.sh Adds run_tests.sh cli option to stop on failure 2014-01-18 10:17:55 -05:00
setup.cfg Open Juno development 2014-03-26 17:57:01 +01:00
setup.py Sync with global requirements 2013-09-30 17:03:58 -04:00
test-requirements.txt Updated from global requirements 2014-04-12 02:15:31 +00:00
tox.ini Adds style checks to ease reviewer burden 2014-04-09 23:34:45 +00:00

OpenStack Keystone

Keystone provides authentication, authorization and service discovery mechanisms via HTTP primarily for use by projects in the OpenStack family. It is most commonly deployed as an HTTP interface to existing identity systems, such as LDAP.

Developer documentation, the source of which is in doc/source/, is published at:

http://keystone.openstack.org/

The API specification is available at:

https://github.com/openstack/identity-api

The API documentation is available at:

http://api.openstack.org/api-ref-identity.html

The canonical client library is available at:

https://github.com/openstack/python-keystoneclient

Documentation for cloud administrators is available at:

http://docs.openstack.org/

The source of documentation for cloud administrators is available at:

https://github.com/openstack/openstack-manuals

Information about our team meeting is available at:

https://wiki.openstack.org/wiki/Meetings/KeystoneMeeting

Bugs and feature requests are tracked on Launchpad at:

https://bugs.launchpad.net/keystone

Future design work is tracked at:

https://blueprints.launchpad.net/keystone

Contributors are encouraged to join IRC (#openstack-keystone on freenode):

https://wiki.openstack.org/wiki/IRC

For information on contributing to Keystone, see CONTRIBUTING.rst.