Bugfix: fix HA testcases
[yardstick.git] / fuel-plugin / README.md
1 plugin-yardstick
2 ================
3
4 Plugin description
5 Installs Yardstick on base-os node via a fuel plugin.
6
7 1) install vagrant fuel plugin builder (fpb)
8     sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev
9     sudo gem install fpm
10     sudo pip install fuel-plugin-builder
11 2) build plugin
12     fpb --build <plugin-dir>
13     e.g.: fpb --build yardstick/fuel-plugin
14
15 3) copy plugin rpm to fuel master
16         e.g. scp plugin-yardstick-0.1-0.1.0-1.noarch.rpm <user>@<server-name>:~/
17
18 4) install plugin
19         fuel plugins --install <plugin-name>.rpm
20
21 5) prepare fuel environment
22         on fuel dashboard, go to settings/other
23         enable yardstick plugin with checkbox
24         save settings
25
26 6) add nodes to environment
27
28 7) deploy
29
30 8) run
31 Once deployed, SSH to deployed node. Find IP of yardstick node.
32 SSH to yardstick node, Activate yardstick:
33     source /var/lib/yardstick.openrc
34     source /var/lib/yardstick/bin/activate
35     export EXTERNAL_NETWORK="admin_floating_net"
36     yardstick task start /opt/yardstick/fuel-plugin/fuel_ping.yaml