From b652f093b2974bd4dfc825a4c6229dff7ff360c2 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 6 Sep 2024 10:42:28 +0300 Subject: [PATCH] e2e: create empty fallback config before installing the package Prevent "restart bomb" that causes systemd to throttle (re-)starting of cri-rm, that in turn, may cause following steps to fail. --- demo/lib/vm.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/lib/vm.bash b/demo/lib/vm.bash index 4e900c62b..93668279e 100644 --- a/demo/lib/vm.bash +++ b/demo/lib/vm.bash @@ -655,6 +655,7 @@ vm-install-cri-resmgr() { elif [[ "$pkg_count" -gt 1 ]]; then error "installing from $binsrc failed: expected exactly one cri-resource-manager*.$suf in $HOST_PROJECT_DIR/$binsrc, found $pkg_count alternatives." fi + vm-command "mkdir -p /etc/cri-resmgr && touch /etc/cri-resmgr/fallback.cfg" host-command "$SCP $HOST_PROJECT_DIR/$binsrc/*.$suf $VM_SSH_USER@$VM_IP:/tmp" || { command-error "copying *.$suf to vm failed, run \"make cross-$suf\" first" }