apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    kubemacpool.io/transaction-timestamp: "2025-10-29T12:25:50.363689719Z"
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1
  creationTimestamp: "2025-10-29T12:25:45Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  generation: 2
  name: rhel-vm-with-instance-type-1761740744-4333003
  namespace: test-upgrade-namespace
  resourceVersion: "2235257"
  uid: d31fc4d4-ef8f-43ba-9ac3-def4f8d748f4
spec:
  dataVolumeTemplates:
  - apiVersion: cdi.kubevirt.io/v1beta1
    kind: DataVolume
    metadata:
      creationTimestamp: null
      name: ds-for-product-upgrade-ocs-storagecluster-ceph-rbd-virtualization
    spec:
      sourceRef:
        kind: DataSource
        name: ds-for-product-upgrade-ocs-storagecluster-ceph-rbd-virtualization
        namespace: openshift-virtualization-os-images
      storage:
        resources:
          requests:
            storage: "21474836480"
        storageClassName: ocs-storagecluster-ceph-rbd-virtualization
  instancetype:
    kind: VirtualMachineClusterInstancetype
    name: basic-cluster-instancetype-for-upgrade
  preference:
    kind: VirtualMachineClusterPreference
    name: basic-cluster-preference-for-upgrade
  runStrategy: Always
  template:
    metadata:
      creationTimestamp: null
      labels:
        debugLogs: "true"
        kubevirt.io/domain: rhel-vm-with-instance-type-1761740744-4333003
        kubevirt.io/vm: rhel-vm-with-instance-type-1761740744-4333003
    spec:
      architecture: amd64
      domain:
        devices:
          disks:
          - disk:
              bus: virtio
            name: dv-disk
          - disk:
              bus: virtio
            name: cloudinitdisk
          rng: {}
        firmware:
          serial: 9f4ae8a8-84b1-40b1-9ee5-903cd68a36ea
        machine:
          type: pc-q35-rhel9.6.0
        resources: {}
      volumes:
      - dataVolume:
          name: ds-for-product-upgrade-ocs-storagecluster-ceph-rbd-virtualization
        name: dv-disk
      - cloudInitNoCloud:
          userData: |-
            #cloud-config
            chpasswd:
              expire: false
            password: password
            user: cloud-user

            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-29T13:26:52Z"
    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
    status: "True"
    type: LiveMigratable
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: StorageLiveMigratable
  - lastProbeTime: "2025-10-29T12:26:11Z"
    lastTransitionTime: null
    status: "True"
    type: AgentConnected
  created: true
  desiredGeneration: 2
  instancetypeRef:
    controllerRevisionRef:
      name: rhel-vm-with-instance-type-1761740744-4333003-basic-cluster-instancetype-for-upgrade-v1beta1-fc64ae5a-e301-4061-8f13-08be63b8c91c-1
    kind: VirtualMachineClusterInstancetype
    name: basic-cluster-instancetype-for-upgrade
  observedGeneration: 2
  preferenceRef:
    controllerRevisionRef:
      name: rhel-vm-with-instance-type-1761740744-4333003-basic-cluster-preference-for-upgrade-v1beta1-00c71139-9bcd-46ae-96af-31b6f6885fe8-1
    kind: VirtualMachineClusterPreference
    name: basic-cluster-preference-for-upgrade
  printableStatus: Running
  ready: true
  runStrategy: Always
  volumeSnapshotStatuses:
  - enabled: true
    name: dv-disk
  - enabled: false
    name: cloudinitdisk
    reason: Snapshot is not supported for this volumeSource type [cloudinitdisk]
