DB tables not loaded with Cisco Plugin

Bug #1155121 reported by Baodong (Robert) Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Baodong (Robert) Li

Bug Description

when configuring openstack to run with Cisco plugin, network creation failed with

                ProgrammingError: (ProgrammingError) (1146, "Table 'ovs_quantum.agents' doesn't exist")

In one of the possible configurations with cisco plugin, openvswitch plugin is required and will be called by the cisco plugin. This requires calling openvswitch routines to have it properly initialized. Both openvswitch plugin and cisco plugin import database models. Cisco plugin invokes configure_db() prior to initializing openvswitch(). This causes some of the openvswitch tables not being created although configure_db() is also invoked as part of its initialization.

Tags: cisco
Changed in quantum:
assignee: nobody → Baodong (Robert) Li (baoli)
Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

description: updated
Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

This can be targeted for RC2, changes are limited to the plugin, and the issue seems pretty critical. But leaving this to Dan/Mark to decide.

Changed in quantum:
importance: Undecided → Critical
tags: added: cisco
dan wendlandt (danwent)
tags: added: grizzly-backport-potential
Changed in quantum:
milestone: none → grizzly-rc2
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/24653
Committed: http://github.com/openstack/quantum/commit/4bd651a802feeda464715c7abdce3af0fab0a0a1
Submitter: Jenkins
Branch: master

commit 4bd651a802feeda464715c7abdce3af0fab0a0a1
Author: Baodong (Robert) Li <email address hidden>
Date: Tue Mar 19 10:06:03 2013 -0700

    Load all the necessary database tables when running cisco plugin

    In Cisco plugin, Remove redundant/unnecessary calls to configure_db().
    Make sure that all the database models are loaded before calling
    configure_db()

    fixes bug #1155121

    Change-Id: I27d5dda512140f0553b311b35678c82f729fa854

Changed in quantum:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/24879

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (milestone-proposed)

Reviewed: https://review.openstack.org/24879
Committed: http://github.com/openstack/quantum/commit/8afa3046c6e9077bf80d0a1fd7b69d20d3e7a750
Submitter: Jenkins
Branch: milestone-proposed

commit 8afa3046c6e9077bf80d0a1fd7b69d20d3e7a750
Author: Baodong (Robert) Li <email address hidden>
Date: Tue Mar 19 10:06:03 2013 -0700

    Load all the necessary database tables when running cisco plugin

    In Cisco plugin, Remove redundant/unnecessary calls to configure_db().
    Make sure that all the database models are loaded before calling
    configure_db()

    fixes bug #1155121

    Change-Id: I27d5dda512140f0553b311b35678c82f729fa854

Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc2 → 2013.1
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
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.