compass-core/misc/ci/prepare_node_compass.sh
zhaoxinyu a5867abbc6 Don't start tempest before nova-compute is ready
If nova-compute and nova-conductor are on different nodes
and n-compute is up before n-conductor, n-compute will retry
to register health but there will be increasing wait time
between retries, so make sure n-conduct sees available compute
nodes before starting tempest.
also added a parent http proxy to speed up installation and
a dependency for tempest.

Change-Id: Ica46c66bc8b7589915490555d86674eb49c0db1c
2014-04-18 05:08:35 +00:00

16 lines
409 B
Bash
Executable File

#!/bin/bash -x
echo 0 > /selinux/enforce
yum -y update
sed -i "s/Defaults requiretty/#Defaults requiretty/" /etc/sudoers
git clone http://git.openstack.org/stackforge/compass-core
cd compass-core
source install/install.conf.template
source install/install.conf
export tempest=true
source install/dependency.sh
source install/prepare.sh
service libvirtd start
sync
sleep 5
echo "image preparation done"