Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
On smartswitch, When we run multiple commands such as:
config chassis modules startup DPU0
config chassis modules shutdown DPU0
config chassis modules startup DPU0
This causes chassisd to create multiple threads for processing admin state change requests, calling the platform specific set_admin_state code: Seen here
As these threads are executed in parallel, This causes issues with the DPU receiving power on and power off requests in parallel
Steps to Reproduce
Execute the following commands in series without waiting:
config chassis modules startup DPU0
config chassis modules shutdown DPU0
config chassis modules startup DPU0
config chassis modules shutdown DPU0
Check logs for DPU power on and power off executions
Actual Behavior and Expected Behavior
We need to either:
- Queue the requests or
- Return chassis modules startup/shutdown commands with error saying that there is already a command being executed
Relevant log output
Output of show version, show techsupport
Attach files (if any)
No response
Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
On smartswitch, When we run multiple commands such as:
config chassis modules startup DPU0config chassis modules shutdown DPU0config chassis modules startup DPU0This causes chassisd to create multiple threads for processing admin state change requests, calling the platform specific set_admin_state code: Seen here
As these threads are executed in parallel, This causes issues with the DPU receiving power on and power off requests in parallel
Steps to Reproduce
Execute the following commands in series without waiting:
config chassis modules startup DPU0config chassis modules shutdown DPU0config chassis modules startup DPU0config chassis modules shutdown DPU0Check logs for DPU power on and power off executions
Actual Behavior and Expected Behavior
We need to either:
Relevant log output
Output of
show version,show techsupportAttach files (if any)
No response