Skip to content

Commit

Permalink
Fix duplicate mount error during provisioning (#1032)
Browse files Browse the repository at this point in the history
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] containers/podman#18458
[2] containers/podman#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 <[email protected]>
  • Loading branch information
brianmcarey authored Jun 21, 2023
1 parent 6101481 commit 0c6367c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-provision/gocli/cmd/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down

0 comments on commit 0c6367c

Please sign in to comment.