OpenStack Common DB Code
Go to file
Stephen Finucane 1f0f5654a7 Move warnings to their own module
Raising warnings from an exception module can result in a rather
confusing message:

  Running command: '/usr/bin/nova-scheduler '
  /.../sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
    exception.NotSupportedWarning

For someone not used to Python's 'warning' infrastructure, this can look
worse than it is, as seen at [1].

While this particular warning was resolved in change I4a5f8958c3e, it's
possible that a similar warning could be raised for other options. Best
to move this out of the 'exception' module and into something more
sensible.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1639423

Change-Id: I8e0480fb11123067a111ed6aeda6b47614615645
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-10-17 14:04:42 +01:00
doc List PyMySQL first in installation docs 2018-04-24 14:20:12 +00:00
oslo_db Move warnings to their own module 2018-10-17 14:04:42 +01:00
releasenotes Imported Translations from Zanata 2018-08-14 06:13:03 +00:00
tools Switch to stestr 2018-07-13 10:18:54 +07:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:29:42 -04:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:47:25 +08:00
.gitreview Fix .gitreview for oslo.db 2014-04-30 16:55:51 +02:00
.mailmap Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
.stestr.conf Switch to stestr 2018-07-13 10:18:54 +07:00
.zuul.yaml add lib-forward-testing-python3 test job 2018-08-11 18:20:12 -04:00
CONTRIBUTING.rst Drop MySQL-python dependency from oslo.db 2017-10-17 07:17:06 +02:00
HACKING.rst Update URLs according to document migration 2017-07-11 22:28:01 +08:00
LICENSE Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
README.rst Add release notes to README.rst 2018-06-21 13:16:03 +08:00
babel.cfg Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
lower-constraints.txt Switch to stestr 2018-07-13 10:18:54 +07:00
requirements.txt Remove most server_default comparison logic 2018-06-15 13:31:38 +10:00
setup.cfg Always build universal wheels 2018-10-09 15:52:22 +02:00
setup.py Updated from global requirements 2017-03-03 00:03:00 +00:00
test-requirements.txt Switch to stestr 2018-07-13 10:18:54 +07:00
tox.ini Don't quote {posargs} in tox.ini 2018-10-09 13:35:12 +00:00

README.rst

Team and repository tags

image

oslo.db -- OpenStack Database Pattern Library

Latest Version

Downloads

The oslo db (database) handling library, provides database connectivity to different database backends and various other helper utils.