yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84416
[Bug 1903824] Re: Nova defaults [database]connection to local sqlite database while the config doc says it is defaulted to None
Reviewed: https://review.opendev.org/762319
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=798f06abb2e5e9831e8bad11ff3258d5b51d1547
Submitter: Zuul
Branch: master
commit 798f06abb2e5e9831e8bad11ff3258d5b51d1547
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxx>
Date: Wed Nov 11 10:50:44 2020 +0100
Remove [database]connection defaulting
The config documentation says that the [database]connection config is
defaulted to None but in reality the nova code defaulted it to a local
sqlite database. This is clearly wrong as:
* Nobody wants to run nova with sqlite outside of a test env
* The nova-compute service should never have DB credentials configured
So this patch makes sure that nova does not change the default of this
config option.
Change-Id: I81560b3ba3dbaccdb90b32ed1a3c4ffd8a6283a6
Closes-Bug: #1903824
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1903824
Title:
Nova defaults [database]connection to local sqlite database while the
config doc says it is defaulted to None
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Config doc: https://docs.openstack.org/nova/latest/configuration/config.html#database.connection
Code: https://github.com/openstack/nova/blob/dc93e3b510f53d5b2198c8edd22528f0c899617e/nova/conf/database.py#L113
This is a problem as nova-compute service should not have any DB
configured ever.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1903824/+subscriptions
References