apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  annotations:
    kubevirt.io/cluster-instancetype-name: basic-cluster-instancetype-for-upgrade
    kubevirt.io/cluster-preference-name: basic-cluster-preference-for-upgrade
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/nonroot: "true"
    kubevirt.io/storage-observed-api-version: v1
    kubevirt.io/vm-generation: "2"
  creationTimestamp: "2025-10-29T12:25:50Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  - foregroundDeleteVirtualMachine
  generation: 33
  labels:
    debugLogs: "true"
    kubevirt.io/domain: rhel-vm-with-instance-type-1761740744-4333003
    kubevirt.io/migrationTargetNodeName: cnvqe-070.lab.eng.tlv2.redhat.com
    kubevirt.io/nodeName: cnvqe-070.lab.eng.tlv2.redhat.com
    kubevirt.io/vm: rhel-vm-with-instance-type-1761740744-4333003
  managedFields:
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:kubevirt.io/nodeName: {}
      f:status:
        f:guestOSInfo:
          f:id: {}
          f:kernelRelease: {}
          f:kernelVersion: {}
          f:machine: {}
          f:name: {}
          f:prettyName: {}
          f:version: {}
          f:versionId: {}
        f:interfaces: {}
        f:machine:
          .: {}
          f:type: {}
        f:migrationMethod: {}
        f:migrationState:
          f:completed: {}
          f:endTimestamp: {}
          f:mode: {}
          f:startTimestamp: {}
          f:targetDirectMigrationNodePorts:
            .: {}
            f:36529: {}
            f:37319: {}
            f:44819: {}
          f:targetNodeAddress: {}
          f:targetNodeDomainDetected: {}
          f:targetNodeDomainReadyTimestamp: {}
        f:nodeName: {}
        f:phase: {}
        f:phaseTransitionTimestamps: {}
        f:selinuxContext: {}
        f:volumeStatus: {}
    manager: virt-handler
    operation: Update
    time: "2025-10-29T13:26:51Z"
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:kubevirt.io/cluster-instancetype-name: {}
          f:kubevirt.io/cluster-preference-name: {}
          f:kubevirt.io/latest-observed-api-version: {}
          f:kubevirt.io/nonroot: {}
          f:kubevirt.io/storage-observed-api-version: {}
          f:kubevirt.io/vm-generation: {}
        f:finalizers:
          .: {}
          v:"kubevirt.io/virtualMachineControllerFinalize": {}
        f:labels:
          .: {}
          f:debugLogs: {}
          f:kubevirt.io/domain: {}
          f:kubevirt.io/migrationTargetNodeName: {}
          f:kubevirt.io/vm: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"d31fc4d4-ef8f-43ba-9ac3-def4f8d748f4"}: {}
      f:spec:
        .: {}
        f:architecture: {}
        f:domain:
          .: {}
          f:cpu:
            .: {}
            f:cores: {}
            f:model: {}
            f:sockets: {}
            f:threads: {}
          f:devices:
            .: {}
            f:disks: {}
            f:interfaces: {}
            f:rng: {}
          f:firmware:
            .: {}
            f:serial: {}
            f:uuid: {}
          f:machine:
            .: {}
            f:type: {}
          f:memory:
            .: {}
            f:guest: {}
          f:resources: {}
        f:networks: {}
        f:volumes: {}
      f:status:
        .: {}
        f:activePods:
          .: {}
          f:55a9db60-5b86-47b7-82b6-f9e7b2d1a546: {}
          f:599537c0-a3fa-40ad-ad36-4d2adb75ae4d: {}
          f:ac5d483b-7385-4d0a-b9d1-7d3b780890de: {}
        f:conditions: {}
        f:guestOSInfo: {}
        f:launcherContainerImageVersion: {}
        f:migrationState:
          .: {}
          f:migrationConfiguration:
            .: {}
            f:allowAutoConverge: {}
            f:allowPostCopy: {}
            f:allowWorkloadDisruption: {}
            f:bandwidthPerMigration: {}
            f:completionTimeoutPerGiB: {}
            f:nodeDrainTaintKey: {}
            f:parallelMigrationsPerCluster: {}
            f:parallelOutboundMigrationsPerNode: {}
            f:progressTimeout: {}
            f:unsafeMigrationOverride: {}
          f:migrationUid: {}
          f:sourceNode: {}
          f:sourcePod: {}
          f:targetNode: {}
          f:targetPod: {}
        f:migrationTransport: {}
        f:qosClass: {}
        f:runtimeUser: {}
        f:virtualMachineRevisionName: {}
    manager: virt-controller
    operation: Update
    time: "2025-10-29T13:26:52Z"
  name: rhel-vm-with-instance-type-1761740744-4333003
  namespace: test-upgrade-namespace
  ownerReferences:
  - apiVersion: kubevirt.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachine
    name: rhel-vm-with-instance-type-1761740744-4333003
    uid: d31fc4d4-ef8f-43ba-9ac3-def4f8d748f4
  resourceVersion: "2235256"
  uid: 067fd76a-cbd2-4232-a4f5-62135e74f471
