Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in creating gre port of br_tun bridge .....

I observed that ofport value as -1 for the created gre port. In setup_tunnel_port() function of file, a validation is there for the ofport.

if ofport < 0: LOG.error(_("Failed to set-up %(type)s tunnel port to %(ip)s"), {'type': tunnel_type, 'ip': remote_ip}) return 0

Here ofport is of string type and is comparing with int, so the condition fails and it proceeds further. If its corrected then error msg observed is

ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Failed to set-up gre tunnel port to XXXXXXX

Could someone please let me know the reason for the gre port creation failure.

Thanks in advance :)