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

Migration Plan for OCPv->OCPv missing the source namespace causing VMNetworkNotMapped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.8.0, 2.7.2
    • 2.6.3
    • User Interface
    • False
    • None
    • True

      When creating a Migration Plan for OCPv->OCPv using the form, the network map generated is missing the source namespace causing VMNetworkNotMapped error on the plan.  Editing the YAML and adding the namespace to the source fixes this issue:

      Generated YAML:

      spec:  
        map:
          - destination:
              name: vlan-4020
              namespace: ctc-windows
              type: multus
            source:
              id: adf78721-65b6-4d8e-a3ca-3adcdc527702
              name: vlan-4020
              type: openshift
          - destination:
              name: pod
              namespace: ''
              type: pod
            source:
              type: pod 

      Manually updated:

      spec: 
        map:
          - destination:
              name: vlan-4020
              namespace: ctc-windows
              type: multus
             source:
               id: adf78721-65b6-4d8e-a3ca-3adcdc527702
               name: vlan-4020
               namespace: default
               type: openshift
           - destination:
               name: pod
               namespace: ''
               type: pod
             source:
               type: pod  

      Expection:
      The YAML generated for the NetworkMap using the Plan Creation Form contains the namespace for Source objects when the source provider is an Openshift Provider Type.

       

        1. network-map-ui.png
          network-map-ui.png
          66 kB
        2. network-map.png
          network-map.png
          70 kB
        3. mtv-version.png
          mtv-version.png
          50 kB
        4. image-2024-10-12-18-41-21-290.png
          image-2024-10-12-18-41-21-290.png
          2 kB
        5. image-2024-10-12-18-37-50-059.png
          image-2024-10-12-18-37-50-059.png
          18 kB
        6. image-2024-10-12-18-36-50-630.png
          image-2024-10-12-18-36-50-630.png
          25 kB

              yzamir@redhat.com Yaacov Zamir
              darin.sorrentino Darin Sorrentino
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: