Book Image

Troubleshooting OpenStack

By : Tony Campbell
Book Image

Troubleshooting OpenStack

By: Tony Campbell

Overview of this book

OpenStack is a collection of software projects that work together to provide a cloud fabric. OpenStack is one of the fastest growing open source projects in history that unlocks cloud computing for everyone. With OpenStack, you are able to create public or private clouds on your own hardware. The flexibility and control afforded by OpenStack puts the cloud within reach of anyone willing to learn this technology. Starting with an introduction to OpenStack troubleshooting tools, we’ll walk through each OpenStack service and how you can quickly diagnose, troubleshoot, and correct problems in your OpenStack. Understanding the various projects and how they interact is essential for anyone attempting to troubleshoot an OpenStack cloud. We will start by explaining each of the major components and the dependencies between them, and move on to show you how to identify and utilize an effective set of OpenStack troubleshooting tools and fix common Keystone problems. Next, we will expose you to common errors and problems you may encounter when using the OpenStack Block Storage service (Cinder). We will then examine Heat, the OpenStack Orchestration Service, where you will learn how to trace errors, determine their root cause, and effectively correct the issue. Finally, you will get to know the best practices to architect your OpenStack cloud in order to achieve optimal performance, availability, and reliability.
Table of Contents (17 chapters)
Troubleshooting OpenStack
About the Author
About the Reviewer

Glance logging and configuration

If, after working your way through each of the preceding sections, you continue to have trouble with Glance, here are a few more elements you should check. The Glance log files will often contain clues that can assist with troubleshooting. You can determine the location of the Glance log files by checking the value of the log_file or log_dir setting in the Glance configuration file. Typically, the log files for Glance will be located in the /var/log/glance/ directory. In this directory, you should find several log files including these:

  • api.log

  • registry.log

The api.log file will likely contain a bulk of clues that you need to troubleshoot Glance. It's also worth reminding you that Glance leverages Keystone for authentication. Therefore, in addition to the Glance logs, you will want to keep an eye on the Keystone logs. Similar to the Glance logs, the Keystone logs are typically located at /var/log/keystone. Refer to Chapter 2, Troubleshooting OpenStack Identity...