...
Ubuntu 16.04.2 LTS (Xenial) for x86_64
- Ubuntu 14.04 LTS (Trusty) for x86_64
- CentOS-7-1611 for x86_64
...
export OS_PROJECT_NAME=
export OS_TENANT_NAME=
/* Authentication username, belongs to the project above, recommend admin user.*/
...
Use the following steps to check if the right version of Docker is already installed, and if not, install it.
% docker -- version
As the docker installation process is much complex, you can refer to the scripts.
...
A tester can choose one of the following two methods for installing and running Dovetail. In part1Method1, we explain the steps to install Dovetail from the source. In part2Method2, an alternative using a Docker image with preinstalled Dovetail is introduced.
...
% sudo docker run --privileged=true -it -v <openrc_path>:<openrc_path> \
-v $DOVETAIL_HOME/results:$DOVETAIL_HOME/results \
-v /home/opnfv/dovetail/results:/home/opnfv/dovetail/results \
-v /home/opnfv/dovetail/userconfig:/home/opnfv/dovetail/userconfig \
-v /var/run/docker.sock:/var/run/docker.sock \
...
The official server https://www.opnfv.org/cvp is still under development, there is a temporal server to use http://205.177.226.237:9997/api/v1/results
2.3.2
...
Special Configuration for Running HA test cases
HA test cases need to know the info of all nodes of the OpenStack. It should include every node's name, role, ip, user and key_filename or password. The info should be written in file $DOVETAIL_HOME/dovetail/userconfig/pod.yaml. There is a sample file $DOVETAIL_HOME/dovetail/userconfig/sample_pod.yaml.
Two methods to login nodes
Method1. Use private key to login nodes. For example the info of node1,
name: node1
role: Controller
ip: 10.1.0.50
user: root
key_filename: /root/.ssh/id_rsa
Method2. Use password to login nodes. For example the info of node1,
name: node1
role: Controller
ip: 10.1.0.50
user: root
password: root
NOTE:
- The name of each node must be node1, node2,...
- node1 must be Controller node.
- If use private key to login, the key_filename must be /root/.ssh/id_rsa in file $DOVETAIL_HOME/dovetail/userconfig/pod.yaml.
- If use private key to login, you must copy the private key to $DOVETAIL_HOME/dovetail/userconfig/
cp <private_key_for_login_nodes> $DOVETAIL_HOME/dovetail/userconfig/id_rsa
2.3.3 Making Sense of CVP Test Results
When a When a tester is performing trial runs, Dovetail stores results in a local file by default.
...
wait for the complement of LF, test community, etc.
2.3.
...
4 Updating Dovetail or Test Suite
% cd $DOVETAIL_HOME/dovetail
...