From 0c6367c002126689ace5f34d7240247f371b06f6 Mon Sep 17 00:00:00 2001 From: Brian Carey Date: Wed, 21 Jun 2023 17:35:18 +0100 Subject: [PATCH] Fix duplicate mount error during provisioning (#1032) Podman recently changed the handling of volumes at the container create stage[1] to fix a bug[2] so when the bootstrap image was updated this started failing in the check-provision lanes[3]. [1] https://github.com/containers/podman/pull/18458 [2] https://github.com/containers/podman/issues/18454 [3] https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirtci/1024/check-provision-k8s-1.26-centos9/1670717915193675776#1:build-log.txt%3A2275 Signed-off-by: Brian Carey --- cluster-provision/gocli/cmd/provision.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-provision/gocli/cmd/provision.go b/cluster-provision/gocli/cmd/provision.go index 19abac92da..f2ff808b85 100644 --- a/cluster-provision/gocli/cmd/provision.go +++ b/cluster-provision/gocli/cmd/provision.go @@ -185,7 +185,7 @@ func provisionCluster(cmd *cobra.Command, args []string) (retErr error) { fmt.Sprintf("NODE_NUM=%s", nodeNum), }, Volumes: map[string]struct{}{ - "/var/run/disk/": {}, + "/var/run/disk": {}, "/var/lib/registry": {}, }, Cmd: []string{"/bin/bash", "-c", fmt.Sprintf("/vm.sh --memory %s --cpu %s %s", memory, strconv.Itoa(int(cpu)), qemuArgs)},