Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Troubleshooting OpenStack

You're reading from  Troubleshooting OpenStack

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781783986880
Pages 170 pages
Edition 1st Edition
Languages
Author (1):
Tony Campbell Tony Campbell
Profile icon Tony Campbell

Table of Contents (17) Chapters

Glance services


When troubleshooting Glance, one of the first things to check is whether or not the service is running. A quick way to confirm this is by running some simple Glance commands from the command line:

glance image-list

When Glance operates properly, this command should return a list of images in your Glance repository, similar to the following output:

This command may also return an empty list if your Glance repository is empty. You may receive an error when you run this command that is similar to the following error:

This error typically occurs when you haven't passed all the necessary attributes to the glance image-list command. The common way to solve this problem is by creating an openrc file that contains the attributes that are required by the command-line client. A sample openrc file would look like this:

Once you adjust the preceding lines to include your specific details, you would save that content to a file named openrc. To leverage these settings, simply source the openrc...

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 $15.99/month. Cancel anytime}