keystone/keystone/cmd
Lance Bragstad 2a2f8535e2 Improve handling of database migration checks
The `--check` subcommand is suppose to provide useful information
and status codes depending on the state of the keystone database.
Operators and automation use this information to determine what their
next step is in a rolling upgrade. The current logic is broken
becuase it doesn't account for new installations that might be
relying on this information.

This change breaks that case into multiple try/except statements and
handles each appropriately so that the status code and logging
information is accurate for operators and automation using this
information for upgrading a new keystone database.

Change-Id: I331fa663a99f79ea9a79a75e4ae07c45278556bf
Closes-Bug: 1698900
2017-06-19 21:41:26 +00:00
..
doctor Update doctor warning about caching 2017-05-26 14:11:25 +02:00
__init__.py Entrypoints for commands 2015-03-27 02:16:02 +00:00
cli.py Improve handling of database migration checks 2017-06-19 21:41:26 +00:00
manage.py Code cleanup 2016-10-17 09:05:34 +08:00