Book Image

Preparing for the Certified OpenStack Administrator Exam

By : Matt Dorn
Book Image

Preparing for the Certified OpenStack Administrator Exam

By: Matt Dorn

Overview of this book

This book provides you with a specific strategy to pass the OpenStack Foundation’s first professional certification: the Certified OpenStack Administrator. In a recent survey, 78% of respondents said the OpenStack skills shortage had deterred them from adopting OpenStack. Consider this an opportunity to increase employer and customer confidence by proving you have the skills required to administrate real-world OpenStack clouds. You will begin your journey by getting well-versed with the OpenStack environment, understanding the benefits of taking the exam, and installing an included OpenStack All-in-One Virtual Appliance to work through objectives covered throughout the book. After exploring the basics of the individual services, you will be introduced to strategies to accomplish the exam objectives relevant to Keystone, Glance, Nova, Neutron, Cinder, Swift, Heat, and troubleshooting. Finally, you’ll benefit from the special tips section and a practice exam to put your knowledge to the test. By the end of the journey, you will be ready to become a Certified OpenStack Administrator!
Table of Contents (13 chapters)

Exam objective - analyzing log files

As discussed in the previous section, OpenStack services write log files to /var/log/<service-name>/*. The OpenStack service operating system packages automatically set up the logrotate program to tar and compress old OpenStack log files, thus avoiding excessive storage consumption. The exception to this default log directory is Keystone and Swift. Keystone utilizes Apache and therefore writes log files to /var/log /apache2/*. Swift writes log files to /var/log/syslog.

Anytime a user makes a request to an OpenStack service's API, a request UUID is generated. You will sometimes see these request IDs when attempting to interact with a service on the Horizon dashboard or CLI. To get more information on service errors, you can easily browse log files for clues regarding the specific request ID.

For example, when attempting to create...