Nova defaults [database]connection to local sqlite database while the config doc says it is defaulted to None

Bug #1903824 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Balazs Gibizer
Tags: compute config db
tags: added: compute config db
Changed in nova:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
status: New → Triaged
importance: Undecided → Medium
summary: - Nova defaults [database]connection to local sqlite database while to
+ Nova defaults [database]connection to local sqlite database while the
config doc says it is defaulted to None
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/762319

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 23.0.0.0rc1

This issue was fixed in the openstack/nova 23.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.