Failed to bind port to router external gateway

Asked by kranthi kiran guttikonda

Hi,

I am having troubles to use external gateway from provider flat network to router using OVS. I need following logs in neutron-server

2018-01-31 17:21:10.341 17 INFO neutron.plugins.ml2.plugin [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Attempt 8 to bind port 184e2584-552c-4704-8d96-abe2cb180565
2018-01-31 17:21:10.368 17 ERROR neutron.plugins.ml2.managers [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Failed to bind port 184e2584-552c-4704-8d96-abe2cb180565 on host kube-vm2 for vnic_type normal using segments [{'segmentation_id': None, 'physical_network': u'public', 'id': u'8192576b-409f-460e-abb8-5117223cfdce', 'network_type': u'flat'}]
2018-01-31 17:21:10.370 17 INFO neutron.plugins.ml2.plugin [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Attempt 9 to bind port 184e2584-552c-4704-8d96-abe2cb180565
2018-01-31 17:21:10.387 17 ERROR neutron.plugins.ml2.managers [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Failed to bind port 184e2584-552c-4704-8d96-abe2cb180565 on host kube-vm2 for vnic_type normal using segments [{'segmentation_id': None, 'physical_network': u'public', 'id': u'8192576b-409f-460e-abb8-5117223cfdce', 'network_type': u'flat'}]
2018-01-31 17:21:10.388 17 INFO neutron.plugins.ml2.plugin [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Attempt 10 to bind port 184e2584-552c-4704-8d96-abe2cb180565
2018-01-31 17:21:10.407 17 ERROR neutron.plugins.ml2.managers [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Failed to bind port 184e2584-552c-4704-8d96-abe2cb180565 on host kube-vm2 for vnic_type normal using segments [{'segmentation_id': None, 'physical_network': u'public', 'id': u'8192576b-409f-460e-abb8-5117223cfdce', 'network_type': u'flat'}]
2018-01-31 17:21:10.431 17 WARNING neutron.plugins.ml2.rpc [req-20670d5d-be5c-454d-b91d-be84291a63cd - - - - -] Device 184e2584-552c-4704-8d96-abe2cb180565 requested by agent ovs-agent-kube-vm4 on network df355394-4597-41a0-9fd5-480e8599b7c0 not bound, vif_type: binding_failed

I am struck with this issue from last few days. Can I get some help? Also I have tried login to l3-agent container bash and tried ip netns exec and it didn't work for me

root@kube-vm1:~# kubectl -n openstack exec -ti neutron-l3-agent-mthlm bash

()[neutron@kube-vm2 /]$
()[neutron@kube-vm2 /]$
()[neutron@kube-vm2 /]$ ip netns
qrouter-adf67f97-ed6e-4278-ba6e-9ef67bd14b6d
()[neutron@kube-vm2 /]$ ip netns exec qrouter-adf67f97-ed6e-4278-ba6e-9ef67bd14b6d ifconfig
setting the network namespace "qrouter-adf67f97-ed6e-4278-ba6e-9ef67bd14b6d" failed: Operation not permitted
()[neutron@kube-vm2 /]$

Is this expected behavior?

Thanks,
Kranthi

Question information

Language:
English Edit question
Status:
Solved
For:
openstack-helm Edit question
Assignee:
No assignee Edit question
Solved by:
kranthi kiran guttikonda
Solved:
Last query:
Last reply:
Revision history for this message
kranthi kiran guttikonda (kranthi-guttikonda9) said :
#1

This is the problem with provider network configuration. Sorry for asking dumb question