We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcfc17c commit 19c2998Copy full SHA for 19c2998
templates/common/_base/files/wait-for-ipsec-connect.yaml
@@ -28,6 +28,9 @@ contents:
28
establishedsa=$(ipsec showstates | grep STATE_V2_ESTABLISHED_CHILD_SA | grep -o '"[^"]*"' | sed 's/"//g' | tr ' ' '\n' | sort | uniq | tr '\n' ' ')
29
if [ "$desiredconn" == "$establishedsa" ]; then
30
echo "IPsec SAs are established for desired connections"
31
+ # Noticed control plane nodes are still reestablishing child SAs (reason not found yet) again after around 15s, so just for test
32
+ # introducing sleep before break from loop.
33
+ sleep 20s
34
break
35
else
36
echo "IPsec SAs are not established yet, waiting"
0 commit comments