kamelnetworks / sonic-buildimage

Kamel Networks' pending patches to SONiC
https://dev.azure.com/kamelnetworks/sonic/_build?definitionId=5
Other
3 stars 1 forks source link

orchagent: VTEP stuck in oper_down #11

Open bluecmd opened 6 months ago

bluecmd commented 6 months ago

VTEP seems to be in oper_down:

(vrf:mgmt)bluecmd@ixp-lab-sw1:~$ show vxlan remotevtep
+--------------+--------------+-------------------+--------------+
| SIP          | DIP          | Creation Source   | OperStatus   |
+==============+==============+===================+==============+
| 100.100.99.3 | 100.100.99.1 | EVPN              | oper_down    |
+--------------+--------------+-------------------+--------------+
| 100.100.99.3 | 100.100.99.2 | EVPN              | oper_down    |
+--------------+--------------+-------------------+--------------+

When a new VTEP is created, this is the log:

Feb 23 17:45:23.821085 ixp-lab-sw1 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel:3906 Setting peer_mode to 0
Feb 23 17:45:23.822627 ixp-lab-sw1 INFO syncd#syncd: [none] SAI_API_TUNNEL:mptnl_xgs_flexflow_create_sipdip_tnl:2087 SDK dscp_mode(UNIFORM)
Feb 23 17:45:23.822627 ixp-lab-sw1 INFO syncd#syncd: [none] SAI_API_TUNNEL:mptnl_xgs_flexflow_create_sipdip_tnl:2101 SDK ttl_mode(UNIFORM)
Feb 23 17:45:23.823377 ixp-lab-sw1 INFO syncd#syncd: [none] SAI_API_TUNNEL:mptnl_xgs_flexflow_create_sipdip_tnl:2168 tunnel_id (1275068420) flags (0) valid_elements (909) dscp_sel (0x1) dscp (0)
Feb 23 17:45:23.835438 ixp-lab-sw1 NOTICE swss#orchagent: :- createDynamicDIPTunnel: Created P2P Tunnel remote IP 100.100.99.2 
Feb 23 17:45:23.836334 ixp-lab-sw1 NOTICE swss#orchagent: :- addTunnelUser: diprefcnt for remote 100.100.99.2 = 1
Feb 23 17:45:23.840400 ixp-lab-sw1 ERR swss#orchagent: :- meta_sai_on_port_state_change_single: data.port_id oid:0x2a000000000a20 has unexpected type: SAI_OBJECT_TYPE_TUNNEL, expected PORT, BRIDGE_PORT or LAG
Feb 23 17:45:23.841284 ixp-lab-sw1 NOTICE swss#orchagent: :- addBridgePort: Add bridge port Port_EVPN_100.100.99.2 to default 1Q bridge
Feb 23 17:45:23.845154 ixp-lab-sw1 NOTICE swss#orchagent: :- addVlanMember: Add member Port_EVPN_100.100.99.2 to VLAN Vlan1234 vid:1234 pid0
Feb 23 17:45:23.845991 ixp-lab-sw1 ERR swss#orchagent: :- setPortPvid: pvid setting for tunnel Port_EVPN_100.100.99.2 is not allowed
bluecmd commented 6 months ago

Should be fixed by pulling https://github.com/sonic-net/sonic-swss/pull/2080