Bug 1080947
| Summary: | packstack should support l2population mechanism driver as part of ml2 configuration | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Nir Magnezi <nmagnezi> |
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED WORKSFORME | QA Contact: | Nir Magnezi <nmagnezi> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 (RHEL 7) | CC: | amuller, aortega, derekh, lpeer, nyechiel, oblaut, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 5.0 (RHEL 7) | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-04 12:55:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nir Magnezi
2014-03-26 10:47:29 UTC
Looking at the code and git log CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS accepts following from the beginning of ML2 support:
[para@elysium packstack]$ git show 7be825d7b3fcd5be5 | grep -A 12 "neutron-ml2-mechanism-drivers"
+ {"CMD_OPTION" : "neutron-ml2-mechanism-drivers",
+ "CONF_NAME" : "CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS",
+ "USAGE" : ("A comma separated ordered list of "
+ "networking mechanism driver entrypoints "
+ "to be loaded from the "
+ "neutron.ml2.mechanism_drivers namespace."),
+ "PROMPT" : ("Enter a comma separated ordered list of "
+ "networking mechanism driver entrypoints"),
+ "OPTION_LIST" : ["logger", "test", "linuxbridge",
+ "openvswitch", "hyperv", "ncs", "arista",
+ "cisco_nexus", "l2population"],
+ "VALIDATORS" : [validators.validate_multi_options],
+ "DEFAULT_VALUE" : "openvswitch",
Is there something else which needs to be configured to have l2population working?
(In reply to Martin Magr from comment #2) > Looking at the code and git log CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS accepts > following from the beginning of ML2 support: > > [para@elysium packstack]$ git show 7be825d7b3fcd5be5 | grep -A 12 > "neutron-ml2-mechanism-drivers" > + {"CMD_OPTION" : "neutron-ml2-mechanism-drivers", > + "CONF_NAME" : "CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS", > + "USAGE" : ("A comma separated ordered list of " > + "networking mechanism driver entrypoints " > + "to be loaded from the " > + "neutron.ml2.mechanism_drivers > namespace."), > + "PROMPT" : ("Enter a comma separated ordered list of " > + "networking mechanism driver > entrypoints"), > + "OPTION_LIST" : ["logger", "test", "linuxbridge", > + "openvswitch", "hyperv", "ncs", "arista", > + "cisco_nexus", "l2population"], > + "VALIDATORS" : [validators.validate_multi_options], > + "DEFAULT_VALUE" : "openvswitch", > > Is there something else which needs to be configured to have l2population > working? You need to append "l2population" to the comma seperated list of mechanism drivers, as well as enable the "l2_population" flag in the [agent] section of the plugin.ini file passed to every ovs/LB agent on every compute node and network node. Of course value of CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS is inserted to plugin.ini to parameter ml2/mechanism_drivers and (agent|vxlan)/l2_population is set to true if openvswitch/linuxbridge is cantained in mechanism drivers list together with l2population. So if this is it I'm gonna close this bug as WORKSFORME, unless there's other problem. l2poplation was configured in answer file and into the plugins.ini file openstack-packstack-2014.1.1-0.20.dev1109.el7ost.noarch Removing NEEDINFO since it has been tested by Ofer. |