[Openstack] Geneve isn't working on Queens, Ubuntu 18.04 - Failed to bind port type geneve

Slawomir Kaplonski skaplons at redhat.com
Wed Jun 6 07:58:32 UTC 2018


Hi,

You probably need also change in L2 agent’s config as it needs to report that it supports Geneve tunnel types as well. It’s defined in https://github.com/openstack/neutron/blob/2820c25e3a67e1cc747abdd6d69e4a0331425904/neutron/conf/plugins/ml2/drivers/ovs_conf.py#L107

> Wiadomość napisana przez Martinx - ジェームズ <thiagocmartinsc at gmail.com> w dniu 05.06.2018, o godz. 00:59:
> 
> Hello!
> 
>  I have OpenStack Queens up and running on Ubuntu 18.04 with VXLAN!
> 
>  It is awesome!
> 
>  However, I want to use it with Geneve, instead of VXLAN.
> 
>  But, it doesn't work!
> 
>  With VXLAN, I have the following ml2_conf.ini:
> 
> ---
> [ml2]
> type_drivers = vxlan,flat,vlan
> tenant_network_types = vxlan,flat,vlan
> mechanism_drivers = openvswitch,l2population
> extension_drivers = port_security
> overlay_ip_version = 4
> ---
> 
>  All good! I can launch instances and ping the Internet from within an instance.
> 
>  So, when I try the Geneve instead, like this:
> 
> ---
> [ml2]
> type_drivers = geneve,vxlan,flat,vlan
> tenant_network_types = geneve,vxlan,flat,vlan
> mechanism_drivers = openvswitch,l2population
> extension_drivers = port_security
> overlay_ip_version = 4
> ---
> 
> NOTE: I can easily bring up a clean Ubuntu 18.04 server image, and install OpenStack from scratch, to do the each test independently. I have my own Ansible automation to deploy OpenStack Queens on Ubuntu 18.04. As I've said, it works fine with VXLAN but, not with Geneve (2 lines change from one deployment, to another).
> 
> 
> So, while trying to create an instance with Geneve, the following error appear on Neutron logs:
> 
> ---
> 2018-06-04 22:55:40.677 11426 ERROR neutron.plugins.ml2.managers [req-c988c769-690e-45db-b810-3b35f0e8cba8 bda3aed0ccae46008f9928885280c085 46f4131518fd4b699ac80bc867fd1832 - default default] Failed to bind port 17e4dd94-7655-40f5-9077-b6e7c583c7eb on host queens-1 for vnic_type normal using segments [{'network_id': '6f805d1f-dfb6-42f6-846a-e39fac80ca8c', 'segmentation_id': 19, 'physical_network': None, 'id': '51a89942-5a91-47c6-872b-b33d2e6d418d', 'network_type': u'geneve'}]
> ---
> 
>  Is it a bug?
> 
>  I appreciate any help!
> 
> Cheers!
> Thiago
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

— 
Slawek Kaplonski
Senior software engineer
Red Hat




More information about the Openstack mailing list