Increasing the logging verbosity from the OpenShift Installer
Environment
- Red Hat OpenShift Container Platform 4.x
Issue
- How do I get more logging verbosity out of the OpenShift Installer?
Resolution
- You can increase the logging level of the installer by passing the --log-level debug flag to the installer when you run the installer.
Root Cause
-
Kindly ensure that when reporting a failed installation to Red Hat, you include the necessary information as outlined in KCS 3780961.
-
For additional insights into using Terraform and debugging related issues, please refer to the Content from www.terraform.io is not included.upstream documentation.
Diagnostic Steps
-
Default log level is set to info
-
To change the default log level run the installation command as follows:
- Change the log level while creating the cluster
openshift-install create cluster --log-level [ error / debug / warn / info ]- Change the log level while destroying the cluster
openshift-install destroy cluster --log-level [ error / debug / warn / info ]
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.