Revision history [back]

click to hide/show revision 1
initial version

Failed to bind port


I did a fresh installation of Openstack Qeens on Centos 7.5 with OVN (geneve network)

I get the following error:

2018-05-16 11:02:46.198 3387 ERROR neutron.plugins.ml2.managers [req-26b3bc5e-e282-42b2-a8db-6dcb8a142b33 - - - - -] Failed to bind port 371f4b69-2617-40c6-98a9-ff150efc42be on host rct2-os-neutron for vnic_type normal using segments [{'network_id': '9970da2f-631a-4931-a2de-6759f22c9852', 'segmentation_id': 61, 'physical_network': None, 'id': 'fdc12b59-9831-4728-897c-4aa8c407eb24', 'network_type': u'geneve'}]

The error is logged when creating a self service network.

The port is of type localport. It is used for the dhcp server spawned for the geneve network.

The dhcp port is DOWN.

[root@rct2-os-neutron ~]# ovn-nbctl show ... switch 12601326-b6c9-4079-8d7a-0360e3fd79fe (neutron-9970da2f-631a-4931-a2de-6759f22c9852) (aka selfservice2) port 5d139a9c-6af4-4ff3-bf5e-7a6788bfaa80 addresses: ["fa:16:3e:75:d7:6b"] port 5c16a14f-53bf-4529-9e0e-e43d9f72c806 type: router router-port: lrp-5c16a14f-53bf-4529-9e0e-e43d9f72c806 port aa18b588-fd0d-4c69-bd8b-c2c3af269676 addresses: ["fa:16:3e:1a:22:ee"] port 371f4b69-2617-40c6-98a9-ff150efc42be <================= this port is down type: localport addresses: ["fa:16:3e:e8:9c:8e"] ...

Neutron config is :

[root@rct2-os-neutron ~]# cat /etc/neutron/neutron.conf [DEFAULT] auth_strategy = keystone core_plugin = ml2 service_plugins = networking_ovn.l3.l3_ovn.OVNL3RouterPlugin allow_overlapping_ips = True notification_driver = messaging transport_url = rabbit://openstack:openstack@rct2-os-controller notify_nova_on_port_status_changes = true notify_nova_on_port_data_changes = true [agent] [cors] [database] connection = mysql+pymysql://neutron:neutron@rct2-os-controller/neutron [keystone_authtoken] auth_uri = http://rct2-os-controller:5000 auth_url = http://rct2-os-controller:35357 memcached_servers = rct2-os-controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = neutron password = XXXXXXX [matchmaker_redis] [nova] auth_url = http://rct2-os-controller:35357 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = nova password = XXXX

The ML2 configuration is:

**[root@rct2-os-neutron ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini [DEFAULT] [l2pop] [ml2] type_drivers = flat,vlan,gre,vxlan,geneve tenant_network_types = geneve,flat,vlan,gre,vxlan mechanism_drivers = ovn extension_drivers = port_security enable_ipset = True [ml2_type_flat] flat_networks = * [ml2_type_geneve] vni_ranges = 1:65536

[ml2_type_gre] tunnel_id_ranges = 20:100 [ml2_type_vlan] network_vlan_ranges=provider:1000:2999 [ml2_type_vxlan] vni_ranges = 1:9999

[ovn] ovn_nb_connection = tcp: ovn_sb_connection = tcp: ovn_l3_scheduler = leastloaded [securitygroup] enable_ipset = true [root@rct2-os-neutron ~]#**

Similar errors have already been reported in the past. But no accurate response can be find.

Any help is welcome.