Tackling logging
Painful but crucial; this is what many system administrators and developers claim when they start debugging an error by consulting a huge log file. Depending on the system you try to fix, cutting down troubleshooting time is true if you do not realize where they live and how they are organized.
Demystifying logs in OpenStack
Most probably, you have installed new OpenStack versions prior to the Mitaka release and you might be tempted to start looking for logs in, their default location the Linux system /var/log
. Eventually, their locations may vary depending on how you have deployed OpenStack. Since we have deployed our first OpenStack infrastructure using Ansible in the first chapter, you can check or modify the location of logs by service in each playbook file corresponding to each OpenStack service. For example, we can have a look at the Ansible os-nova-install
playbook used in Chapter 2, Deploying OpenStack - The DevOps Way. In the vars
attribute section of the YAML
file...