OpenStack Operations Guide
by Tom Fifield, Diane Fleming, Anne Gentle, Lorin Hochstein, Jonathan Proulx, Everett Toews, Joe Topjian
Chapter 13. Logging and Monitoring
As an OpenStack cloud is composed of so many different services, there are a large number of log files. This chapter aims to assist you in locating and working with them and describes other ways to track the status of your deployment.
Where Are the Logs?
Most services use the convention of writing their log files to
subdirectories of the /var/log directory, as listed in Table 13-1.
| Node type | Service | Log location |
|---|---|---|
Cloud controller | | |
Cloud controller | | |
Cloud controller | | |
Cloud controller | | |
Cloud controller | | |
Cloud controller | horizon | |
All nodes | misc (swift, dnsmasq) | |
Compute nodes | libvirt | |
Compute nodes | Console (boot up messages) for VM instances: | |
Block Storage nodes | cinder-volume | |
Reading the Logs
OpenStack services use the standard logging levels, at increasing severity: DEBUG, INFO, AUDIT, WARNING, ERROR, CRITICAL, and TRACE. That is, messages only appear in the logs if they are more “severe” than the particular log level, with DEBUG allowing all log statements through. For example, TRACE is logged only if the software has a stack trace, while INFO is logged for every message including those that are only for information.
To disable DEBUG-level logging, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access