apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: annotations: kubevirt.io/latest-observed-api-version: v1 kubevirt.io/storage-observed-api-version: v1 vm.kubevirt.io/validations: | [ { "name": "minimal-required-memory", "path": "jsonpath::.spec.domain.memory.guest", "rule": "integer", "message": "This VM requires more memory.", "min": 2147483648 } ] creationTimestamp: "2024-12-19T16:12:05Z" finalizers: - kubevirt.io/virtualMachineControllerFinalize generation: 1 labels: app: vm-bug kubevirt.io/dynamic-credentials-support: "true" vm.kubevirt.io/template: fedora-server-small vm.kubevirt.io/template.namespace: openshift vm.kubevirt.io/template.revision: "1" vm.kubevirt.io/template.version: v0.31.0 name: vm-bug namespace: default resourceVersion: "9894630" uid: 5a72c164-1e25-48c7-b7e0-6a9b1abbe6d0 spec: dataVolumeTemplates: - apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: creationTimestamp: null name: vm-bug spec: source: registry: url: docker://quay.io/containerdisks/fedora:latest storage: resources: requests: storage: 10Gi runStrategy: RerunOnFailure template: metadata: annotations: vm.kubevirt.io/flavor: small vm.kubevirt.io/os: fedora vm.kubevirt.io/workload: server creationTimestamp: null labels: kubevirt.io/domain: vm-bug kubevirt.io/size: small network.kubevirt.io/headlessService: headless spec: architecture: amd64 domain: cpu: cores: 1 sockets: 1 threads: 1 devices: disks: - disk: bus: virtio name: rootdisk - disk: bus: virtio name: cloudinitdisk - disk: bus: virtio name: disk-yellow-cougar-83 interfaces: - macAddress: 02:2f:23:00:00:13 masquerade: {} model: virtio name: default rng: {} features: acpi: {} smm: enabled: true firmware: bootloader: efi: {} machine: type: pc-q35-rhel9.4.0 memory: guest: 2Gi resources: {} networks: - name: default pod: {} terminationGracePeriodSeconds: 180 volumes: - dataVolume: name: vm-bug name: rootdisk - name: disk-yellow-cougar-83 persistentVolumeClaim: claimName: test-datavolume-vnmz7rdgnfb9 - cloudInitNoCloud: userData: | #cloud-config password: fedora chpasswd: { expire: False } runcmd: - sudo sed -i 's/^SELINUX=.*/SELINUX=enforcing/' /etc/selinux/config name: cloudinitdisk status: conditions: - lastProbeTime: null lastTransitionTime: "2024-12-19T16:20:15Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: null message: All of the VMI's DVs are bound and not running reason: AllDVsReady status: "True" type: DataVolumesReady - lastProbeTime: null lastTransitionTime: null message: 'cannot migrate VMI: PVC vm-bug is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)' reason: DisksNotLiveMigratable status: "False" type: LiveMigratable - lastProbeTime: null lastTransitionTime: null status: "True" type: StorageLiveMigratable - lastProbeTime: "2024-12-19T16:20:47Z" lastTransitionTime: null status: "True" type: AgentConnected created: true desiredGeneration: 1 observedGeneration: 1 printableStatus: Running ready: true runStrategy: RerunOnFailure volumeSnapshotStatuses: - enabled: false name: rootdisk reason: 'No VolumeSnapshotClass: Volume snapshots are not configured for this StorageClass [hostpath-csi-basic] [rootdisk]' - enabled: true name: disk-yellow-cougar-83 - enabled: false name: cloudinitdisk reason: Snapshot is not supported for this volumeSource type [cloudinitdisk]