Disable Ingress

Adds option to enable/disable ingress for ceph verisons >18
Change-Id: I5f03698ed09ff906488711d5d5a6feb74146b6ca
This commit is contained in:
ashrod98
2025年02月26日 17:08:20 -05:00
committed by Goutham Pacha Ravi
parent e29051fd9c
commit 1100aa6f0a

View File

@@ -78,6 +78,7 @@ CEPHFS_CLIENT=0
CEPHFS_CLIENT_NAME="client.$MANILA_CEPH_USER"
CEPHFS_CLIENT_LOG="/var/log/ceph-$CEPHFS_CLIENT_NAME.log"
CEPHFS_MULTIPLE_FILESYSTEMS=${CEPHFS_MULTIPLE_FILESYSTEMS:-False}
ENABLE_INGRESS=${ENABLE_INGRESS:-True}
VIP=${CEPH_INGRESS_IP:-$HOST_IP}
@@ -368,7 +369,7 @@ function _install_and_configure_clustered_nfs {
ceph_version=$(_get_ceph_version)
echo "[CEPHADM] Deploy nfs.$FSNAME backend"
if [ "${ceph_version%%\.*}" -ge 18 ]; then
if [[ "${ceph_version%%\.*}" -ge 18 && $ENABLE_INGRESS == "True" ]]; then
$SUDO "$CEPHADM" shell --fsid $FSID --config $CEPH_CONFIG \
--keyring $CEPH_KEYRING -- ceph nfs cluster create \
"$FSNAME" "$HOSTNAME" --port $NFS_PORT --ingress \
Reference in New Issue
openstack/devstack-plugin-ceph
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.

The note is not visible to the blocked user.