Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Nokia-7215] [marvell] orchagent exited when activating mirror_session #9830

Open
bingwang-ms opened this issue Jan 22, 2022 · 4 comments
Open

Comments

@bingwang-ms
Copy link
Contributor

Description

orchagent exited when activating mirror session

Jan 22 03:59:36.119820 str2-7215-acs-1 NOTICE swss#orchagent: :- updateNextHop: Updating mirror session test_session_1 with route 2.2.2.0/24
Jan 22 03:59:36.120835 str2-7215-acs-1 NOTICE swss#orchagent: :- updateNextHop:     next hop IPs: 10.0.0.63@PortChannel104
Jan 22 03:59:36.122626 str2-7215-acs-1 NOTICE swss#orchagent: :- updateNextHop: Updated mirror session state db test_session_1 nexthop to 10.0.0.63@PortChannel104
Jan 22 03:59:36.124765 str2-7215-acs-1 NOTICE swss#orchagent: :- getNeighborInfo: Mirror session test_session_1 neighbor is PortChannel104
Jan 22 03:59:36.128549 str2-7215-acs-1 INFO syncd#syncd: ../xps/xpsInterface.c:959, ERROR: info is not found 
Jan 22 03:59:36.128549 str2-7215-acs-1 INFO syncd#syncd: ../xps/xpsInterface.c:931, ERROR: Getting Interface(-1095428656) type failed 
Jan 22 03:59:36.128549 str2-7215-acs-1 INFO syncd#syncd: ../xps/xpsL3.c:5060, ERROR: Failed to get interface type for egress interface -1095428656#012 
Jan 22 03:59:36.128549 str2-7215-acs-1 INFO syncd#syncd: ../xps/xpsL3.c:4965, ERROR: Failed to convert XPS NH entry to CPSS entry for NH: 11 
Jan 22 03:59:36.130494 str2-7215-acs-1 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_ITEM_NOT_FOUND
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd 03:59:36 SAI: NOTICE MIRROR xpSaiMirror.c:726 : Failed to set attribute 12 : retVal -2
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd 03:59:36 SAI: NOTICE MIRROR xpSaiMirror.c:726 : Failed to set attribute 14 : retVal -2
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd ../xps/xpsInterface.c:959, ERROR: info is not found 
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd ../xps/xpsInterface.c:931, ERROR: Getting Interface(-1095428656) type failed 
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd ../xps/xpsL3.c:5060, ERROR: Failed to get interface type for egress interface -1095428656
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd  
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd ../xps/xpsL3.c:4965, ERROR: Failed to convert XPS NH entry to CPSS entry for NH: 11 
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd 03:59:36 SAI: ERROR MIRROR xpSaiMirror.c:2470 : Failed in xpsL3SetRouteNextHopAndNextHopGroup with error 80
Jan 22 03:59:36.130494 str2-7215-acs-1 INFO syncd#/supervisord: syncd 03:59:36 SAI: ERROR MIRROR xpSaiMirror.c:367 : Failed to update tunnel NH with error -7 
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_MONITOR_PORT: oid:0x1000000000034
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_TYPE: SAI_MIRROR_SESSION_TYPE_ENHANCED_REMOTE
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_ERSPAN_ENCAPSULATION_TYPE: SAI_ERSPAN_ENCAPSULATION_TYPE_MIRROR_L3_GRE_TUNNEL
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_IPHDR_VERSION: 4
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_TOS: 32
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_TTL: 4
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_SRC_IP_ADDRESS: 1.1.1.1
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_DST_IP_ADDRESS: 2.2.2.2
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_SRC_MAC_ADDRESS: 50:E0:EF:7A:F1:D1
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_DST_MAC_ADDRESS: 02:24:9F:47:0E:A7
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_MIRROR_SESSION_ATTR_GRE_PROTOCOL_TYPE: 35006
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR swss#orchagent: :- create: create status: SAI_STATUS_ITEM_NOT_FOUND
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR swss#orchagent: :- activateSession: Failed to activate mirroring session test_session_1
Jan 22 03:59:36.134535 str2-7215-acs-1 ERR swss#orchagent: :- handleSaiCreateStatus: Encountered failure in create operation, exiting orchagent, SAI API: SAI_API_MIRROR, status: SAI_STATUS_ITEM_NOT_FOUND

Steps to reproduce the issue:

