Fixed some rally, rally-plugins installation commands
Related-PROD: PROD-37187
Change-Id: Ie6ec5efbc7cf4b5caed7add80cb05ac76caa7d3c
(cherry picked from commit 001ba9b6b7a7f99050b08c0a556f14ff4bb8ccf7)
diff --git a/k8s/docker-mos-rally b/k8s/docker-mos-rally
index c2d5406..6d75636 100644
--- a/k8s/docker-mos-rally
+++ b/k8s/docker-mos-rally
@@ -1,4 +1,4 @@
-FROM xrally/xrally-openstack:2.1.0
+FROM xrally/xrally-openstack:2.1.0
LABEL maintainer="qa-ps@mirantis.com"
@@ -10,7 +10,10 @@
RUN git clone https://github.com/Mirantis/rally-plugins.git && \
cd rally-plugins/ && \
pip3 install . && \
- cd /rally
+ # since rally-plugins use v1beta1 API which is deprecated, downgrade kubernetes
+ pip3 install kubernetes==21.7.0 && \
+ cd /rally && \
+ rally plugin list | grep kubernetes
COPY ./rally-files/* /rally/rally-files/