How To Obtain Diagnostic Information From OpenStack VM?
Problem
Sometimes there might be failures for an application running inside an OpenStack VM, it becomes too necessary to recover some diagnostic information about the state of the Virtual Machine
Environment
Platform9 Managed OpenStack - All versions
OpenStack Unified CLI
Procedure
Source your RC file to run the OpenStack CLI commands.
Get the name or UUID of the VM you want to run diagnostics.
Run below command:
$ nova diagnostics [name_or_UUID]Additional Information
As of microversion v2.48, diagnostics information for all virt drivers will have a standard format as below. Before microversion 2.48, each hypervisor had its own format. For more details on diagnostics, response message see server diagnostics API documentation.
You should be able to use the OpenStack API documentation to make manual API calls if you need the output in a specific format.
Last updated
