apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    kubemacpool.io/transaction-timestamp: "2025-10-29T12:25:50.02820761Z"
    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": 1610612736
        }
      ]
  creationTimestamp: "2025-10-29T12:25:49Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  generation: 2
  labels:
    app: vm-for-product-upgrade-hos-1761740748-0381238
    kubevirt.io/dynamic-credentials-support: "true"
    vm.kubevirt.io/template: rhel9-server-tiny
    vm.kubevirt.io/template.namespace: openshift
    vm.kubevirt.io/template.revision: "1"
    vm.kubevirt.io/template.version: v0.34.0
  name: vm-for-product-upgrade-hos-1761740748-0381238
  namespace: test-upgrade-namespace
  resourceVersion: "2177522"
  uid: b815cf3e-45c2-4a75-ad87-7a209d45f535
spec:
  dataVolumeTemplates:
  - apiVersion: cdi.kubevirt.io/v1beta1
    kind: DataVolume
    metadata:
      creationTimestamp: null
      name: vm-for-product-upgrade-hos-1761740748-0381238
    spec:
      sourceRef:
        kind: DataSource
        name: ds-for-product-upgrade-hostpath-csi-pvc-block
        namespace: openshift-virtualization-os-images
      storage:
        resources:
          requests:
            storage: "22763326669"
        storageClassName: hostpath-csi-pvc-block
  runStrategy: Always
  template:
    metadata:
      annotations:
        vm.kubevirt.io/flavor: tiny
        vm.kubevirt.io/os: rhel9
        vm.kubevirt.io/workload: server
      creationTimestamp: null
      labels:
        debugLogs: "true"
        kubevirt.io/domain: vm-for-product-upgrade-hos-1761740748-0381238
        kubevirt.io/size: tiny
        kubevirt.io/vm: vm-for-product-upgrade-hos-1761740748-0381238
    spec:
      architecture: amd64
      domain:
        cpu:
          cores: 1
          sockets: 1
          threads: 1
        devices:
          disks:
          - disk:
              bus: virtio
            name: rootdisk
          - disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - macAddress: 02:8b:4c:00:00:01
            masquerade: {}
            model: virtio
            name: default
          rng: {}
        features:
          acpi: {}
          smm:
            enabled: true
        firmware:
          bootloader:
            efi: {}
          serial: 369db40b-9c4d-41ce-af79-295d5ffabb09
        machine:
          type: pc-q35-rhel9.6.0
        memory:
          guest: 1536Mi
        resources: {}
      evictionStrategy: None
      networks:
      - name: default
        pod: {}
      terminationGracePeriodSeconds: 180
      volumes:
      - dataVolume:
          name: vm-for-product-upgrade-hos-1761740748-0381238
        name: rootdisk
      - cloudInitNoCloud:
          userData: |-
            #cloud-config
            user: cloud-user
            password: password
            chpasswd: { expire: False }
            ssh_authorized_keys:
             [ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCb92PujmwbdKC/sQvTcapqx0BJhkjXJwjBMOBHgq5caQiB1OBx4RZPrKzYI28KUfMqofn43DIfTjk5I41WCiWufHBXgxjPEEdFYVsRW9M/ZmuCqQWlkl+eiNBWbEYXAZyDRbVzuuEAQ2cL2ZyDfw5aPeiGNm73akigwxvS7mo3hP8GUSvvgnVX/H+BGu7huHQ0llO0/vfki33E73e7mJT7bN0s53kLh33hZjEVcTCwEDciTNds6EcXoWxFZMTrcxXSPIJb09u+HkkZFAck/CLlkUBjHLkK2NJTPF0fR35yhtVOKnFQHMw2yTue82nMk6uYhKc4vKBhIcA8Fwdiy/YV root@exec1.rdocloud]
            runcmd: ['grep ssh-rsa /etc/crypto-policies/back-ends/opensshserver.config || sudo update-crypto-policies --set LEGACY || true', "sudo sed -i 's/^#\\?PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config", 'sudo systemctl enable sshd', 'sudo systemctl restart sshd']
        name: cloudinitdisk
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2025-10-29T12:26:24Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: null
    message: All of the VMI's DVs are bound and ready
    reason: AllDVsReady
    status: "True"
    type: DataVolumesReady
  - lastProbeTime: null
    lastTransitionTime: null
    message: 'cannot migrate VMI: PVC vm-for-product-upgrade-hos-1761740748-0381238
      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: "2025-10-29T12:26:41Z"
    lastTransitionTime: null
    status: "True"
    type: AgentConnected
  created: true
  desiredGeneration: 2
  observedGeneration: 2
  printableStatus: Running
  ready: true
  runStrategy: Always
  volumeSnapshotStatuses:
  - enabled: false
    name: rootdisk
    reason: 'No VolumeSnapshotClass: Volume snapshots are not configured for this
      StorageClass [hostpath-csi-pvc-block] [rootdisk]'
  - enabled: false
    name: cloudinitdisk
    reason: Snapshot is not supported for this volumeSource type [cloudinitdisk]
