From 7da922cefb448915e9e9063ccaac4b59a98fc501 Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Thu, 12 Feb 2015 13:57:05 +0300 Subject: [PATCH] Do not install numpy on agent machines --- README.rst | 3 +++ bin/prepare.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index cdbcfe5..a381496 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,9 @@ To install: 1. Run ``./bin/prepare.sh`` to configure the image inside OpenStack 2. Run ``python setup.py install`` to install the tool on the master node +Additional dependencies: tests that use netperf requires ``numpy`` and ``matplotlib`` Python modules +to be installed on the master. + How to run ---------- 1. ``shaker --scenario `` diff --git a/bin/prepare.sh b/bin/prepare.sh index 809a189..ec6dd04 100755 --- a/bin/prepare.sh +++ b/bin/prepare.sh @@ -62,7 +62,7 @@ setup_image() { remote_shell ${FLOATING_IP} ${KEY} "sudo apt-get update" remote_shell ${FLOATING_IP} ${KEY} "sudo apt-get -y install iperf netperf git python-dev libzmq-dev screen" remote_shell ${FLOATING_IP} ${KEY} "wget -O get-pip.py https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py" - remote_shell ${FLOATING_IP} ${KEY} "sudo pip install pbr numpy netperf-wrapper" + remote_shell ${FLOATING_IP} ${KEY} "sudo pip install pbr netperf-wrapper" remote_shell ${FLOATING_IP} ${KEY} "git clone git://github.com/Mirantis/shaker && cd shaker && sudo pip install -r requirements.txt && sudo python setup.py develop" remote_shell ${FLOATING_IP} ${KEY} "sudo shutdown -P -f now" sleep 10