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