Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Preparing for the Certified OpenStack Administrator Exam

You're reading from   Preparing for the Certified OpenStack Administrator Exam A complete guide for developers taking tests conducted by the OpenStack Foundation

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787288416
Length 338 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Matt Dorn Matt Dorn
Author Profile Icon Matt Dorn
Matt Dorn
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing OpenStack and the Certified OpenStack Administrator Exam FREE CHAPTER 2. Setting up Your Practice Exam Environment 3. Keystone Identity Service 4. Glance Image Service 5. Nova Compute Service 6. Neutron Networking Service 7. Cinder Block-Storage Service 8. Swift Object-Storage Service 9. Heat Orchestration Service 10. Troubleshooting 11. Final Tips and Tricks 12. Practice Exam

Debugging the CLI

When you use python-openstackclient or the traditional service-based clients (that is, python-novaclient, python-neturonclient, or python-swiftclient), there is a lot going on behind the scenes! To see the API calls being made, we can use the --debug flag to see the requests and responses in real time. Let's try using it with the following command. Ensure that you source the openrc file before running it.

Although understanding the --debug flag is not required to pass the exam, it is an invaluable tool that can really help you narrow down issues in real-world OpenStack environments.

$ openstack server list --debug

We should see output similar to Figure 10-1. Wow, that's a lot of text!

Figure 10.1: Output from using the --debug flag on the CLI

How can we decipher this? As you already know from the first chapter of this book, we communicate with RESTful...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime