Open edigaryev opened 3 years ago
Related to #402
@cevich, thank you for the inspiration!
Oh! This would be handy on occasion. You never know when a kernel panic will happen, and it may not be easily reproducible. Though I would suggest making it optional, in case log storage-space is a concern for people. There are cases where console output can be overwhelmingly huge depending on the OS/Distro/Version. Some are very liberal with their printk()
and some syslog/rsyslog configs can send lots of system messages to the console. I can say at least for GCP, the default access permissions DO allow reading from VM serial-ports, just not connecting to them interactively. So nothing should be needed to set this up on the cloud-side.
Currently, only instructions (e.g. scripts) inside of tasks can produce log output.
However, when running a whole VM instances, most of the time additional context like serial port output can be pulled through an API and provided to the user.
Here's a real use-case for this:
(https://www.redhat.com/sysadmin/linux-troubleshooting-navigating-perfect-storm)