since https://review.openstack.org/#/c/33107/21 has been merged, the agent waits for tunnel_type is the tunnel_sync rpc answer, but the ovs plugin doesn't provide this information
2013-07-15 17:21:29.357 16928 DEBUG neutron.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_context_read_deleted': u'no', u'_context_tenant_id': None, u'args': {u'tunnel_ip': u'192.168.254.71', u'tunnel_type': u'', u'tunnel_id': 1}, u'namespace': None, u'_unique_id': u'a13c8329d49b41ff9fd33bf27b088a43', u'_context_is_admin': True, u'version': u'1.0', u'_context_project_id': None, u'_context_timestamp': u'2013-07-15 15:21:29.157552', u'_context_user_id': None, u'method': u'tunnel_update'} _safe_log /opt/stack/neutron/neutron/openstack/common/rpc/common.py:276
2013-07-15 17:21:29.358 16928 DEBUG neutron.openstack.common.rpc.amqp [-] unpacked context: {'user_id': None, 'roles': [u'admin'], 'tenant_id': None, 'is_admin': True, 'timestamp': u'2013-07-15 15:21:29.157552', 'project_id': None, 'read_deleted': u'no'} _safe_log /opt/stack/neutron/neutron/openstack/common/rpc/common.py:276
2013-07-15 17:21:29.358 16928 DEBUG neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] tunnel_update received tunnel_update /opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py:288
2013-07-15 17:21:29.359 16928 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] No tunnel_type specified, cannot create tunnels
Mathieu, is this only a problem with the ML2 TypeDriver patches? Because the review you're mentioning here worked just fine every time I functionally tested it. Are you perhaps not setting up your devstack correctly? With this review [1], you have to set up devstack as follows:
Control: EXTRA_AGENT_ OPTS=(tunnel_ types=vxlan) EXTRA_OVS_ OPTS=(tenant_ network_ type=vxlan) OPTS=(tenant_ network_ type=vxlan tunnel_type=vxlan)
Q_AGENT_
Q_AGENT_
Q_SRV_EXTRA_
Compute: EXTRA_AGENT_ OPTS=(tunnel_ types=vxlan) EXTRA_OVS_ OPTS=(tenant_ network_ type=vxlan)
Q_AGENT_
Q_AGENT_
Give that a try and see if it helps. This may only be an issue when running with ML2.
[1] https:/ /review. openstack. org/#/c/ 33107/21