This is an old revision of the document!
This page aims to provide a step by step guide to replicate experiment #1 shown in this page.
The guide will cover setting up an OPNFV target environment capable of executing Tempest.
OPNFV testing environment is achieved by using a handful of open source tools. They are listed in order below in hierarchical order:
The tools above work together to create the OPNFV target system, but they are not dependent on each other. For example, instead of using Foreman you could just use another baremetal provisioner or simply use raw puppet to install OPNFV. Khaleesi contains a playbook/library to interact with Foreman, but is also used to provision other OpenStack clouds (rackspace, etc.) and is capable of using other OpenStack installers.
The order of operations for how these tools interact from start to end are as follows:
Khaleesi → invokes playbook to rebuild Foreman nodes →
Foreman → installs CentOS and Puppet agent to nodes →
Puppet Agent on each node → checks in and applies OPNFV/Genesis →
OPNFV/Genesis → installs/configures OpenStack and ODL using QuickStack, OPM, and ODL modules.
Khaleesi → invokes playbook to install and configure the Tempest Foreman node →
Khaleesi → runs Tempest and provides results
It is now recommended you follow the "Automatic Deployment" section below for installation. To replicate an full manual install you should follow all of the steps below. The steps are broken down by instructions per tool, in case you are only interested in using part of the OPNFV install:
Foreman/QuickStack can now be automatically deployed!
A simple bash script deploy.sh will provision out a Foreman/QuickStack VM Server and 4-5 other baremetal nodes in an OpenStack HA + OpenDaylight environment.
deploy.sh:
bootstrap.sh:
Khaleesi (Ansible):
On your JumpHost, clone 'git clone https://github.com/trozet/bgs_vagrant.git' to as root to /root/
Edit opnvf_ksgen_settings.yml → "nodes" section:
For each node, compute, controller1..3: * mac_address - change to mac_address of that node's Admin NIC (1st NIC) * bmc_ip - change to IP of BMC (out-of-band) IP * bmc_mac - same as above, but MAC address * bmc_user - IPMI username * bmc_pass - IPMI password
For each controller node: * private_mac - change to mac_address of node's Private NIC (2nd NIC)
Execute deploy.sh via: ./deploy.sh -base_config /root/bgs_vagrant/opnfv_ksgen_settings.yml