Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-4104

"ImageConversion" fails during V2V process when using storage-offload due to missing secret files required by virt-v2v.

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      During the ImageConversion phase of a V2V migration with storage offload enabled, the virt-v2v {{ container fails immediately. The pod terminates with an error indicating that required credentials are missing from the mounted secret.}}
      the populate pod ( Xcopy) completed successfully [ storage-offlod]step  

      virt-v2v  pod : 

      [kni@f01-h07-000-r640 ~]$oc logs  1vm-1tb-offload-cold-tc4-0-vm-35364-hp9p2  -n1vm-1tb-offload-cold-tc4-0
      Failed to execute virt-v2v command failed to get domain XML:
      failed to read username from secret:
      open /etc/secret/accessKeyId: no such file or directory
       

       

      [kni@f01-h07-000-r640 ~]$ oc describe  pods/1vm-1tb-offload-cold-tc4-0-vm-35364-hp9p2 -n1vm-1tb-offload-cold-tc4-0
      Name:             1vm-1tb-offload-cold-tc4-0-vm-35364-hp9p2
      Namespace:        1vm-1tb-offload-cold-tc4-0
      Priority:         0
      Service Account:  default
      Node:             worker004-r640/10.1.60.17
      Start Time:       Sun, 14 Dec 2025 20:14:47 +0000
      Labels:           forklift.app=virt-v2v
                        migration=3bac5ae6-5ccb-47e2-875d-c780780c262f
                        plan=4d8e4e6d-53ae-43fb-abe9-d2cd1b3677cf
                        resource=vm-config
                        vmID=vm-35364
      Annotations:      k8s.ovn.org/pod-networks:
                          {"default":{"ip_addresses":["10.129.1.161/23"],"mac_address":"0a:58:0a:81:01:a1","gateway_ips":["10.129.0.1"],"routes":[{"dest":"10.128.0....
                        k8s.v1.cni.cncf.io/network-status:
                          [{
                              "name": "ovn-kubernetes",
                              "interface": "eth0",
                              "ips": [
                                  "10.129.1.161"
                              ],
                              "mac": "0a:58:0a:81:01:a1",
                              "default": true,
                              "dns": {}
                          }]
                        openshift.io/scc: forklift-controller-scc
                        seccomp.security.alpha.kubernetes.io/pod: localhost/profiles/unshare.json
                        security.openshift.io/validated-scc-subject-type: user
      Status:           Failed
      IP:               10.129.1.161
      IPs:
        IP:  10.129.1.161
      Init Containers:
        vddk-side-car:
          Container ID:   cri-o://f92c30e8d5d353e5d52ec588e9317bf7aec119fda5cca054b65f1620627fbaa9
          Image:          quay.io/qiyuan1/test7
          Image ID:       quay.io/qiyuan1/test7@sha256:891f1ea8724cdcd2348d0553470fdc61d4455176b326099d5bb28a131a49c7bf
          Port:           <none>
          Host Port:      <none>
          State:          Terminated
            Reason:       Completed
            Exit Code:    0
            Started:      Sun, 14 Dec 2025 20:14:59 +0000
            Finished:     Sun, 14 Dec 2025 20:14:59 +0000
          Ready:          True
          Restart Count:  0
          Limits:
            cpu:     1
            memory:  500Mi
          Requests:
            cpu:        100m
            memory:     150Mi
          Environment:  <none>
          Mounts:
            /opt from vddk-vol-mount (rw)
            /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bfvks (ro)
      Containers:
        virt-v2v:
          Container ID:   cri-o://306ccd3da105d105ab13319501437b404e0eece3e4a05a7c9d93101fbec39737
          Image:          registry.redhat.io/mtv-candidate/mtv-virt-v2v-rhel10@sha256:4c7bdd85779491c19dc6b119b222b42aea6e1bc53fd54f141780f9f220409195
          Image ID:       registry.redhat.io/mtv-candidate/mtv-virt-v2v-rhel10@sha256:4c7bdd85779491c19dc6b119b222b42aea6e1bc53fd54f141780f9f220409195
          Port:           2112/TCP
          Host Port:      0/TCP
          State:          Terminated
            Reason:       Error
            Exit Code:    1
            Started:      Sun, 14 Dec 2025 20:14:59 +0000
            Finished:     Sun, 14 Dec 2025 20:14:59 +0000
          Ready:          False
          Restart Count:  0
          Limits:
            cpu:                      4
            devices.kubevirt.io/kvm:  1
            memory:                   8Gi
          Requests:
            cpu:                      1
            devices.kubevirt.io/kvm:  1
            memory:                   1Gi
          Environment Variables from:
            1vm-1tb-offload-cold-tc4-0-vm-35364-7ghxq  Secret with prefix 'V2V_'  Optional: false
          Environment:
            V2V_vmName:       1tb-75-usage
            V2V_libvirtURL:   esx://root@172.16.11.3?no_verify=1
            V2V_source:       vSphere
            V2V_fingerprint:  29:DD:F6:1E:E5:9F:DA:98:44:FA:18:72:60:39:22:E6:8D:C0:5B:22
            V2V_extra_args:   []
            V2V_inPlace:      1
            LOCAL_MIGRATION:  true
          Mounts:
            /etc/secret from secret-volume (ro)
            /opt from vddk-vol-mount (rw)
            /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bfvks (ro)
          Devices:
            /dev/block0 from 1vm--1tb--disk-0-e3ce2e49
      Conditions:
        Type                        Status
        PodReadyToStartContainers   False
        Initialized                 True
        Ready                       False
        ContainersReady             False
        PodScheduled                True
      Volumes:
        1vm--1tb--disk-0-e3ce2e49:
          Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
          ClaimName:  1vm--1tb--disk-0-e3ce2e49
          ReadOnly:   false
        vddk-vol-mount:
          Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
          Medium:
          SizeLimit:  <unset>
        secret-volume:
          Type:        Secret (a volume populated by a Secret)
          SecretName:  1vm-1tb-offload-cold-tc4-0-vm-35364-7ghxq
          Optional:    false
        kube-api-access-bfvks:
          Type:                    Projected (a volume that contains injected data from multiple sources)
          TokenExpirationSeconds:  3607
          ConfigMapName:           kube-root-ca.crt
          ConfigMapOptional:       <nil>
          DownwardAPI:             true
          ConfigMapName:           openshift-service-ca.crt
          ConfigMapOptional:       <nil>
      QoS Class:                   Burstable
      Node-Selectors:              kubevirt.io/schedulable=true
      Tolerations:                 node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                                   node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                                   node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
      Events:                      <none> 

      OCP: 4.20.6
      MTV : 2-11-0-20
      CNV: 4.20.1
      ODF: 4.20.2

              gcheresh@redhat.com Genadi Chereshnya
              tzahia Tzahi Ashkenazi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: