DRAFT - DRAFT - DRAFT - DRAFT - DRAFT - DRAFT - DRAFT - DRAFT -
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.
mkdir ~/creds sudo nano ~/creds/openrc
In the openrc file you create, paste these values:
export NOVA_USERNAME=adminUser
export NOVA_PROJECT_ID=openstackDemo
export NOVA_PASSWORD=secretword
export NOVA_API_KEY=${NOVA_PASSWORD}
export NOVA_URL=http://192.168.206.130:5000/v2.0/
export NOVA_VERSION=1.1
export NOVA_REGION_NAME=RegionOne
export OS_AUTH_USER=${NOVA_USERNAME}
export OS_AUTH_KEY=${NOVA_PASSWORD}
export OS_AUTH_TENANT=${NOVA_PROJECT_ID}
export OS_AUTH_URL=${NOVA_URL}
export OS_AUTH_STRATEGY=keystone
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

