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

Connection failed when create OCP Provider with "Fetch certificate from URL"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.9.0
    • 2.9.0
    • Controller

      Description of problem:

      Try to create OCP provider with certificate validation by using "Fetch certificate from URL", hit error below:

      The provider is not ready - ConnectionTestFailed
      failed to create a secure TLS connection: tls: failed to verify certificate: x509: certificate signed by unknown authority. To troubleshoot, check the Forklift controller pod logs.

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

      MTV 2.9.0 (forklift-fbc-prod-v418:on-pr-e97186b9254c1432ca274681037b3643312888df) with CNV 4.18.7

      How reproducible:

      Always
      

      Steps to Reproduce:

      1) Try to create a OCP provider with certificate validation, by using "Fetch certificate from URL"

      2) Hit error: "The provider is not ready - ConnectionTestFailed
      failed to create a secure TLS connection: tls: failed to verify certificate: x509: certificate signed by unknown authority. To troubleshoot, check the Forklift controller pod logs."

      And the provider is keep on "staging", the forklift-controller log: forklift-controller-86d6db7c44-s6rlw-main.log

      Actual results:

      Step 2: Failed to create provider with "Fetch certificate from URL"

      Expected results:

      Step2: Create provider successfully

        1. forklift-controller-6855479b85-vnsvk-main.log
          1.12 MB
          Chenli Hu
        2. forklift-controller-86d6db7c44-s6rlw-main.log
          31 kB
          Chenli Hu
        3. image-2025-06-12-17-27-27-865.png
          98 kB
          Chenli Hu
        4. image-2025-06-12-17-29-00-334.png
          59 kB
          Chenli Hu
        5. image-2025-06-17-14-20-40-599.png
          67 kB
          Chenli Hu
        6. image-2025-06-17-14-22-51-212.png
          40 kB
          Chenli Hu
        7. image-2025-07-07-14-38-33-159.png
          45 kB
          Chenli Hu
        8. inventory.log
          40 kB
          Elad Hazan
        9. main.log
          14 kB
          Elad Hazan

              rh-ee-ehazan Elad Hazan
              chhu@redhat.com Chenli Hu
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: