Ask Your Question

rct2's profile - activity

2019-08-08 03:54:48 -0500 received badge  Famous Question (source)
2019-08-08 03:54:48 -0500 received badge  Notable Question (source)
2019-04-16 06:00:46 -0500 received badge  Popular Question (source)
2018-06-24 19:25:46 -0500 asked a question Failed to bind port

Hello,

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 192.168.1.11"] 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 192.168.1.5"] port 371f4b69-2617-40c6-98a9-ff150efc42be <================= this port is down type: localport addresses: ["fa:16:3e:e8:9c:8e 192.168.1.2"] ...

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:10.84.19.82:6641 ovn_sb_connection = tcp:10.84.19.82:6642 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.