Bug 967344 - CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS= is not being used by packstack
Summary: CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS= is not being used by packstack
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: snapshot2
: 3.0
Assignee: Ryan O'Hara
QA Contact: Ofer Blaut
URL:
Whiteboard:
: 968353 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-26 18:45 UTC by Ofer Blaut
Modified: 2016-04-26 15:55 UTC (History)
8 users (show)

Fixed In Version: openstack-packstack-2013.1.1-0.8.dev601
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 18:53:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Remove bogus default value for CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS (1.18 KB, patch)
2013-05-29 16:38 UTC, Ryan O'Hara
no flags Details | Diff
Use CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter (1.81 KB, patch)
2013-05-29 16:43 UTC, Ryan O'Hara
no flags Details | Diff
Use CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter (1.92 KB, patch)
2013-05-30 18:18 UTC, Ryan O'Hara
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 30916 0 None None None Never
Red Hat Product Errata RHBA-2013:0938 0 normal SHIPPED_LIVE openstack-packstack bug fix advisory 2013-06-11 22:48:19 UTC

Description Ofer Blaut 2013-05-26 18:45:17 UTC
Description of problem:

I have tried to configure quantum OVS, using packstack.

CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS= options is not being forward to plugin.ini files on L2 agents 

example below : 

# A comma separated list of VLAN ranges for the Quantum openvswitch
# plugin
CONFIG_QUANTUM_OVS_VLAN_RANGES=inter-vlan:201:203,ext-vlan:195:195


# A comma separated list of bridge mappings for the Quantum
# openvswitch plugin
CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS=inter-vlan:br-eth3


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


How reproducible:


Steps to Reproduce:
1.configure packstack answer file to use CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS=
2.run packstack
3.check /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini to see file is not updated 

Actual results:


Expected results:


Additional info:

Comment 2 Ryan O'Hara 2013-05-29 16:38:29 UTC
Created attachment 754472 [details]
Remove bogus default value for CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS

The default value for CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS in packstack was actually a VLAN range, not a bridge mapping. This patch removes this default value.

Comment 3 Ryan O'Hara 2013-05-29 16:43:53 UTC
Created attachment 754474 [details]
Use CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter

This patch takes the comma-separated string in CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter, splits it by ',' and wraps each item in single quotes. This is necessary since the puppet module expects the ovs bridge_mappings to be an array. This patch also adds bridge_mappings to the quantum_ovs_agent.pp template, which uses the CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter.

Comment 5 Ryan O'Hara 2013-05-30 18:18:50 UTC
Created attachment 754996 [details]
Use CONFIG_QUANTUM_OVS_BRIDGE_MAPPINGS parameter

Updated patch.

Comment 6 Ryan O'Hara 2013-05-30 18:33:27 UTC
*** Bug 968353 has been marked as a duplicate of this bug. ***

Comment 8 Ofer Blaut 2013-06-06 20:24:23 UTC
It is updated

openstack-packstack-2013.1.1-0.10.dev605.el6ost.noarch

Comment 9 errata-xmlrpc 2013-06-11 18:53:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0938.html


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