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: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.6.3
    • Inventory
    • None
    • False
    • None
    • False

      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. mtv-version.png
          50 kB
          Yaacov Zamir
        2. network-map.png
          70 kB
          Yaacov Zamir
        3. network-map-ui.png
          66 kB
          Yaacov Zamir

            Unassigned Unassigned
            darin.sorrentino Darin Sorrentino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: