Fix env creation
Change-Id: Iede4a27731899c211c15cf6d1349403693cdbeb7
This commit is contained in:
@@ -15,6 +15,7 @@ How to install
|
|||||||
--------------
|
--------------
|
||||||
|
|
||||||
1. git clone git://git.openstack.org/stackforge/haos
|
1. git clone git://git.openstack.org/stackforge/haos
|
||||||
|
2. Make sure that sshpass is installed
|
||||||
|
|
||||||
|
|
||||||
How to run tests
|
How to run tests
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ index c77f71b..0e2e393 100644
|
|||||||
try:
|
try:
|
||||||
utils.load_plugins("/opt/rally/plugins/")
|
utils.load_plugins("/opt/rally/plugins/")
|
||||||
utils.load_plugins(os.path.expanduser("~/.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)
|
+ utils.load_plugins(path)
|
||||||
|
|
||||||
validate_deprecated_args(argv, fn)
|
validate_deprecated_args(argv, fn)
|
||||||
|
|||||||
@@ -7,5 +7,10 @@ do
|
|||||||
NODE_NAME="node-${i}"
|
NODE_NAME="node-${i}"
|
||||||
echo "Hacking ${NODE_NAME}"
|
echo "Hacking ${NODE_NAME}"
|
||||||
scp hack_openstack_node.sh ${NODE_NAME}:/root/
|
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
|
done
|
||||||
|
|
||||||
|
yum -y install git
|
||||||
|
git clone https://github.com/Mirantis/mos-tempest-runner.git
|
||||||
|
cd mos-tempest-runner
|
||||||
|
./setup_env.sh
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
|
||||||
SERVER_ENDPOINT=$1
|
SERVER_ENDPOINT=$1
|
||||||
AGENT_ID=$2
|
AGENT_ID=$(hostname)
|
||||||
|
|
||||||
cd /root/
|
cd /root/
|
||||||
if [ ! -d ".venv" ]; then
|
if [ ! -d ".venv" ]; then
|
||||||
|
|||||||
0
tools/verify.sh
Normal file → Executable file
0
tools/verify.sh
Normal file → Executable file
Reference in New Issue
Block a user