undercloud database for neutron needs to be migrated to ovs_neutron

Bug #1753247 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Emilien Macchi

Bug Description

When migrating to a containerized undercloud, we deploy services by using THT. The neutron-api service in THT use ovs_neutron database name, but the database created by instack-undercloud is neutron.

So we need to rename the old db to be ovs_neutron, so the dbname will be the same as the overcloud.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/549609

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

Reviewed: https://review.openstack.org/549609
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5cb155eb7c7bb98d2be3b32c7f860d597eb2fd36
Submitter: Zuul
Branch: master

commit 5cb155eb7c7bb98d2be3b32c7f860d597eb2fd36
Author: Emilien Macchi <email address hidden>
Date: Sun Mar 4 13:40:32 2018 +0000

    neutron: rename db when upgrading a containerized undercloud

    When the undercloud was not containerized, the neutron database name was called neutron.
    When we upgrade to a containerized undercloud, the database name is called ovs_neutron.
    We introduced MigrateLegacyNeutronDb (false by default in the service but true when
    the undercloud is containerized) that will rename the database during host_prep_tasks.

    Also, we'll make sure mariadb is stopped before running Puppet steps,
    but only when we deploy a containerized undercloud and also when mariadb
    was actually running. The tasks are idempotent and tested.

    Change-Id: I009cd38f4d10bf3942c8f18f90c6a0fa50858219
    Closes-Bug: #1753247

Changed in tripleo:
status: In Progress → Fix Released
Changed in tripleo:
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b2 development milestone.

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.