diff --git a/modules/openstack_project/files/nodepool/scripts/prepare_node.sh b/modules/openstack_project/files/nodepool/scripts/prepare_node.sh index c27e373680..c0a439bd62 100755 --- a/modules/openstack_project/files/nodepool/scripts/prepare_node.sh +++ b/modules/openstack_project/files/nodepool/scripts/prepare_node.sh @@ -143,5 +143,13 @@ fi # here. sudo rm -f /etc/cron.{monthly,weekly,daily,hourly,d}/* +# Install Zuul into a virtualenv +# This is in /usr instead of /usr/local due to this bug on precise: +# https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/839588 +git clone /opt/git/openstack-infra/zuul /tmp/zuul +sudo virtualenv /usr/zuul-env +sudo /usr/zuul-env/bin/pip install /tmp/zuul +sudo rm -fr /tmp/zuul + sync sleep 5