Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-42954

Adding plugin via cli manager on disconnected cluster fails with certificate errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.17.0
    • cli-manager
    • None
    • Important
    • None
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-42868. The following is the description of the original issue:

      Description of problem:

      when trying to add plugin via cli-manager on disconnected cluster i see that error related to certificate is thrown.
      status:
        conditions:
          - lastTransitionTime: '2024-10-08T14:18:12Z'
            message: 'failed to pull the image error Get "https://ec2-3-137-212-76.us-east-2.compute.amazonaws.com:5000/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority'
            reason: ImagePullError
            status: 'False'
            type: PluginInstalled
          

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

           [knarra@knarra-thinkpadx1carbon7th openshift-tests-private]$ oc get csv -n openshift-cli-manager-operator
      NAME                          DISPLAY       VERSION   REPLACES   PHASE
      cli-manager-operator.v0.1.0   CLI Manager   0.1.0                Succeeded
      
          

      How reproducible:

           Always
          

      Steps to Reproduce:

          1. Install 4.17 ocp disconnected cluster
          2. Install cli-manager operator
          3. Now try adding the plugin and while doing so add image as <mirror_registry>:5000/ocp/release:4.17.0-0.nightly-2024-10-07-214907-x86_64-oc-mirror
          

      Actual results:

          I see that plugin fails to install with error as seen below
      status:
        conditions:
          - lastTransitionTime: '2024-10-08T14:18:12Z'
            message: 'failed to pull the image error Get "https://ec2-3-137-212-76.us-east-2.compute.amazonaws.com:5000/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority'
            reason: ImagePullError
            status: 'False'
            type: PluginInstalled
          

      Expected results:

           Plugin should be ready and no certificate error should be seen.
          

      Additional info:

      
          

            aguclu@redhat.com Arda Guclu
            openshift-crt-jira-prow OpenShift Prow Bot
            Rama Kasturi Narra Rama Kasturi Narra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: