From e0751e94889c5e69e62d165d831b8de6d2a0f8da Mon Sep 17 00:00:00 2001 From: David Garcia Date: Wed, 3 Nov 2021 11:31:18 +0100 Subject: [PATCH] Fix bug 1726: fix metallb ip range Metallb was complaining when indicating an IP range of a single IP. This commit changes the IP range "-" to CIDR format: "/32" Change-Id: If879fab2b272927a6a8ffda00f9c49f218224ac0 Signed-off-by: David Garcia --- installers/full_install_osm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index cb457ce3..deb18a4d 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -851,7 +851,7 @@ function install_k8s_storageclass() { } function install_k8s_metallb() { - METALLB_IP_RANGE=$DEFAULT_IP-$DEFAULT_IP + METALLB_IP_RANGE=$DEFAULT_IP/32 kubectl apply -f ${OSM_DEVOPS}/installers/k8s/metallb/metallb.yaml \ || FATAL "Cannot install MetalLB" echo "apiVersion: v1 @@ -871,7 +871,7 @@ data: #installs metallb from helm function install_helm_metallb() { - METALLB_IP_RANGE=$DEFAULT_IP-$DEFAULT_IP + METALLB_IP_RANGE=$DEFAULT_IP/32 echo "configInline: address-pools: - name: default -- 2.17.1