From 923d9ba95403f0de2664fcc0498970959197cbc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Sch=C3=B6chlin?= Date: Mon, 16 Sep 2024 11:17:46 +0200 Subject: [PATCH] Minor improvements (#48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add ipV4 hint * add extra network test Signed-off-by: Marc Schöchlin --- documentation/System_Deployment.md | 3 ++- .../files/scripts/scs_check_network_connectivity.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/System_Deployment.md b/documentation/System_Deployment.md index d551421..7cf6872 100644 --- a/documentation/System_Deployment.md +++ b/documentation/System_Deployment.md @@ -125,10 +125,11 @@ Please just add issues to this project with hints or directly [contact me](https ``` osism apply scs_all_nodes -l 'all:!manager' ``` -* Check if the ntp time setup is correct +* Check if the ntp time and the network setup is correct (checks pre installation conditions like proper time sync and network connectivity) ``` osism apply scs_check_preinstall + osism validate ceph-connectivity ``` ## Deploy the infratructure services diff --git a/environments/custom/roles/scs-landscape-nodes/files/scripts/scs_check_network_connectivity.sh b/environments/custom/roles/scs-landscape-nodes/files/scripts/scs_check_network_connectivity.sh index cc95110..a88eadc 100755 --- a/environments/custom/roles/scs-landscape-nodes/files/scripts/scs_check_network_connectivity.sh +++ b/environments/custom/roles/scs-landscape-nodes/files/scripts/scs_check_network_connectivity.sh @@ -12,7 +12,7 @@ done < <(sudo vtysh -c "show ip bgp summary"|awk '/^enp/{if ($10 !~/[0-9][0-9]*/ while read node do - # MTU 9100 - (8 bytes for ICMP headers and 20 bytes for Ethernet header) + # MTU 9100 - (8 bytes for ICMP headers and 20 bytes for IPv4 Ethernet header) ping -M do -c ${1:-2} -s $((9100 - 28)) $node if [ "$?" != "0" ];then failed="PING:$node $failed"