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

Failed migration when no CA attached or selected 'Skip certificate validation'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.11.0
    • 2.11.0
    • Controller
    • None

      Description of problem:

      The issue is continue to the bug MTV-2500, so when creating that provider with no CA attached or selected 'Skip certificate validation' it end up with "Ready" state, but performing a migration fails with:
      virt-v2v: error: exception: libvirt: VIR_ERR_INTERNAL_ERROR: VIR_FROM_ESX: internal error: curl_easy_perform() returned an error: Problem with the SSL CA cert (path? access rights?) (77) : error setting certificate file: /opt/ca-bundle.crt

      Version-Release number of selected component (if applicable):

      ├── OCP version: 4.20.5
      ├── MTV version: 2.11.0 (redhat-osbs-on-pr-d58f76fcc1cae1ba6bbaff0095bf33e79c905123)
      └── CNV version: 4.20.3
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Create provider with and don't attach CA or select "Skip certificate validation"   
      2. Create a Plan and start cold migration

      Actual results:

      conversion pod fails with 
      virt-v2v: error: exception: libvirt: VIR_ERR_INTERNAL_ERROR: VIR_FROM_ESX: internal error: curl_easy_perform() returned an error: Problem with the SSL CA cert (path? access rights?) (77) : error setting certificate file: /opt/ca-bundle.crt

      Expected results:

      Migration succeeds

      Additional info:

       

              rh-ee-ehazan Elad Hazan
              rh-ee-abarakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: