O'Reilly logo

Learning OpenStack by Sunil Sarat, Alok Shrivastwa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Verifying the installation

We have at various points verified that the Keystone service is working as expected. However, let's execute the commands with the actual username and password rather than using the admin token that we have generated.

Open a new terminal window, or unset the environment variables that we set up:

unset OS_SERVICE_TOKEN OS_SERVICE_ENDPOINT

You don't have to do this if you have opened a new terminal window.

Using Keystone CLI

We will list all the tenants in the system; we should expect to see the one we created:

keystone --os-tenant-name firsttenant --os-username admin --os-password h33l0world --os-auth-url http://oscontrollernode:5000/v2.0 tenant-list

As you can see, we are now using the user credentials in order to execute ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required