neutron lbaas DB support is broken on PostgreSQL

Bug #1548807 reported by Valeriy Ponomaryov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Stephen Balukoff

Bug Description

Recent change [1] to neutron-lbaas project broke PostgreSQl support.

Also, this project is installed in each CI Devstck job and breaks each PoestreSQL job of other projects just trying to be installed.

Here is error:

logs: http://logs.openstack.org/95/283495/1/check/gate-manila-tempest-dsvm-neutron-postgres-lvm-multibackend/a27485f/logs/devstacklog.txt.gz#_2016-02-23_10_40_31_494

paste: http://paste.openstack.org/show/487887/

raw:

oslo_db.exception.DBError: (psycopg2.ProgrammingError) constraint "lbaas_listeners_ibfk_2" of relation "lbaas_listeners" does not exist

[1] https://review.openstack.org/#/c/218560/

Tags: db lbaas postgres
tags: added: db lbaas postgres
Changed in neutron:
status: New → Confirmed
importance: Undecided → Critical
Changed in neutron:
assignee: nobody → Stephen Balukoff (sbalukoff)
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/283802

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lbaas (master)

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

commit 057fb2f3bd5970ff865dcc0fd8822498f40504dc
Author: Stephen Balukoff <email address hidden>
Date: Tue Feb 23 12:55:50 2016 -0800

    Fix shared-pools lbaas_listeners migration

    This patch fixes the MySQL-specific features in the alembic
    migration for shared-pools, so that migrations can also work
    on PostgreSQL.

    This patch also removes the uniqueness of the SQLAlchemy model
    definition of the Listener.default_pool_id field. (This was
    mistakenly left in place in the shared-pools patch.)

    Closes-Bug: 1549372
    Closes-Bug: 1548807
    Change-Id: Ib1896997f2e7a505b5bf8ec0c9e5ee35942f79a6

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.0b3

This issue was fixed in the openstack/neutron-lbaas 8.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.