Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The jumphost needs to have the right environmental variable setting to enable access to the Openstack API. This is usually done through the Openstack credential file (See .

(Introduction about all the environmental variables: https://docs.openstack.org/developer/python-openstackclient/man/openstack.html#environment-variables )

(Introduction about OpenStack authentication: https://docs.openstack.org/developer/python-openstackclient/authentication.html#authentication)

For example, /* need to fix this picture here - the example settings are not good */

...

        OS_USER_DOMAIN_NAME: Domain name or ID containing the user above.  %openstack project show <OS_PROJECT_NAME> Command to check which domain the user belongs: openstack user show <OS_USERNAME>

        OS_PROJECT_DOMAIN_NAME: Domain name or ID containing the project above.  %openstack user Command to check which domain the project belongs: openstack project show <OS_PROJECT_USERNAME>

 All these environmental variables should be set with a file in any directory of this jumphost.

NAME>

  

/* Need to complete better description of each field ... */

...

 /*API use example */
    % source <openrc<OpenStack-credential-file-path>
    % openstack service list

...

/* Other env variables to ?? */

/* Second, create a home directory for dovetail */

    % sudo mkdir -p <home_dir_home>   /*i.e. $HOME/cvp*/

    % export DOVETAIL_HOME=$HOME/cvp

2.2.3 Installing Prerequisite

 1. Dovetail requires Python 2.7 or later.

 2. Update and install packages

     a) Ubuntu 

         sudo apt-get update

         sudo apt-get install -y gcc  git  vim  python-dev  python-mock  python-pip  apt-transport-https  --no-install-recommends

     b) centos and redhat

         sudo yum -y update

         sudo yum -y install epel-release

         sudo yum -y install gcc  git  vim-enhanced  python-devel  (python-mock)  python-pip  (apt-transport-https)

     c) fedora

         sudo dnf -y update

         

 3. Install Docker 

  1. update( yum, apt-ge,pip)

  2. install docker

...