Comment 6 for bug 1982071

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cell-controller (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-cell-controller/+/850466
Committed: https://opendev.org/openstack/charm-nova-cell-controller/commit/c097dc38234e0972b7082a539730c004b6c86b13
Submitter: "Zuul (22348)"
Branch: stable/xena

commit c097dc38234e0972b7082a539730c004b6c86b13
Author: Liam Young <email address hidden>
Date: Tue Jul 19 06:30:46 2022 +0000

    Fix database connection section

    Using the sql_connection option in the default section appears to
    cause CONF.api_database.connection to be populated with the
    connection uri. This in turn causes nova to think this is an
    api cell and to do an api lookup *1 which fails. This change moves
    the database connection string into its own section as per *2

    *1 https://opendev.org/openstack/nova/src/branch/master/nova/utils.py#L1060
    *2 https://docs.openstack.org/nova/latest/admin/cells.html

    Closes-Bug: #1982071
    Change-Id: I49859235d408598535173c8bb87ce65f66fb3ca8
    (cherry picked from commit d668de8aa5bba642015d817f3272df43a955a1ff)