Explicitly install `ceph-mds` package

When Manila is to be configured with CephFS backend, explicitly
install `ceph-mds` package. The newer versions of Ceph packages,
do not have the dependency between `ceph` and `ceph-mds` packages.

Change-Id: Idfd4cf7fc017ad6ced2d325356ff97cc68889dc0
Closes-Bug: #1533314
This commit is contained in:
Ramana Raja 2016-01-13 00:02:45 +05:30
parent c2622a8272
commit a25112cd49
1 changed files with 7 additions and 3 deletions

View File

@ -605,6 +605,10 @@ if is_ubuntu; then
echo deb \
http://gitbuilder.ceph.com/ceph-deb-$(lsb_release -sc)-x86_64-basic/ref/wip-manila \
$(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
# Update package repo.
REPOS_UPDATED=False
install_package ceph ceph-mds radosgw libnss3-tools
else
wget -q -O- 'https://download.ceph.com/keys/release.asc' \
| sudo apt-key add -
@ -612,11 +616,11 @@ if is_ubuntu; then
echo deb http://ceph.com/debian-${CEPH_RELEASE} $(lsb_release -sc) \
main | sudo tee /etc/apt/sources.list.d/ceph.list
# Update package repo.
REPOS_UPDATED=False
install_package ceph radosgw libnss3-tools
fi
# Update package repo.
REPOS_UPDATED=False
install_package ceph radosgw libnss3-tools
else
# Install directly from distro repos. See LP bug 1521073 for more details.
# If distro doesn't carry latest ceph, users can install latest ceph repo