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

Openshift Installation of AWS_IPI with platform operators during cluster creation fails to complete with "UnpackFailed" error for cluster operator platform-operators-aggregated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 4.13.z
    • OLM
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      OCP IPI installation with platform operator fails to complete.
      The platform operator co fails with the following error
      
      "encountered the failing cert-manager platform operator with reason "UnpackFailed"

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

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install OCP on AWS using IPI installation method.
      2. Create manifest for platform operators (cert-manager) as mentioned in the documentation:
      [+]https://docs.openshift.com/container-platform/4.13/operators/admin/olm-managing-po.html#olm-installing-po-during_olm-managing-po
      3. Run create cluster command.

      Actual results:

      Adding output from cluster for reference:
      
      ip-10-0-132-12.ap-south-1.compute.internal    Ready    worker                 47m   v1.26.3+b404935
      ip-10-0-153-126.ap-south-1.compute.internal   Ready    control-plane,master   57m   v1.26.3+b404935
      ip-10-0-180-141.ap-south-1.compute.internal   Ready    worker                 46m   v1.26.3+b404935
      ip-10-0-186-94.ap-south-1.compute.internal    Ready    control-plane,master   56m   v1.26.3+b404935
      ip-10-0-208-149.ap-south-1.compute.internal   Ready    worker                 46m   v1.26.3+b404935
      ip-10-0-216-140.ap-south-1.compute.internal   Ready    control-plane,master   56m   v1.26.3+b404935
      
      authentication                             4.13.0-rc.7   True        False         False      25m     
      baremetal                                  4.13.0-rc.7   True        False         False      52m     
      cloud-controller-manager                   4.13.0-rc.7   True        False         False      56m     
      cloud-credential                           4.13.0-rc.7   True        False         False      57m     
      cluster-api                                4.13.0-rc.7   True        False         False      52m     
      cluster-autoscaler                         4.13.0-rc.7   True        False         False      51m     
      config-operator                            4.13.0-rc.7   True        False         False      53m     
      console                                    4.13.0-rc.7   True        False         False      40m     
      control-plane-machine-set                  4.13.0-rc.7   True        False         False      51m     
      csi-snapshot-controller                    4.13.0-rc.7   True        False         False      52m     
      dns                                        4.13.0-rc.7   True        False         False      51m     
      etcd                                       4.13.0-rc.7   True        False         False      45m     
      image-registry                             4.13.0-rc.7   True        False         False      43m     
      ingress                                    4.13.0-rc.7   True        False         False      45m     
      insights                                   4.13.0-rc.7   True        False         False      46m     
      kube-apiserver                             4.13.0-rc.7   True        False         False      46m     
      kube-controller-manager                    4.13.0-rc.7   True        False         False      46m     
      kube-scheduler                             4.13.0-rc.7   True        False         False      48m     
      kube-storage-version-migrator              4.13.0-rc.7   True        False         False      53m     
      machine-api                                4.13.0-rc.7   True        False         False      45m     
      machine-approver                           4.13.0-rc.7   True        False         False      52m     
      machine-config                             4.13.0-rc.7   True        False         False      50m     
      marketplace                                4.13.0-rc.7   True        False         False      52m     
      monitoring                                 4.13.0-rc.7   True        False         False      42m     
      network                                    4.13.0-rc.7   True        False         False      55m     
      node-tuning                                4.13.0-rc.7   True        False         False      51m     
      openshift-apiserver                        4.13.0-rc.7   True        False         False      44m     
      openshift-controller-manager               4.13.0-rc.7   True        False         False      44m     
      openshift-samples                          4.13.0-rc.7   True        False         False      44m     
      operator-lifecycle-manager                 4.13.0-rc.7   True        False         False      52m     
      operator-lifecycle-manager-catalog         4.13.0-rc.7   True        False         False      52m     
      operator-lifecycle-manager-packageserver   4.13.0-rc.7   True        False         False      44m     
      platform-operators-aggregated              4.13.0-rc.7   False       True          False      29m     encountered the failing cert-manager platform operator with reason "UnpackFailed"
      service-ca                                 4.13.0-rc.7   True        False         False      53m     
      storage                                    4.13.0-rc.7   True        False         False      45m     NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
      version             False       True          59m     Unable to apply 4.13.0-rc.7: the cluster operator platform-operators-aggregated is not available
      
      [root@ip-10-0-20-252 ~]# oc get platformoperator cert-manager -o yaml
      apiVersion: platform.openshift.io/v1alpha1
      kind: PlatformOperator
      metadata:
        creationTimestamp: "2023-05-09T21:40:13Z"
        generation: 1
        name: cert-manager
        resourceVersion: "18121"
        uid: 9917bf77-f434-4b25-93e0-4aa7053ef3b8
      spec:
        package:
          name: openshift-cert-manager-operator
      status:
        activeBundleDeployment:
          name: ""
        conditions:
        - lastTransitionTime: "2023-05-09T21:52:54Z"
          message: 'Failed to unpack the cert-manager-8v44b5 Bundle: convert registry+v1
            bundle to plain+v0 bundle: AllNamespace install mode must be enabled'
          reason: UnpackFailed
          status: "False"
          type: Installed
      
      [root@ip-10-0-20-252 ~]# oc get featuregate -o yaml
      apiVersion: v1
      items:
      - apiVersion: config.openshift.io/v1
        kind: FeatureGate
        metadata:
          annotations:
            include.release.openshift.io/self-managed-high-availability: "true"
            include.release.openshift.io/single-node-developer: "true"
            release.openshift.io/create-only: "true"
          creationTimestamp: "2023-05-09T21:39:43Z"
          generation: 1
          name: cluster
          resourceVersion: "893"
          uid: 19b07653-941b-4dcb-99b7-a85d2fc3d3ab
        spec:
          featureSet: TechPreviewNoUpgrade
      kind: List
      metadata:
        resourceVersion: ""
      

      Expected results:

      Installation should complete successfully without any intervention.

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              agreene1991 Alexander Greene
              rhn-support-amulmule Akash Mulmuley
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: