Skip to content

Commit

Permalink
ci: restart portmap service on ci nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
  • Loading branch information
nebril committed Jun 11, 2021
1 parent 2d53c16 commit ad65c79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/vagrant-ci-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ set -e

K8S_NODES=${K8S_NODES:-2}

echo "restarting portmap and nfs-kernel-server services to combat nfs server issues"
systemctl restart portmap.service || true
systemctl restart nfs-kernel-server.service || true

echo "destroying vms in case this is a retry"
for i in $(seq 1 $K8S_NODES); do
vagrant destroy k8s${i}-${K8S_VERSION} --force
Expand Down

0 comments on commit ad65c79

Please sign in to comment.