From ce843ac60ae7b6c63cb8d2320b226db1ce4e94b1 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Date: Wed, 13 Nov 2024 16:10:53 -0300 Subject: [PATCH] Fix lacking ceph ingress IP on devstack When the Ceph ingress IP is not set, devstack is currently failing to install with CephFS NFS. When it attempts to create the NFS cluster, it fails because the VIP value is not set. The VIP should be the same as the ceph ingress IP, but it is only being set in the manila job definitions, so if you don't provide it in the local.conf file manually, the value will be empty. This change fixes it by defaulting the ceph ingress IP to the host IP in case it wasn't provided in the local.conf. Change-Id: Ib2db0faa5381da9e3d391ff0f887eb92dff9c295 Signed-off-by: Carlos Eduardo --- devstack/lib/cephadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/cephadm b/devstack/lib/cephadm index fa336f5d..c570f780 100755 --- a/devstack/lib/cephadm +++ b/devstack/lib/cephadm @@ -78,7 +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} -VIP=$CEPH_INGRESS_IP +VIP=${CEPH_INGRESS_IP:-$HOST_IP} # GLANCE DEFAULTS