Install ceph-ansible in the undercloud

To deploy Ceph in the overcloud using ceph-ansible it is necessary
to have it installed in the undercloud.

Change-Id: Ia9cf977e3350790db1511963f1b40b5c11d2bf67
This commit is contained in:
Giulio Fidente 2017-06-29 17:45:52 +02:00
parent ce74b90174
commit a636c0fad3
1 changed files with 5 additions and 5 deletions

View File

@ -293,13 +293,13 @@ function repo_setup {
if [ "$TRIPLEO_OS_DISTRO" = "centos" ]; then
# Enable Storage/SIG Ceph repo
if [[ "${STABLE_RELEASE}" = "mitaka" ]] ; then
if rpm -q centos-release-ceph-jewel; then
sudo yum -y erase centos-release-ceph-jewel
fi
else
if rpm -q centos-release-ceph-hammer; then
sudo yum -y erase centos-release-ceph-hammer
fi
else
if rpm -q centos-release-ceph-jewel; then
sudo yum -y erase centos-release-ceph-jewel
fi
fi
sudo /bin/bash -c "cat <<-EOF>$REPO_PREFIX/$CEPH_REPO_FILE
[centos-ceph-$CEPH_RELEASE]
@ -526,7 +526,7 @@ function undercloud {
log "Undercloud install"
sudo yum install -y python-tripleoclient
sudo yum install -y python-tripleoclient ceph-ansible
if [ ! -f ~/undercloud.conf ]; then
cp -b -f $UNDERCLOUD_CONF ~/undercloud.conf