From c16f053a37a92328bf1eeffa8cfb060a370cab49 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Fri, 20 Apr 2012 10:27:20 -0700 Subject: [PATCH] Add command to verify credentials are working. Also some semantic markup and minor editing. Partially addresses bug 985019 Change-Id: Ia0e7f2dc0c33b681caacd4097b3f9061cfec8a7c --- .../openstack-install/configure-creds.xml | 44 ++++++++++++++----- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/doc/src/docbkx/openstack-install/configure-creds.xml b/doc/src/docbkx/openstack-install/configure-creds.xml index 0d5bddaa9a..068ba5e25c 100644 --- a/doc/src/docbkx/openstack-install/configure-creds.xml +++ b/doc/src/docbkx/openstack-install/configure-creds.xml @@ -4,20 +4,42 @@ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> Defining Compute and Image Service Credentials - Create an openrc file that can contain these variables that - are used by the nova (Compute) and glance (Image) command-line - interface clients. Make a directory to house these. + Create an openrc file that can contain these variables that + are used by the nova (Compute) and + glance (Image) command-line + interface clients. In this document, we store the openrc + file in the ~/creds directory: -mkdir ~/creds -sudo nano ~/creds/openrc - - In the openrc file you create, paste these values: - + +$ mkdir ~/creds +$ nano ~/creds/openrc + + + In the openrc file you create, paste these values: + Next, ensure these are used in your environment. If you see 401 Not Authorized errors on commands using tokens, ensure that you have properly sourced your credentials and that all the pipelines are accurate in the configuration files. - source ~/creds/openrc - + + +$ source ~/creds/openrc + + +Verify your credentials are working by using the nova +client to list the available images: + +$ nova image-list + ++--------------------------------------+-------------------+--------+--------+ +| ID | Name | Status | Server | ++--------------------------------------+-------------------+--------+--------+ +| 58b71381-1d8a-4cbb-94f2-c67bfced35f5 | tty-linux-kernel | ACTIVE | | +| 5ca3d2fa-fd89-4edb-af41-ae96136e48ef | tty-linux-ramdisk | ACTIVE | | +| cc63afc1-9a83-4978-8d75-f19d874fdf94 | tty-linux | ACTIVE | | ++--------------------------------------+-------------------+--------+--------+ + + +Note that the ID values on your installation will be different. - +