Table of Contents

OpenStack credentials

This wiki page describes how to use the script to fetch the Openstack credentials automatically from your OpenStack deployment.

Some tests need to source the OpenStack credentials in order to run some actions against the OpenStack deployment from a Jumphost where the OpenStack python client is installed. In OPNFV, it is used before running the tests in the CI chain.


Prerequisites

Installers

These are the supported installers so far:

TBD: Apex and JOID

How to

Download the script from git:

wget https://git.opnfv.org/cgit/releng/tree/utils/fetch_os_creds.sh

Run it from your Jumphost:

./fetch_os_creds.sh -d ${TARGET_FILE} -i ${INSTALLER_TYPE} -a ${INSTALLER_IP}

Where:

Example:

 ./fetch_os_creds.sh -d ~/openstack.creds -i fuel -a 10.20.0.2
 source ~/openstack.creds