Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1069215 - Packstack failed to configure Neutron to work with OVS and GRE
Packstack failed to configure Neutron to work with OVS and GRE
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
4.0
Unspecified Linux
high Severity high
: z2
: 4.0
Assigned To: Martin Magr
Ofer Blaut
: Regression, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-24 08:31 EST by Nir Magnezi
Modified: 2014-03-04 14:15 EST (History)
9 users (show)

See Also:
Fixed In Version: openstack-packstack-2013.2.1-0.25.dev987.el6ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-04 14:15:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1277522 None None None Never
OpenStack gerrit 76508 None None None Never
OpenStack gerrit 76528 None None None Never
Red Hat Product Errata RHSA-2014:0233 normal SHIPPED_LIVE Important: openstack-packstack security and bug fix update 2014-03-04 19:10:57 EST

  None (edit)
Description Nir Magnezi 2014-02-24 08:31:50 EST
Description of problem:
=======================
Packstack failed to configure Neutron to work with OVS and GRE.
Packstack did not indicate any error, but neutron-openvswitch-agent failed to start with the following error:

ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] (u'Invalid tunnel type specificed: %s', '') Agent terminated!

The reason: Packstack did not configure any value in 'tunnel_types' under the 'agent' section in: /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
Once I configured tunnel_types = gre , the neutron-openvswitch-agent started OK.

Packstack Neutron related parameters I used:
CONFIG_NEUTRON_INSTALL=y
CONFIG_NEUTRON_SERVER_HOST=192.168.160.29
CONFIG_NEUTRON_KS_PW=123456
CONFIG_NEUTRON_DB_PW=123456
CONFIG_NEUTRON_L3_HOSTS=192.168.160.27
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_DHCP_HOSTS=192.168.160.27
CONFIG_NEUTRON_LBAAS_HOSTS=192.168.160.29
CONFIG_NEUTRON_L2_PLUGIN=openvswitch
CONFIG_NEUTRON_METADATA_HOSTS=192.168.160.27
CONFIG_NEUTRON_METADATA_PW=123456
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=local
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=local
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
CONFIG_NEUTRON_ML2_VXLAN_GROUP=
CONFIG_NEUTRON_ML2_VNI_RANGES=
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
CONFIG_NEUTRON_LB_VLAN_RANGES=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=gre
CONFIG_NEUTRON_OVS_VLAN_RANGES=inter-vlan:208:210,ext-vlan:185:185
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=inter-vlan:br-eth3,ext-vlan:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-eth3:eth3,br-ex:eth3.185
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1:1000
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth3
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789

Version-Release number of selected component (if applicable):
=============================================================
openstack-packstack-2013.2.1-0.24.dev982.el6ost.noarch

How reproducible:
=================
Tested Once.

Steps to Reproduce:
===================
Use packstack with the Neutron entries I mentioned above.

Actual results:
===============
neutron-openvswitch-agent won't start.

Snipped from the neutron-openvswitch-agent log:
2014-02-24 13:57:18.823 7096 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] (u'Invalid tunnel type specificed: %s', '') Agent terminated!

Expected results:
=================
Packstack should install OpenStack with Neutron with OVS and GRE.
Comment 3 Arthur Berezin 2014-02-26 09:15:58 EST
Ack to A2.
Comment 7 Ofer Blaut 2014-03-02 03:26:06 EST
Tested on openstack-packstack-2013.2.1-0.25.dev987.el6ost.noarch

Fix include update in plugins file : tunnel_types =gre

Traffic was tested as well
Comment 9 errata-xmlrpc 2014-03-04 14:15:14 EST
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/RHSA-2014-0233.html

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