Add python-redis to overcloud 81/16881/1
authorMichael Chapman <michapma@redhat.com>
Wed, 13 Jul 2016 21:14:16 +0000 (17:14 -0400)
committerMichael Chapman <michapma@redhat.com>
Wed, 13 Jul 2016 21:15:27 +0000 (17:15 -0400)
python-redis is a dependency of ceilometer and aodh, but is missing
from mitaka overcloud builds. The package install is conditional so
that if this is fixed upstream the build won't break.

Change-Id: I22b62b77d774c4de3b9af57e8bbcb46e7393aa38
Signed-off-by: Michael Chapman <michapma@redhat.com>
build/overcloud-full.sh

index 01f4026..c40a843 100755 (executable)
@@ -67,6 +67,7 @@ popd > /dev/null
 # install doctor driver ## Can be removed in Newton
 LIBGUESTFS_BACKEND=direct virt-customize \
     --upload ../opnfv-puppet-tripleo.tar.gz:/etc/puppet/modules \
+    --run-command "if ! rpm -qa | grep python-redis; then yum install -y python-redis; fi" \
     --run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
     --run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
     --run-command "cd /etc/puppet/modules && rm -rf tripleo && tar xzf opnfv-puppet-tripleo.tar.gz" \