database_address changes are not reflected in nova cell0 mapping

Bug #1915302 reported by Henning Kasch
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Unassigned
Antelope
In Progress
Undecided
Unassigned
Bobcat
In Progress
Undecided
Unassigned
Caracal
Fix Released
Medium
Unassigned

Bug Description

I had to change my kolla_internal_vip_address which caused the deployment to be stuck at "Running Nova API bootstrap container". It turns out the old internal vip address was still referenced in the nova_api database (table cell_mappings column database_connection).

The "Create cell0 mappings" task does not update the database connection once the mapping has be created.

Revision history for this message
Mark Goddard (mgoddard) wrote :

We have some logic to update other cells in ansible/roles/nova-cell/tasks/create_cells.yml. Perhaps you could adapt this for cell0?

Changed in kolla-ansible:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Roman Krček <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/912091
Reason: This was created bz mistake. This issue is handled in https://review.opendev.org/c/openstack/kolla-ansible/+/905831

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/910924
Committed: https://opendev.org/openstack/kolla-ansible/commit/ab6eb989ae6fc9fc74cd7b156ba8bc18ad5c784e
Submitter: "Zuul (22348)"
Branch: master

commit ab6eb989ae6fc9fc74cd7b156ba8bc18ad5c784e
Author: Roman Krček <email address hidden>
Date: Mon Mar 4 14:10:39 2024 +0100

    Update cell0 database connection

    When kolla VIP address is changed the cell0 database connection is
    now updated to the new address.

    Closes-bug: #1915302
    Change-Id: I35be54efb5aaa230702d0cebaae04f1e64c3bca3
    Signed-off-by: Roman Krček <email address hidden>

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/917093

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/917095

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 18.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 18.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.