Book Image

OpenStack Essentials

By : Dan Radez
Book Image

OpenStack Essentials

By: Dan Radez

Overview of this book

Table of Contents (20 chapters)
OpenStack Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The debug command line option


Most of the command-line clients support passing --debug before a subcommand. For example, with Keystone or Nova, it could look like this:

$ keystone --debug service-list
$ nova --debug list

Note that --debug is put before the subcommand being executed. Using the debug option like this is helpful because it will show curl commands for each of the API calls that are being made from the command-line client to the API endpoints. Hosts and ports are included in this, so if your command-line client has trouble connecting to the endpoint, you can use the debug option to get more detail. If you need to see what information is being sent from or returned to the command line, the debug option will show those details.