Bug 1069215 - Packstack failed to configure Neutron to work with OVS and GRE
Summary: Packstack failed to configure Neutron to work with OVS and GRE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 4.0
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: z2
: 4.0
Assignee: Martin Magr
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-24 13:31 UTC by Nir Magnezi
Modified: 2022-07-09 06:32 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.25.dev987.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-04 19:15:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1277522 0 None None None Never
OpenStack gerrit 76508 0 None None None Never
OpenStack gerrit 76528 0 None None None Never
Red Hat Issue Tracker OSP-16412 0 None None None 2022-07-09 06:32:44 UTC
Red Hat Product Errata RHSA-2014:0233 0 normal SHIPPED_LIVE Important: openstack-packstack security and bug fix update 2014-03-05 00:10:57 UTC

Description Nir Magnezi 2014-02-24 13:31:50 UTC
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 14:15:58 UTC
Ack to A2.

Comment 7 Ofer Blaut 2014-03-02 08:26:06 UTC
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 19:15:14 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/RHSA-2014-0233.html


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