Description of problem: When concurrently creating a bulk of VMs that are backed by WFFC DVs, it is possible that an actual virt-launcher won't get created (VMI will remain Pending) Version-Release number of selected component (if applicable): CNV 4.8.0 How reproducible: 100% with 10 VMs Steps to Reproduce: 1. Create a bulk of VMs backed by WFFC DVs (script below) Actual results: At least VMI is 'Pending' Expected results: All VMIs 'Running' Additional info: #!/bin/bash for (( c=0; c<10; c++ )) do cat << __EOF__ | oc create -f - --- apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: {name: import-public-registry-quay-dv-${c}, namespace: default} spec: pvc: accessModes: [ReadWriteOnce] resources: requests: {storage: 1Gi} storageClassName: hostpath-provisioner volumeMode: Filesystem source: registry: {url: 'docker://quay.io/kubevirt/cirros-registry-disk-demo'} --- apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: labels: {} name: import-public-registry-quay-dv-${c} namespace: default spec: running: true template: metadata: labels: {kubevirt.io/domain: import-public-registry-quay-dv-${c}, kubevirt.io/vm: import-public-registry-quay-dv-${c}} spec: domain: devices: disks: - disk: {bus: virtio} name: dv-disk rng: {} resources: requests: {memory: 64M} volumes: - dataVolume: {name: import-public-registry-quay-dv-${c}} name: dv-disk __EOF__ done
Could you create a cherrypick PR to 4.8 branch? We will hold the pr till 4.8.0 release.
Added
verified. CDI - v1.34.1-4 virtctl - v0.41.0-65 CNV - 4.8.1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.8.1 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3259