devstack transition to new neutron variable breaks bgpvpn

Bug #1675022 reported by Thomas Morin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Ihar Hrachyshka

Bug Description

http://logs.openstack.org/85/395585/3/check/gate-tempest-dsvm-networking-bgpvpn-bagpipe-ubuntu-xenial/feab7f0/logs/devstacklog.txt.gz#_2017-03-21_14_56_29_670

A devstack plugin using libs in neutron devstack plugin (e.g. lib/l2_agent) will break because only
the Q_ variables are defined an the NEUTRON_ .

Tags: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → In Progress
Changed in neutron:
importance: Undecided → Critical
tags: added: gate-failure
Changed in neutron:
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/448583
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=dd882bbc57e74e967047016d9f43735d3bfbb368
Submitter: Jenkins
Branch: master

commit dd882bbc57e74e967047016d9f43735d3bfbb368
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Mar 21 08:30:15 2017 +0000

    Move NEUTRON_* definitions from plugin.sh into settings file

    If devstack triggers a plugin that directly imports from devstack/lib/*
    before triggering neutron's plugin.sh, NEUTRON_* variables that are used
    in some devstack/lib/* files may not be set.

    The ``settings`` file is sourced by devstack for all repos before any of
    plugins enabled in the environment is triggered, and so moving NEUTRON_*
    definitions there should guarantee for us that the variables are set
    when the first enabled plugin is executed.

    Since Q_PLUGIN_CONF_PATH and Q_PLUGIN_CONF_FILE are defined in
    lib/neutron_plugins/ml2:neutron_plugin_configure_common, and we want to
    avoid triggering that code from the plugin, we need to duplicate values
    for NEUTRON_CORE_PLUGIN_CONF_PATH and NEUTRON_CORE_PLUGIN_CONF from
    there.

    Closes-Bug: #1675022
    Change-Id: Ib65d3615fba270c2fd6c116218bbb95a29f56aa6

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b1

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