CCI-MOC / esi

Elastic Secure Infrastructure project
6 stars 12 forks source link

Improve serial console handling #505

Open tzumainn opened 7 months ago

tzumainn commented 7 months ago

Can we get rid of the failure when disconnection (or dropped) and reconnectiing:

$ socat STDIO tcp:129.10.5.143:8026
Info: SOL payload already active on another session

Is it possible to add multiple readers to the consoles?

tzumainn commented 7 months ago

From naved: "when disconnecting does ironic send .~ to the stdin for the ipmitool process? I think that’s a way to cleanly terminate an ipmitool sol session. When the connection is dropped due to other reasons, then I used to run ipmitool sol deactivate to drop an orphan sessions before starting a new one."

I thiiiiink this is a client disconnect issue, but worth checking!