Failure to create vxlan VMs, reporting that "gre" is not a valid network type
I have created a simple OpenStack juno deployment using OpenVSwitch and vxlan. I have checked that nowhere in any configuration file does "gre" appear, and yet when I create a VM I see the error below.
I suspect that the default tunnel type is GRE, and I have failed to set it on the controller. Setting both "tunnel_type" and "tunnel_types" to "vxlan" in the agent section of /etc/neutron/neutron.conf hasn't made any difference.
Can somebody please suggest what the problem might be and / or what configuration options to try?
2015-08-05 12:59:08.014 3015 ERROR oslo.messaging.rpc.dispatcher [req-891c6a44-40e8-49b7-a8b0-4300746cb40f ] Exception during message handling: Invalid input for operation: network_type value 'gre' not supported.
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/type_tunnel.py", line 180, in tunnel_sync
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher raise exc.InvalidInput(error_message=msg)
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher InvalidInput: Invalid input for operation: network_type value 'gre' not supported.
2015-08-05 12:59:08.014 3015 TRACE oslo.messaging.rpc.dispatcher
2015-08-05 12:59:08.015 3015 ERROR oslo.messaging._drivers.common [req-891c6a44-40e8-49b7-a8b0-4300746cb40f ] Returning exception Invalid input for operation: network_type value 'gre' not supported. to caller
2015-08-05 12:59:08.016 3015 ERROR oslo.messaging._drivers.common [req-891c6a44-40e8-49b7-a8b0-4300746cb40f ] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/type_tunnel.py", line 180, in tunnel_sync\n raise exc.InvalidInput(error_message=msg)\n', "InvalidInput: Invalid input for operation: network_type value 'gre' not supported.\n"]
Check in ml2_conf.ini
GRE is not default type_drivers as well as tenant_network_types.
I didn't have gre in either of those files, but no longer have all the config (I nuked the deployment because I could never get it working), so no longer have access to the exact content.