Open
Description
Summary
Add a new option to the wwctl node console command to be able to use it in case that another SOL session is active.
Rationale
In some cases, due to many reasons (network issues, NIC status changes due to firmware, etc.) SOL session is closed but SOL remains activated and wwctl node console command cannot connect again until SOL is deactivated.
# wwctl node console c01
[SOL Session operational. Use ~? for help]
[...]
SOL session closed by BMC
ERROR : c01: Console problem
ERROR: exit status 1
# wwctl node console c01
Info: SOL payload already active on another session
ERROR : c01: Console problem
ERROR: exit status 1
Description
Add some "--close/deactivate" "-c/-d" option to the wwctl node console command that executes ipmitool sol deactivate command.
or
Add a "--force / -f" option that forces the deactivation of any previous active session before starting the SOL session.
Additional information
No response
General information
- I have searched the issues of this repo and believe this is not a duplicate