Bug 1306364 - With RDO-manager, using bridge mappings, Neutron opensvswitch-agent plugin's config file don't gets populated correctly
Summary: With RDO-manager, using bridge mappings, Neutron opensvswitch-agent plugin's ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager
Version: trunk
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: trunk
Assignee: Hugh Brock
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-10 16:41 UTC by Raoul Scarazzini
Modified: 2017-06-18 06:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-18 06:34:45 UTC


Attachments (Terms of Use)

Description Raoul Scarazzini 2016-02-10 16:41:09 UTC
Description of problem:

Deploying bridge mappings in the overcloud with rdo-manager does not work since the Neutron  openvswitch plugin's file (/etc/neutron/plugins/ml2/openvswitch_agent.ini) does not gets populated with the right option.
The option that needs modification, supposing you want to associate datacentre to a dedicated bridge for the floating ip, is this one:

bridge_mappings = datacentre:br-floating

This is not happening in Liberty (the file gets populated in the right way) and in Kilo the location of the file and its name are different, in fact the file is /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini.

Version-Release number of selected component (if applicable):

CentOS Linux release 7.2.1511 (Core)
instack-undercloud-3.0.1-dev54.el7.centos.noarch
openstack-tripleo-heat-templates-1.0.1-dev45.el7.centos.noarch

How reproducible:

Deploy an overcloud with a command similar to this one:

openstack overcloud deploy --templates [...] -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml -e /home/stack/network-environment.yaml --neutron-bridge-mappings datacentre:br-floating

Use a /home/stack/network-environment.yaml with contents similar to this:

...
...
parameter_defaults:
...
...
  NeutronExternalNetworkBridge: "''"

parameters:
  NeutronBridgeMappings: "datacentre:br-floating"

Actual results:

File /etc/neutron/plugins/ml2/openvswitch_agent.ini is not populated with the mappings settings.

Expected results:

File gets populated.

Additional info:

As a workaround is possible to manually change the settings, restart the neutron service via pcs and then start creating networks/router/floatingip. Note that if you already created some of these elements you need to delete and create them as new in order to have them running.

Comment 2 Christopher Brown 2017-06-17 16:51:38 UTC
This is fixed long time ago so I think this can be closed.


Note You need to log in before you can comment on or make changes to this bug.