LBaaS needs automated test for DB migrations

Bug #1549699 reported by Stephen Balukoff
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
YAMAMOTO Takashi

Bug Description

Given the problems caused recently by a migration on neutron-lbaas that broke things for people using PostgreSQL, we should implement a test which ensures that alembic migrations produce results exactly consistent with the database models in the project, and which are functional for both MySQL and PostgreSQL. More information on how to do this can be found here: http://docs.openstack.org/developer/neutron/devref/template_model_sync_test.html

Tags: lbaas
Revision history for this message
Doug Wiegley (dougwig) wrote :

Not sure if we'll have time before m-3, but this is a real issue.

Changed in neutron:
status: New → Triaged
importance: Undecided → High
tags: added: lbaas
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lbaas (master)

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

Changed in neutron:
status: Triaged → In Progress
Henry Gessau (gessau)
Changed in neutron:
milestone: none → mitaka-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lbaas (master)

Reviewed: https://review.openstack.org/287016
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=cb4ec40a6262da126112cc31a66f4571af1ae103
Submitter: Jenkins
Branch: master

commit cb4ec40a6262da126112cc31a66f4571af1ae103
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Mar 2 14:28:25 2016 +0900

    Add model sync test

    As neutron-lbaas doesn't have functional tests right now,
    add this to unit tests following the convention.
    (networking-cisco and networking-midonet)

    Note: the Cisco copyright notice in test_migrations is intended.
    It came from networking-cisco via networking-midonet.

    Closes-Bug: #1549699
    Change-Id: I30998407eae04d28a3a653430f8c90711b6c0235

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-lbaas 8.0.0.0rc1

This issue was fixed in the openstack/neutron-lbaas 8.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.