apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  annotations:
    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:33:51Z"
  finalizers:
  - kubevirt.io/virtualMachineControllerFinalize
  - foregroundDeleteVirtualMachine
  generation: 38
  labels:
    debugLogs: "true"
    kubevirt.io/domain: vm-for-post-copy-upgrade-test-1761741230-6668174
    kubevirt.io/migrationTargetNodeName: cnvqe-070.lab.eng.tlv2.redhat.com
    kubevirt.io/nodeName: cnvqe-070.lab.eng.tlv2.redhat.com
    kubevirt.io/vm: vm-for-post-copy-upgrade-test-1761741230-6668174
    post-copy-vm: "true"
  name: vm-for-post-copy-upgrade-test-1761741230-6668174
  namespace: test-upgrade-namespace
  ownerReferences:
  - apiVersion: kubevirt.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: VirtualMachine
    name: vm-for-post-copy-upgrade-test-1761741230-6668174
    uid: b1c73ac3-1cca-4611-a7b5-6e8bc10159c9
  resourceVersion: "2236000"
  uid: 049d4fbc-8650-41c2-96c3-16347b2ef0d9
spec:
  architecture: amd64
  domain:
    cpu:
      cores: 1
      model: host-model
    devices:
      disks:
      - disk:
          bus: virtio
        name: containerdisk
      - disk:
          bus: virtio
        name: cloudinitdisk
      interfaces:
      - macAddress: 02:8b:4c:00:00:05
        masquerade: {}
        name: default
      rng: {}
    features:
      acpi:
        enabled: true
    firmware:
      serial: 9175d489-f8ba-40aa-810f-c4f35097878d
      uuid: 909a38f1-8864-5c0c-a4b3-2e45196fed15
    machine:
      type: pc-q35-rhel9.6.0
    memory:
      guest: 1Gi
      maxGuest: 4Gi
    resources:
      requests:
        memory: 1Gi
  evictionStrategy: LiveMigrate
  networks:
  - name: default
    pod: {}
  terminationGracePeriodSeconds: 30
  volumes:
  - containerDisk:
      image: quay.io/openshift-cnv/qe-cnv-tests-fedora:41@sha256:a91659fba4e0258dda1be076dd6e56e34d9bf3dce082e57f939994ce0f124348
      imagePullPolicy: IfNotPresent
    name: containerdisk
  - cloudInitNoCloud:
      userData: |-
        #cloud-config
        chpasswd:
          expire: false
        password: password
        user: fedora
        ssh_pwauth: true

        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:
    718bda57-ddf4-4f9d-9ddd-acf4641e8697: cnvqe-070.lab.eng.tlv2.redhat.com
    88479711-0e00-4617-be26-6fbebbc4c51b: cnvqe-071.lab.eng.tlv2.redhat.com
    f6a74d0a-4c90-4655-81b9-9939ca5adcba: cnvqe-070.lab.eng.tlv2.redhat.com
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2025-10-29T13:27:13Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: LiveMigratable
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: StorageLiveMigratable
  - lastProbeTime: "2025-10-29T12:34:20Z"
    lastTransitionTime: null
    status: "True"
    type: AgentConnected
  currentCPUTopology:
    cores: 1
  guestOSInfo:
    id: fedora
    kernelRelease: 6.13.6-200.fc41.x86_64
    kernelVersion: '#1 SMP PREEMPT_DYNAMIC Fri Mar  7 21:33:48 UTC 2025'
    machine: x86_64
    name: Fedora Linux
    prettyName: Fedora Linux 41 (Cloud Edition)
    version: 41 (Cloud Edition)
    versionId: "41"
  interfaces:
  - infoSource: domain, guest-agent
    interfaceName: eth0
    ipAddress: 10.130.1.1
    ipAddresses:
    - 10.130.1.1
    - fd02:0:0:3::602
    linkState: up
    mac: 02:8b:4c:00:00:05
    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: 1Gi
    guestCurrent: 1Gi
    guestRequested: 1Gi
  migrationMethod: BlockMigration
  migrationState:
    completed: true
    endTimestamp: "2025-10-29T13:27:13Z"
    migrationConfiguration:
      allowAutoConverge: true
      allowPostCopy: true
      allowWorkloadDisruption: true
      bandwidthPerMigration: 100Mi
      completionTimeoutPerGiB: 1
      nodeDrainTaintKey: kubevirt.io/drain
      parallelMigrationsPerCluster: 5
      parallelOutboundMigrationsPerNode: 2
      progressTimeout: 150
      unsafeMigrationOverride: false
    migrationPolicyName: post-copy-migration-policy
    migrationUid: 61c622ca-1689-4186-a61c-e6e4c68c4b13
    mode: PostCopy
    sourceNode: cnvqe-071.lab.eng.tlv2.redhat.com
    sourcePod: virt-launcher-vm-for-post-copy-upgrade-test-1761741230-666z4zq7
    startTimestamp: "2025-10-29T13:27:06Z"
    targetDirectMigrationNodePorts:
      "32885": 0
      "35183": 49152
      "45027": 49153
    targetNode: cnvqe-070.lab.eng.tlv2.redhat.com
    targetNodeAddress: 10.130.0.252
    targetNodeDomainDetected: true
    targetNodeDomainReadyTimestamp: "2025-10-29T13:27:10Z"
    targetPod: virt-launcher-vm-for-post-copy-upgrade-test-1761741230-666cxqq7
  migrationTransport: Unix
  nodeName: cnvqe-070.lab.eng.tlv2.redhat.com
  phase: Running
  phaseTransitionTimestamps:
  - phase: Pending
    phaseTransitionTimestamp: "2025-10-29T12:33:51Z"
  - phase: Scheduling
    phaseTransitionTimestamp: "2025-10-29T12:33:51Z"
  - phase: Scheduled
    phaseTransitionTimestamp: "2025-10-29T12:34:02Z"
  - phase: Running
    phaseTransitionTimestamp: "2025-10-29T12:34:05Z"
  qosClass: Burstable
  runtimeUser: 107
  selinuxContext: system_u:object_r:container_file_t:s0:c140,c496
  virtualMachineRevisionName: revision-start-vm-b1c73ac3-1cca-4611-a7b5-6e8bc10159c9-2
  volumeStatus:
  - name: cloudinitdisk
    size: 1048576
    target: vdb
  - containerDiskVolume:
      checksum: 643904771
    name: containerdisk
    target: vda
