| # Installing prerequisites |
| #apt -y install python3-pip vim git iperf3 mtr htop iputils-ping traceroute tcpdump wget iproute2 curl |
| #pip3 install rally-openstack python-neutronclient pyghmi |
| rally env create --from-sysenv --name openstack |
| # Prepare rally for kubernetes |
| git clone https://github.com/Mirantis/rally-plugins.git |
| rally plugin list | grep kubernetes |
| # Check and prepare kubespec file |
| if [ ! -f /artifacts/kubespec_generated.yaml ]; then |
| sudo bash /artifacts/rally-files/gen_kubespec.sh /artifacts/mos-kubeconfig.yaml |
| rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml |