Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | cd /artifacts |
| 3 | # Installing prerequisites |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 4 | #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 |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 7 | |
| 8 | # Prepare Rally |
| 9 | rally db create |
| 10 | |
| 11 | # Create openstack env |
| 12 | rally env create --from-sysenv --name openstack |
| 13 | rally env check |
| 14 | |
| 15 | # Prepare rally for kubernetes |
Alex | 0881f15 | 2021-04-05 12:18:59 -0500 | [diff] [blame^] | 16 | bash /artifacts/rally-files/gen_kubespec.sh ./mos-kubeconf.yaml |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 17 | git clone https://github.com/Mirantis/rally-plugins.git |
| 18 | cd rally-plugins/ |
| 19 | pip3 install . |
| 20 | rally plugin list | grep kubernetes |
| 21 | |
| 22 | # Configure kubernetes |
| 23 | rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml |
| 24 | rally env check |
| 25 | cd /artifacts |