Openstack

How do you debug OpenStack compute issues? (tools, logs, ...)

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

To debug compute issues in OpenStack (Nova), you can use the following:

  • Logs: Check the Nova service logs (e.g., /var/log/nova/nova-compute.log, /var/log/nova/nova-api.log, /var/log/nova/nova-scheduler.log) for error messages.
  • Nova CLI: Use the nova command-line tool to check the status of instances, hosts, and services.
  • Instance Console Log: View the console log of a specific instance to see boot-up messages and other output.
  • Hypervisor: Check the logs and status of the underlying hypervisor (e.g., KVM, QEMU) to identify issues with virtualization.