How to log with maximum verbosity into both an instance's console.log and VNC console in Red Hat OpenStack Platform?
Issue
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
How to log with maximum verbosity into both an instance's console.log and VNC console in Red Hat OpenStack Platform?
When instances are configured with the defaults such as Red Hat's cloud image, /proc/cmdline
is configured with:
console=tty0 (...) console=ttyS0,115200n8
In this case, console.log
(ttyS0
) shows more detailed log output upon boot than what is printed to VNC via tty0
. In specific scenarios upon instance boot this may suppress the display of specific prompts, e.g. in the case of file system corruption. The only way to interact with the instance in these cases is to go into the grub menu and remove console=ttyS0,115200n8
.
- How can one have both
console.log
and the interactive console with the same degree of verbosity? - Is this possible in OSP 10 (Newton) or in later versions of OpenStack Platform?
Environment
Red Hat OpenStack Platform 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.