packstack cannot install openstack with linuxbridge + vxlan

Bug #1599025 reported by Anqi Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
Fix Released
Undecided
Ivan Chavero (imcsk8)

Bug Description

The answer file is as below:
CONFIG_PROVISION_DEMO=n
CONFIG_NEUTRON_L3_EXT_BRIDGE=provider
CONFIG_NEUTRON_L2_AGENT=linuxbridge
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=physnet1:eth0
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=linuxbridge

Also, I need to add a line (line 901 as shown below) in /usr/lib/python2.7/site-packages/packstack/plugins/neutron_350.py to ensure packstack run without throwing errors. (This issue has been raised in https://bugs.launchpad.net/packstack/+bug/1597653)

900 elif agent == "linuxbridge":
901 ovs_type = ""
902 host_var = 'CONFIG_NEUTRON_LB_HOST'
903 template_name = 'neutron_lb_agent'

Then after packstack complete, the /etc/neutron/plugins/ml2/linuxbridge_agent.ini file is as below:

[vxlan]
enable_vxlan = False
local_ip = <None>
l2_population = false

Vxlan network does not function with this config file. Instead, according to the official doc, the configuration should be as:

[vxlan]
enable_vxlan = True
local_ip = OVERLAY_INTERFACE_IP_ADDRESS
l2_population = True

The incorrect ml2 linuxbridge agent config could be caused by the incomplete puppet template (which is in a sharp contrast to neutron_ovs_agent.pp):
/usr/lib/python2.7/site-packages/packstack/puppet/templates/neutron_lb_agent.pp

Brief environment:
CentOS 7.1 + RDO Mitaka (latest)
packstack Mitaka 8.0.0

Changed in packstack:
assignee: nobody → Ivan Chavero (imcsk8) (ichavero-ichavero)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to packstack (master)

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

Changed in packstack:
status: New → In Progress
Revision history for this message
Alan Pevec (apevec) wrote :

Anqi, please help us test patch under review and provide the test result as a Gerrit comment, thanks!

Revision history for this message
Anqi Lu (anqilu) wrote :

Alan, the patch does not work for me. Review has been posted on Gerrit comment.
I suspect the route course is that I did not get the latest related code (e.g. openstack-puppet modules)

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Anqi, did you test linuxbridge mechanism driver with vxlan tunnels configuring it manually?

I've found some documentation [1] about kernel version (3.13) which is not in centos 7. However, required patches may have been backported so we are not sure if that combination is working fine:

[1] http://docs.openstack.org/mitaka/networking-guide/scenario-classic-lb.html#infrastructure

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to packstack (master)

Reviewed: https://review.openstack.org/341348
Committed: https://git.openstack.org/cgit/openstack/packstack/commit/?id=1ca1b0268e474c11acbedba7823efc4f1bd0db02
Submitter: Jenkins
Branch: master

commit 1ca1b0268e474c11acbedba7823efc4f1bd0db02
Author: Ivan Chavero <email address hidden>
Date: Wed Jul 13 02:15:44 2016 -0600

    Add vxlan to linuxbridge agent when enabled

    Packstack should add vxlan to linuxbridge configuration
    when enabled.

    Change-Id: I697f9abed1ac96975b4a67a68bae96bb5eb5670c
    Closes-bug: #1599025

Changed in packstack:
status: In Progress → Fix Released
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.