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

Dynamic port breakout before warm reboot would cause swss to crash. #2989

Open
chiourung opened this issue Dec 12, 2023 · 0 comments
Open

Dynamic port breakout before warm reboot would cause swss to crash. #2989

chiourung opened this issue Dec 12, 2023 · 0 comments

Comments

@chiourung
Copy link
Contributor

Reproduce step:

  1. breakout port
root@as7726-32x-2:/# config interface breakout Ethernet0 4x10G -f -y

Running Breakout Mode : 1x100G[40G]
Target Breakout Mode : 4x10G

Ports to be deleted :
 {
    "Ethernet0": "100000"
}
Ports to be added :
 {
    "Ethernet0": "10000",
    "Ethernet1": "10000",
    "Ethernet2": "10000",
    "Ethernet3": "10000"
}
Breakout process got successfully completed.
Please note loaded setting will be lost after system reboot. To preserve setting, run `config save`.
  1. reboot

Error log:

NOTICE swss#orchagent: :- bake: foundPortConfigDone = 1
NOTICE swss#orchagent: :- bake: foundPortInitDone = 1
NOTICE swss#orchagent: :- bake: m_portTable->getKeys 37
NOTICE swss#orchagent: :- bake: portCount = 32, m_portCount = 35
ERR swss#orchagent: :- bake: Invalid port table: portCount, expecting 32, got 35

The original port count is 32 and the count in "PORT_TABLE:PortConfigDone" is 34.
After breakout one port to four ports, the port count is 35, but the count in "PORT_TABLE:PortConfigDone" is not updated.

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

No branches or pull requests

1 participant