Obtain OpenStack Instances Boot Logs
Problem
Sometimes instances show as active according to the Compute service, but the console displays a boot error or the instance comes up without networking information. There will be scenarios when you are unable to ssh into your instances. At such times, you can access the boot time logs of the instance to inspect if the cloud-init script ran successfully and all the boot steps were completed successfully.
Environment
- Platform9 Managed OpenStack - All Versions
- Python OpenStack Client
Procedure
- Copy the rc file from the Access & Security -> API access section in the Clarity UI.
- Save the content to a file with a name of your choice and a .rc extension.
- Edit the file to add your password.
- Source the OpenStack CLI credentials.
- Note the UUID of the instance for which the logs are desired.
- Dump the contents of the logs to a file of your choice.
- View the logs with a text editor of your choice.
Additional Information
Was this page helpful?