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
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

The command-line client


The Ceilometer command-line client tool is critical when troubleshooting this service. It is often the quickest way to test and identify issues within the service. Typing ceilometer help in the terminal will give you a list of the available commands. While covering all the Ceilometer commands is beyond the scope of this book, the commands that follow will aid your troubleshooting process.

The meter list command

The meter list command will allow you to see each of the meters tracked by Ceilometer. This command is also a good way to confirm that Ceilometer is working as expected. Errors or empty values returned from this command are clues to issues with the service or its configuration. When Ceilometer is working as expected, the meter-list command will return one or more meters, as shown in the following screenshot:

If your meter list is empty, there are several troubleshooting steps that you should take. I recommend that you start with Glance and confirm whether Ceilometer...