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

Project scope via CLI

For objectives that require the CLI, it's critical that you understand how to scope yourself to a project. The easiest way to scope to a project on the CLI is by simply changing the project or tenant variables inside your credential file.

Let's try changing the project scope from the admin project to the legal project. Let's first copy our original openrc file to openrc-legal:

$ cp openrc openrc-legal

Now that we've made a copy, let's edit the openrc-legal file and update the project and tenant name variables to reflect our desired scope to the legal project. If you are more comfortable with vim, emacs, or any other editor, feel free to use it here.

$ nano openrc-legal

Change the following variables to legal and save the file. To exit and save your changes with nano, hit Ctrl + X, and then Y to save.

export OS_PROJECT_NAME=legal
export...
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 $19.99/month. Cancel anytime