Bug 1254897 - Not configuring neutron mechanism drivers in any puppet based deploys
Summary: Not configuring neutron mechanism drivers in any puppet based deploys
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: y1
: 7.0 (Kilo)
Assignee: Marios Andreou
QA Contact: Marius Cornea
Alexander Chuzhoy
URL:
Whiteboard:
: 1261054 (view as bug list)
Depends On:
Blocks: 1261045
TreeView+ depends on / blocked
 
Reported: 2015-08-19 08:07 UTC by Marios Andreou
Modified: 2023-02-22 23:02 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.6-52.el7ost
Doc Type: Bug Fix
Doc Text:
Overcloud deployments did not consume nor affect the Neutron mechanism driver parameter passed as hiera data from the corresponding Heat template. This meant Overcloud deployments contained an unexpected Neutron configuration, with both openvswitch and linuxbridge configured as mechanism_drivers in /etc/neutron/plugins/ml2/ml2_conf.ini as such: mechanism_drivers = openvswitch,linuxbridge This fix ensures the Overcloud deployment correctly consumes the neutron_mechanism_drivers hiera data item passed from the Heat templates and sets this in the Meutron ml2 configuration on the controller node. You can also specify the NeutronMechanismDrivers Heat template parameter and as a custom parameter and expect the corresponding ml2 configuration for Neutron.
Clone Of:
Environment:
Last Closed: 2015-10-08 12:16:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 214649 0 None MERGED Consume the NeutronMechanismDrivers from the hiera data 2021-02-18 20:50:19 UTC
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Marios Andreou 2015-08-19 08:07:28 UTC
Description of problem:
Neutron Mechanism Drivers for the overcloud aren't configured. I don't know if this is bug worthy but filing this so it can be tracked (looked at this thanks to Tim Swanson comments @ [1]).

The tripleo heat templates say 'openvswitch' for the default for this value (description of what this config is at [2]). Whilst we do correctly set the hiera data passed to puppet, we don't consume it, meaning the deployment config is like:

./plugin.ini:20:mechanism_drivers =openvswitch,linuxbridge
./plugins/ml2/ml2_conf.ini:20:mechanism_drivers =openvswitch,linuxbridge

which is the puppet-neutron module default. Even though we end up with correct behaviour (since afaik we've only ever used openvswitch for ml2 here) I think the bug is the expectation that the config item is configurable via the tripleo heat template param, which it is not in reality (tripleo image element deploys do consume and set this in the pass though data)

[1] https://review.openstack.org/#/c/198754/10
[2] http://docs.openstack.org/kilo/config-reference/content/networking-options-plugins-ml2.html

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


How reproducible:
every time

Steps to Reproduce:
1. deploy an overcloud, try to set NeutronMechanismDrivers (or even just leave the default, which is 'openvswitch')
2. [root@overcloud-controller-0 ~]# grep -rn 'mechanism_drivers' /etc/neutron/*
3. profit  ("=openvswitch,linuxbridge")

Actual results:
./plugins/ml2/ml2_conf.ini:20:mechanism_drivers =openvswitch,linuxbridge

Expected results:
Would expect the mechanism_driver to be set to 'openvswitch' only as that is the tht default

Additional info:

Comment 3 Marios Andreou 2015-08-19 14:45:36 UTC
literally one line fixup https://review.openstack.org/#/c/214649/

Comment 4 Marios Andreou 2015-08-24 17:12:07 UTC
upstream bug at https://bugs.launchpad.net/tripleo/+bug/1488176

Comment 7 Jiri Stransky 2015-09-08 13:55:17 UTC
*** Bug 1261054 has been marked as a duplicate of this bug. ***

Comment 9 Alexander Chuzhoy 2015-09-22 14:57:33 UTC
Verified:


Environment:
openstack-tripleo-heat-templates-0.8.6-64.el7ost.noarch

grep -rn ^mechanism_drivers /etc/neutron/plugins
/etc/neutron/plugins/ml2/ml2_conf.ini:20:mechanism_drivers =openvswitch

The mechanism_driver is set to 'openvswitch' only as expected.

Comment 11 errata-xmlrpc 2015-10-08 12:16:55 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.

https://access.redhat.com/errata/RHSA-2015:1862


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