1.Shutdown all BGP config bgp shutdown all
2.Create a mirror session config mirror_session add test_session_1 1.1.1.1 2.2.2.2 8 4
3.Add a static route to collector vtysh -c "configure terminal" -c "ip route 2.2.2.0/24 10.0.0.63"

Describe the results you received:

orchagent exited because SAI return error

Describe the results you expected:

Output of show version:

SONiC Software Version: SONiC.20201231.50
Distribution: Debian 10.11
Kernel: 4.19.0-12-2-armmp
Build commit: 0720dd1251
Build date: Fri Jan 21 16:40:18 UTC 2022
Built by: AzDevOps@sonic-agent-arm64-02

Platform: armhf-nokia_ixs7215_52x-r0
HwSKU: Nokia-7215
ASIC: marvell
ASIC Count: 1
Serial Number: NK205210084
Uptime: 04:01:17 up  1:17,  3 users,  load average: 2.93, 3.78, 3.33

Docker images:
REPOSITORY                 TAG                 IMAGE ID            SIZE
docker-syncd-mrvl          20201231.50         1676bfbdc32c        546MB
docker-syncd-mrvl          latest              1676bfbdc32c        546MB
docker-snmp                20201231.50         f118fe3e753d        467MB
docker-snmp                latest              f118fe3e753d        467MB
docker-teamd               20201231.50         53102d8accb5        435MB
docker-teamd               latest              53102d8accb5        435MB
docker-router-advertiser   20201231.50         53399a5a0d79        428MB
docker-router-advertiser   latest              53399a5a0d79        428MB
docker-platform-monitor    20201231.50         271246a1b81e        561MB
docker-platform-monitor    latest              271246a1b81e        561MB
docker-lldp                20201231.50         ca98c2222f54        431MB
docker-lldp                latest              ca98c2222f54        431MB
docker-database            20201231.50         3993b75cb9ea        427MB
docker-database            latest              3993b75cb9ea        427MB
docker-acms                20201231.50         eead63234782        271MB
docker-acms                latest              eead63234782        271MB
docker-orchagent           20201231.50         82655245db79        521MB
docker-orchagent           latest              82655245db79        521MB
docker-dhcp-relay          20201231.50         ab80fabaccda        442MB
docker-dhcp-relay          latest              ab80fabaccda        442MB
docker-sonic-telemetry     20201231.50         39f65d822b30        504MB
docker-sonic-telemetry     latest              39f65d822b30        504MB
docker-fpm-frr             20201231.50         b0159c4cf554        447MB
docker-fpm-frr             latest              b0159c4cf554        447MB
docker-sflow               20201231.50         57493c04ad16        435MB
docker-sflow               latest              57493c04ad16        435MB
docker-mux                 20201231.50         b76a0fb8510c        446MB
docker-mux                 latest              b76a0fb8510c        446MB
k8s.gcr.io/pause           3.4.1               3f46e9d0aa60        325kB

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@dflynn-Nokia
Copy link
Contributor

Hi,
Can you provide 'show techsupport' info?

Thanks,
Dennis

@bingwang-ms
Copy link
Contributor Author

bingwang-ms commented Jan 27, 2022

Hi, Can you provide 'show techsupport' info?

Thanks, Dennis

Offered offline.

@radha-danda
Copy link

Everflow/Mirror functionality is not supported in M0 on SONIC 202012 branch.
This feature is currently planned to be supported on SONIC master branch

lguohan pushed a commit that referenced this issue Mar 5, 2022
- Fixed SAI debian version name issue reported in Marvell sai package file name format issue Marvell-switching/sonic-marvell-binaries#62
- Implement DHCP, DHCv6 traps as per SAI Specifications
- Added support to return SAI_STATUS_NOT_SUPPORTED for ERSPAN feature [Nokia-7215] [marvell] orchagent exited when activating mirror_session #9830

Signed-off-by: Rajkumar Pennadam Ramamoorthy <[email protected]>
zjswhhh pushed a commit that referenced this issue Mar 7, 2022
- Fixed SAI debian version name issue reported in Marvell sai package file name format issue Marvell-switching/sonic-marvell-binaries#62
- Implement DHCP, DHCv6 traps as per SAI Specifications
- Added support to return SAI_STATUS_NOT_SUPPORTED for ERSPAN feature [Nokia-7215] [marvell] orchagent exited when activating mirror_session #9830

Signed-off-by: Rajkumar Pennadam Ramamoorthy <[email protected]>
@radha-danda
Copy link

@bingwang-ms, Fix has been delivered to this and PR got merged. Can this issue be closed please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants