threadgroup: use threading rather than greenthread

Since threading is monkey patched in case we use eventlet, this is
change is a no-op. It buys use less usage of eventlet modules in the
end.

Change-Id: I7d39eb71b47ec00ed1c1256d94cfd4de80e3bdd5
Transition from migrate to alembic

Toolkit for smooth transitioning from migrate tool to alembic.
Check README for some description

POC: Integration with nova-manage https://review.openstack.org/#/c/60517/

Blueprint: oslo-migration-toolkit
Change-Id: Icfa7d8736a84da1a4890eb417d48bab4c73e1f89
Have the interprocess lock follow lock conventions

The python locking api specifies a acquire/release
function pair. It is nice to have the interprocess
lock api also follow said api so that its objects
can be used in areas where the standard threading
locks are used.

Change-Id: If393bec863ced8c9ef413b4baa3267d2a5b38416
Use threading.ThreadError instead of reraising IOError

The threading API specifies that ThreadError should
be used as the common exception raised from threading
and locking apis so instead of reraising an IOError
reraise a new ThreadError one instead.

Change-Id: Ic06dd211a8a5da074623ac449d27e963dd5ba754
Small edits on help strings

These were initially noted during import into the manuals at
https://review.openstack.org/67502

Fixes include rework of text, missing or extra spaces, wrong
capitalization and no sentence style capitalization.

Change-Id: I56a47de73e0e494a6f770e29dae8065b398ef5af
Co-Authored-By: Diane Fleming <diane.fleming@rackspace.com>
Add missing entries to MAINTAINERS

This is required for the subsequent addition of a tool to verify
that all files in the oslo-incubator tree are covered by an entry
in MAINTAINERS.

For files that had only a single contributor, I made that person
the maintainer.  For modules with multiple contributors I set them
to orphaned.  Ideally those entries will be updated as appropriate
by the actual maintainers.

Change-Id: Ide60c101c37b17ce6324d1545c05698b287011e0
Backport 'ident' from python 3.3 for Oslo's SysLogHandler

To honor RFC5424 add use_syslog_rfc_format config option
(default False, would be deprecated in J after existing
syslog format deprecation) which adds APP-NAME to syslog message
before MSG part to reflect application or service name.
Usable only with use_syslog, otherwise ignored.

During J, the default logging format for syslog should be changed
to always provide APP-NAME, thus use_syslog_rfc_format could be
deprecated in J as well.

DocImpact
Closes-bug: #904307

Change-Id: I3815e6dc47e206e15f9da90ebbba5ca00c3ae641
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Move helper DB functions to db.sqlalchemy.utils

Database utilities are contained in
openstack/common/db/sqlalchemy/test_migrations.py which is not
appropriate to the module appointment. All the utility functions moved
to openstack/common/db/sqlalchemy/utils.py.

Change-Id: Ia5e1efd3f8e2e1f9553ca24ca7bb19bea911cdbc
Use dialect rather than a particular DB API driver

_get_connect_string() is too specific when choosing a DB API driver to be
used. We shouldn't force users to use neither psycopg2 nor MySQLdb as this is
not required for any actions provided by oslo.db. Specify only the dialect to
 be used and let SQLAlchemy choose one of the DB API drivers available.

Closes-Bug: #1256835
Change-Id: I685f9eecc77f2c1f920c83c5da653f3114a83679
Ported hooks

Decorator and config option definitions for adding custom code (hooks)
around callables.

For example, we can use hooks to easily add specific request headers in
different clients without changing common code.

Change-Id: Ic635d3f6ce32544dbd739515c26b7984e055fb1a
Simple typo correction

Change-Id: Ibb0f316525690b326640c39de329357b5c5d43e8
Add check_maintainers.py script

check_maintainers.py verifies that all of the files in the
oslo-incubator tree are covered by an entry in MAINTAINERS

Change-Id: I6c77a250ff3a0b537b17052d8da86b5b48a5283f
default connectionpool to WARN log level

requests.packages.urllib3.connectionpool issues an INFO log message
every time a new connection is added to the pool. While this may
be incredibly interesting to the authors of the requests package,
to an OpenStack operator this is just log spam.

set the default for this logger to WARN to tighten up the logs so
that INFO level is meaningful.

Change-Id: Icb30afe569ba80d1d322ef7f22a46a3e60b3ba9a
generator: rename EXTRA_MODULES_FILE to RC_FILE

Tweak how we use this file to make it clear we can use it for things
other than the EXTRA_MODULES env variable.

Change-Id: Icedf643a7959ba7337423a16cb216918f5e95e77
Merge "Ported hooks"
Merge "Transition from migrate to alembic"
Merge "Backport 'ident' from python 3.3 for Oslo's SysLogHandler"
Merge "Have the interprocess lock follow lock conventions"
Merge "Use threading.ThreadError instead of reraising IOError"
Merge "Small edits on help strings"