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

Import process hit unexpected tls error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.7.2
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Description of problem:

      Create RHV provider, select "Skip certificate validation", select the VM and create the cold migration plan to migrate VM to remote cluster, hit tls error during the importer process:
      "TLS error, check your CA certificate settings (failed to validate the connection (Post "https://rhev-**/ovirt-engine/sso/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority)"
      

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

      MTV 2.7.2, CNV 4.17.0

      Step1: Create RHV provider, select "Skip certificate validation", select the VM and create the cold migration plan to migrate VM to remote cluster

      Step2: During the DV import status, check the pod log:  importer-prime-a16d2b0b-d7fc-4947-804c-60d389cdb0c7 with error below: more details in attached file: importer-prime-a16d2b0b-d7fc-4947-804c-60d389cdb0c7-importer.log

      I1028 06:44:48.008624       1 klog.go:22] Testing oVirt engine connection...
      I1028 06:44:48.076675       1 klog.go:22] Giving up testing oVirt engine connection (tls_error: TLS error, check your CA certificate settings (failed to validate the connection (Post "https://rhev-**/ovirt-engine/sso/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority)))
      I1028 06:44:48.076762       1 imageio-datasource.go:652] No transfer to clean up.
      E1028 06:44:48.076775       1 importer.go:347] tls_error: TLS error, check your CA certificate settings (failed to validate the connection (Post "https://rhev-**/ovirt-engine/sso/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority))
      Error creating connection 

      Step3: Fetch the certificate, and rerun the migration plan, the pipeline: DiskTransfer succeeded

      Actual results:

      In step2: Hit tls error during check the CA certificate settings
      

      Expected results:

      In step2: Import dv successfully without error
      

        1. image-2024-10-28-15-17-56-843.png
          59 kB
          Chenli Hu
        2. image-2024-10-28-15-18-43-448.png
          81 kB
          Chenli Hu
        3. image-2024-10-28-15-19-35-196.png
          46 kB
          Chenli Hu
        4. importer-prime-a16d2b0b-d7fc-4947-804c-60d389cdb0c7-importer.log
          2 kB
          Chenli Hu
        5. image-2024-10-28-15-36-28-518.png
          102 kB
          Chenli Hu
        6. image-2024-10-28-16-07-23-582.png
          68 kB
          Chenli Hu
        7. image-2024-10-28-16-14-02-250.png
          65 kB
          Chenli Hu

              Unassigned Unassigned
              chhu@redhat.com Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: