← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2120164] Re: Nova reads main_db_opts for api_db_opts

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/956869
Committed: https://opendev.org/openstack/nova/commit/c8e36b57d94eacdd3f39585edcf85e3747f60b1a
Submitter: "Zuul (22348)"
Branch:    master

commit c8e36b57d94eacdd3f39585edcf85e3747f60b1a
Author: Johannes Kulik <johannes.kulik@xxxxxxx>
Date:   Fri Aug 8 11:57:59 2025 +0200

    db: Fix api_db_opts reading main_db_opts
    
    In Ie7e4ccaf32f7222b8e305a38b48de7980744a98f we introduced a bug by
    copy&paste error that made api_db_opts use main_db_opts and thus sharing
    the same config options.
    
    Change-Id: Ibed6a27006ebe7e9004a09976b59e679e43fc2d5
    Closes-Bug: #2120164
    Signed-off-by: Johannes Kulik <johannes.kulik@xxxxxxx>


** 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/2120164

Title:
  Nova reads main_db_opts for api_db_opts

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  In Ie7e4ccaf32f7222b8e305a38b48de7980744a98f we introduced a bug
  through copy&paste error that made `api_db_opts` use the
  `main_db_opts` instead of keeping its own copy:
  https://github.com/openstack/nova/blob/master/nova/conf/database.py#L52-L53

  This could lead to api db configure not as expected, I guess.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2120164/+subscriptions



References