From 022f829e4cdaadc9042b11c4b622455c197f8aa3 Mon Sep 17 00:00:00 2001 From: Nahshon Unna-Tsameret Date: Sun, 10 Dec 2023 08:44:35 +0200 Subject: [PATCH 1/2] Fix bug in the deploy/deploy.sh script The current script lacks the applying of the MTQ CRD, causing the HCO deployment to fail, and the HCO pod to exit with error. This PR adds the missing CRD. Signed-off-by: Nahshon Unna-Tsameret --- deploy/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 0a99673b51..b79fd4e92d 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -33,6 +33,7 @@ kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevir kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/main/deploy/crds/kubevirt00.crd.yaml kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/main/deploy/crds/hostpath-provisioner00.crd.yaml kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/main/deploy/crds/scheduling-scale-performance00.crd.yaml +kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/main/deploy/crds/managed-tenant-quota00.crd.yaml # Deploy cert-manager for webhook certificates kubectl apply ${LABEL_SELECTOR_ARG} -f https://raw.githubusercontent.com/kubevirt/hyperconverged-cluster-operator/main/deploy/cert-manager.yaml From 073eec2f24d3676557d90e74fc3f64ec4c4ec381 Mon Sep 17 00:00:00 2001 From: Nahshon Unna-Tsameret Date: Sun, 10 Dec 2023 13:37:18 +0200 Subject: [PATCH 2/2] Fix the cluster/sync.sh script kubevirtci moved to use `crictl` over `podman`. Modify the script to refluct that. Signed-off-by: Nahshon Unna-Tsameret --- cluster/sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/sync.sh b/cluster/sync.sh index c507c67829..2b4a4310f3 100755 --- a/cluster/sync.sh +++ b/cluster/sync.sh @@ -56,7 +56,7 @@ function update_nodes { for i in $(seq 1 ${KUBEVIRT_NUM_NODES}); do nodes+=("node$(printf "%02d" ${i})") done - pull_command="docker" + pull_command="crictl" fi ${_cri_bin} ps -a