diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-06 15:57:09 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-06 15:57:09 +0000 |
commit | 3e3db134c0cb33b3626aedae8a74142e661d9910 (patch) | |
tree | 87741aa2741cbdd08b46a913116e1ca8d4aa29c5 | |
parent | 24b8812a74979dd6313564d902b28eff562415ba (diff) | |
parent | 0a1bae9859079fb21a03716be947c5f1da6db0a2 (diff) | |
download | oslo-db-3e3db134c0cb33b3626aedae8a74142e661d9910.tar.gz |
Merge "Deprecate config option sqlite_db for removal"
-rw-r--r-- | oslo_db/options.py | 3 | ||||
-rw-r--r-- | releasenotes/notes/deprecate_config_sqlite_db-bd41d49343049319.yaml | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py index f4bec25..89f4cf7 100644 --- a/oslo_db/options.py +++ b/oslo_db/options.py @@ -15,6 +15,9 @@ from oslo_config import cfg database_opts = [ cfg.StrOpt('sqlite_db', + deprecated_for_removal=True, + deprecated_reason='Should use config option connection or ' + 'slave_connection to connect the database.', deprecated_group='DEFAULT', default='oslo.sqlite', help='The file name to use with SQLite.'), diff --git a/releasenotes/notes/deprecate_config_sqlite_db-bd41d49343049319.yaml b/releasenotes/notes/deprecate_config_sqlite_db-bd41d49343049319.yaml new file mode 100644 index 0000000..d20da8a --- /dev/null +++ b/releasenotes/notes/deprecate_config_sqlite_db-bd41d49343049319.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + The configuration option ``sqlite_db`` is now deprecated and + will be removed in the future. Please use configuration + option ``connection`` or ``slave_connection`` to connect to the database. + |