elektra
elektra copied to clipboard
Check & Enable serial console for Baremetal instances
During import in ironic we enable the serial console for baremetal nodes. However, it seems some automatism is disabling it after a while. If a user now tries to use the console in elektra and the console is already disabled, it will not work (console is black) without any error to the user.
Would it be possible for elektra to check if the console is enabled and if not enabled it before opening it?
The current status can be viewed by openstack baremetal node console show <node id or name> and can be enabled via openstack baremetal node console enable <node id or name>