January 2018
Intermediate to advanced
398 pages
7h 54m
English
Console logs are critical for troubleshooting the startup process of an instance. These logs are produced at boot time, before the console becomes available. Typically, when working with cloud hosted instances, accessing these can be difficult. OpenStack Compute provides a mechanism for accessing the console logs.
To access the console logs of an instance, the following information is required:
openstack command-line clientopenrc file containing appropriate credentialsFor this example, we will view the last five lines of the cookbook.test instance.
To show the console logs of an instance, use the following command:
openstack console log show --lines 5 cookbook.test ...Read now
Unlock full access