[CVP] Second review of rally scenarios
Related-PROD: PROD-30787
Change-Id: I107070e170ac9a2805188d9c017a15d6aabc40fa
diff --git a/Dockerfile b/Dockerfile
index bbabdf8..6ea3b46 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,9 @@
RUN mkdir -p cvp-configuration
RUN git clone https://github.com/openstack/tempest && \
- pushd tempest; git checkout 18.0.0; pip install -r requirements.txt; \
+ pushd tempest; git checkout 18.0.0; \
+ sed -i 's/length=15/length=32/g' /var/lib/tempest/tempest/lib/common/utils/data_utils.py; \
+ pip install -r requirements.txt; \
popd;
RUN git clone https://github.com/openstack/heat-tempest-plugin && \
@@ -20,8 +22,6 @@
RUN pip install --force-reinstall python-cinderclient==3.2.0 python-glanceclient==2.11
-RUN sed -i 's/length=15/length=32/g' /var/lib/tempest/tempest/lib/common/utils/data_utils.py
-RUN sed -i 's/length=15/length=32/g' /usr/local/lib/python2.7/dist-packages/tempest/lib/common/utils/data_utils.py
RUN sed -i 's/uuid4())/uuid4()).replace("-","")/g' /usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenarios/keystone/utils.py
RUN sed -i 's/uuid4())/uuid4()).replace("-","")/g' /usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/context/keystone/users.py