spec:
  architecture: amd64
  domain:
    cpu:
      cores: 1
      maxSockets: 4
      model: Skylake-Client-v3
      sockets: 1
      threads: 1
    devices:
      disks:
      - disk:
          bus: virtio
        name: dv-disk
      - disk:
          bus: virtio
        name: cloudinitdisk
      interfaces:
      - masquerade: {}
        name: default
      rng: {}
    features:
      acpi:
        enabled: true
    firmware:
      serial: 9f4ae8a8-84b1-40b1-9ee5-903cd68a36ea
      uuid: 4bb473e0-aac3-5a63-80f1-1a5505cec76c
    machine:
      type: pc-q35-rhel9.6.0
    memory:
      guest: 1536Mi
      maxGuest: 6Gi
    resources:
      requests:
        memory: 1536Mi
  evictionStrategy: LiveMigrate
  networks:
  - name: default
    pod: {}
  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:
  activePods:
    55a9db60-5b86-47b7-82b6-f9e7b2d1a546: cnvqe-070.lab.eng.tlv2.redhat.com
    599537c0-a3fa-40ad-ad36-4d2adb75ae4d: cnvqe-070.lab.eng.tlv2.redhat.com
    ac5d483b-7385-4d0a-b9d1-7d3b780890de: cnvqe-072.lab.eng.tlv2.redhat.com
  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
  currentCPUTopology:
    cores: 1
    sockets: 1
    threads: 1
  guestOSInfo:
    id: rhel
    kernelRelease: 5.14.0-570.12.1.el9_6.x86_64
    kernelVersion: '#1 SMP PREEMPT_DYNAMIC Fri Apr 4 10:41:31 EDT 2025'
    machine: x86_64
    name: Red Hat Enterprise Linux
    prettyName: Red Hat Enterprise Linux 9.6 (Plow)
    version: 9.6 (Plow)
    versionId: "9.6"
  interfaces:
  - infoSource: domain, guest-agent
    interfaceName: eth0
    ipAddress: 10.130.0.255
    ipAddresses:
    - 10.130.0.255
    - fd02:0:0:3::600
    linkState: up
    mac: 0a:58:0a:82:00:dd
    name: default
    podInterfaceName: eth0
    queueCount: 1
  launcherContainerImageVersion: registry.redhat.io/container-native-virtualization/virt-launcher-rhel9@sha256:dd588a7c787bd7a1cea015798290de04a8d5035a0a0b8d90072965afe3268c6c
  machine:
    type: pc-q35-rhel9.6.0
  memory:
    guestAtBoot: 1536Mi
    guestCurrent: 1536Mi
    guestRequested: 1536Mi
  migrationMethod: BlockMigration
  migrationState:
    completed: true
    endTimestamp: "2025-10-29T13:26:51Z"
    migrationConfiguration:
      allowAutoConverge: false
      allowPostCopy: false
      allowWorkloadDisruption: false
      bandwidthPerMigration: "0"
      completionTimeoutPerGiB: 150
      nodeDrainTaintKey: kubevirt.io/drain
      parallelMigrationsPerCluster: 5
      parallelOutboundMigrationsPerNode: 2
      progressTimeout: 150
      unsafeMigrationOverride: false
    migrationUid: 6e906867-bd7a-4b5f-82bf-741a3bbb902f
    mode: PreCopy
    sourceNode: cnvqe-072.lab.eng.tlv2.redhat.com
    sourcePod: virt-launcher-rhel-vm-with-instance-type-1761740744-433300csksq
    startTimestamp: "2025-10-29T13:26:48Z"
    targetDirectMigrationNodePorts:
      "36529": 0
      "37319": 49153
      "44819": 49152
    targetNode: cnvqe-070.lab.eng.tlv2.redhat.com
    targetNodeAddress: 10.130.0.252
    targetNodeDomainDetected: true
    targetNodeDomainReadyTimestamp: "2025-10-29T13:26:51Z"
    targetPod: virt-launcher-rhel-vm-with-instance-type-1761740744-433300skxgm
  migrationTransport: Unix
  nodeName: cnvqe-070.lab.eng.tlv2.redhat.com
  phase: Running
  phaseTransitionTimestamps:
  - phase: Pending
    phaseTransitionTimestamp: "2025-10-29T12:25:50Z"
  - phase: Scheduling
    phaseTransitionTimestamp: "2025-10-29T12:25:50Z"
  - phase: Scheduled
    phaseTransitionTimestamp: "2025-10-29T12:25:56Z"
  - phase: Running
    phaseTransitionTimestamp: "2025-10-29T12:25:58Z"
  qosClass: Burstable
  runtimeUser: 107
  selinuxContext: system_u:object_r:container_file_t:s0:c120,c709
  virtualMachineRevisionName: revision-start-vm-d31fc4d4-ef8f-43ba-9ac3-def4f8d748f4-2
  volumeStatus:
  - name: cloudinitdisk
    size: 1048576
    target: vdb
  - name: dv-disk
    persistentVolumeClaimInfo:
      accessModes:
      - ReadWriteMany
      capacity:
        storage: 20Gi
      claimName: ds-for-product-upgrade-ocs-storagecluster-ceph-rbd-virtualization
      filesystemOverhead: "0"
      requests:
        storage: "21474836480"
      volumeMode: Block
    target: vda
