blob: 0a9ab64e932bb420246b502719120b5e6c2e8705 [file] [log] [blame]
Alex627a5ca2021-03-19 09:37:59 -05001#!/bin/bash
2cd /artifacts
3# Installing prerequisites
Alex3bc29ae2021-04-02 18:06:00 -05004#apt -y update
5#apt -y install python3-pip vim git iperf3 mtr htop iputils-ping traceroute tcpdump wget iproute2 curl
6#pip3 install rally-openstack python-neutronclient pyghmi
Alex627a5ca2021-03-19 09:37:59 -05007
8# Prepare Rally
9rally db create
10
11# Create openstack env
12rally env create --from-sysenv --name openstack
13rally env check
14
15# Prepare rally for kubernetes
Alex0881f152021-04-05 12:18:59 -050016bash /artifacts/rally-files/gen_kubespec.sh ./mos-kubeconf.yaml
Alex627a5ca2021-03-19 09:37:59 -050017git clone https://github.com/Mirantis/rally-plugins.git
18cd rally-plugins/
19pip3 install .
20rally plugin list | grep kubernetes
21
22# Configure kubernetes
23rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml
24rally env check
25cd /artifacts