Use shaman again for manila
Builds for ubuntu bionic are working now. We need newer features not yet packaged for ubuntu bionic for python3 and ceph volume chmod support. Change-Id: I20fa99c6f6da7d4042b50020ab0e9f34e7ac2de6
This commit is contained in:
1 changed files with 11 additions and 16 deletions
27
devstack/lib/ceph
Normal file → Executable file
27
devstack/lib/ceph
Normal file → Executable file
@@ -863,7 +863,7 @@ function install_ceph_remote {
# - package_manager: apt or yum
# - ceph_release: jewel, luminous, ...
# - distro_type: centos, ubuntu
# - distro_release: 7, xenial
# - distro_release: 7, xenial, bionic
# - repo_type: latest, stable (only latest is supported right now)
function configure_repo_ceph {
local package_manager="1ドル"
@@ -891,7 +891,7 @@ function configure_repo_ceph {
# - package_manager: apt or yum
# - flavor: ceph_luminous, ceph_master, ...
# - distro_type: centos, ubuntu
# - distro_release: 7, xenial
# - distro_release: 7, xenial, bionic
# - repo_type: latest (only latest is supported right now)
function configure_repo_nfsganesha {
local package_manager="1ドル"
@@ -914,20 +914,18 @@ function configure_repo_nfsganesha {
}
function setup_packages_for_manila_on_ubuntu {
# The 'apt' package manager needs the following package to access
# HTTPS enabled repositories such as the Ceph repos hosted by the
# shaman/chacra system.
install_package apt-transport-https
if [ $MANILA_CEPH_DRIVER == 'cephfsnfs' ]; then
if ! [[ $os_CODENAME =~ (xenial|bionic) ]]; then
die $LINENO "Need Ubuntu xenial or newer to setup Manila with CephFS NFS-Ganesha driver"
fi
configure_repo_ceph "apt" "luminous" "ubuntu" "$os_CODENAME"
configure_repo_nfsganesha "apt" "ceph_luminous" "ubuntu" "$os_CODENAME"
CEPH_PACKAGES="${CEPH_PACKAGES} ceph-mds libcephfs2 nfs-ganesha nfs-ganesha-ceph"
# bionic repos are all there already
if [[ $os_CODENAME =~ xenial ]]; then
# The 'apt' package manager needs the following package to access
# HTTPS enabled repositories such as the Ceph repos hosted by the
# shaman/chacra system.
install_package apt-transport-https
configure_repo_ceph "apt" "luminous" "ubuntu" "$os_CODENAME"
configure_repo_nfsganesha "apt" "ceph_luminous" "ubuntu" "$os_CODENAME"
fi
if python3_enabled; then
CEPH_PACKAGES="${CEPH_PACKAGES} python3-cephfs"
fi
@@ -937,13 +935,10 @@ function setup_packages_for_manila_on_ubuntu {
fi
if [[ $os_CODENAME =~ (xenial|trusty) ]]; then
CEPH_PACKAGES="${CEPH_PACKAGES} ceph-mds libcephfs1"
# The 'apt' package manager needs the following package to access
# HTTPS enabled repositories such as the Ceph repos hosted by the
# shaman/chacra system.
install_package apt-transport-https
configure_repo_ceph "apt" "jewel" "ubuntu" "$os_CODENAME"
else # bionic repos are already there in the distro
else
CEPH_PACKAGES="${CEPH_PACKAGES} ceph-mds libcephfs2"
configure_repo_ceph "apt" "luminous" "ubuntu" "$os_CODENAME"
fi
if python3_enabled; then
CEPH_PACKAGES="${CEPH_PACKAGES} python3-cephfs"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.