Do not install numpy on agent machines

This commit is contained in:
Ilya Shakhat 2015-02-12 13:57:05 +03:00
parent 49f7d99efd
commit 7da922cefb
2 changed files with 4 additions and 1 deletions

View File

@ -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 <scenario-file>``

View File

@ -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