Skip to content

[Broadcom platform] CLI change MTU causes portmgrd crashed #8404

@vincentchiang-ec

Description

@vincentchiang-ec

Description

Use CLI to change MTU, portmgrd is crashed.

Steps to reproduce the issue:

  1. Use CLI "sudo config interface mtu Ethernet0 1501" to change MTU value

Describe the results you received:

Syslog:

Aug 10 00:51:19.879027 sonic NOTICE swss#orchagent: :- doPortTask: Set port Ethernet0 MTU to 1501
Aug 10 00:51:19.880180 sonic NOTICE swss#orchagent: :- setRouterIntfsMtu: Set router interface Ethernet0 MTU to 1501
Aug 10 00:51:19.881378 sonic INFO swss#/supervisord: portmgrd Error: mtu greater than device maximum.
Aug 10 00:51:19.881936 sonic ERR swss#portmgrd: :- main: Runtime error: /sbin/ip link set dev "Ethernet0" mtu "1501" :
Aug 10 00:51:20.577196 sonic INFO swss#supervisord 2021-08-10 00:51:20,576 INFO exited: portmgrd (exit status 255; not expected)
Aug 10 00:51:21.590176 sonic INFO swss#/supervisor-proc-exit-listener: Process 'portmgrd' exited unexpectedly. Terminating supervisor 'swss'

Describe the results you expected:

Output of show version:

root@sonic:~# show ver

SONiC Software Version: SONiC.master.25538-5e435e05a
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: 5e435e05a
Build date: Mon Jul 26 15:32:45 UTC 2021
Built by: AzDevOps@sonic-build-workers-000J8D

Platform: x86_64-accton_as7816_64x-r0
HwSKU: Accton-AS7816-64X
ASIC: broadcom
ASIC Count: 1
Serial Number: None
Model Number: None
Hardware Revision: None
Uptime: 01:00:15 up 28 min,  2 users,  load average: 0.00, 0.28, 0.50

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

This issue is fixed by #3895 before, but the modification is removed after #6526 merged.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions