Fix env creation

Change-Id: Iede4a27731899c211c15cf6d1349403693cdbeb7
This commit is contained in:
Kristina Kuznetsova
2015-04-29 16:18:47 +03:00
parent e5dda4489c
commit 7d6af5ca68
5 changed files with 9 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ How to install
--------------
1. git clone git://git.openstack.org/stackforge/haos
2. Make sure that sshpass is installed
How to run tests

View File

@@ -15,7 +15,7 @@ index c77f71b..0e2e393 100644
try:
utils.load_plugins("/opt/rally/plugins/")
utils.load_plugins(os.path.expanduser("~/.rally/plugins/"))
+ for path in CONF.plugin_path:
+ for path in CONF.plugin_path or []:
+ utils.load_plugins(path)
validate_deprecated_args(argv, fn)

View File

@@ -7,5 +7,10 @@ do
NODE_NAME="node-${i}"
echo "Hacking ${NODE_NAME}"
scp hack_openstack_node.sh ${NODE_NAME}:/root/
ssh ${NODE_NAME} "/root/hack_openstack_node.sh ${SERVER_ENDPOINT} ${NODE_NAME}"
ssh ${NODE_NAME} "/root/hack_openstack_node.sh ${SERVER_ENDPOINT}"
done
yum -y install git
git clone https://github.com/Mirantis/mos-tempest-runner.git
cd mos-tempest-runner
./setup_env.sh

View File

@@ -1,7 +1,7 @@
#!/bin/bash -xe
SERVER_ENDPOINT=$1
AGENT_ID=$2
AGENT_ID=$(hostname)
cd /root/
if [ ! -d ".venv" ]; then

0
tools/verify.sh Normal file → Executable file
View File