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

[release-4.15] Creation of second hostedcluster in the same namespace fails with 'failed to set secret''s owner reference'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.15.z
    • 4.14.z, 4.15.z, 4.16.0
    • HyperShift
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

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

      Description of problem:

      Creation of a second hostedcluster in the same namespace fails with the error "failed to set secret''s owner reference" in the status of the second hostedlcuster's yaml.
      
      ~~~
        conditions:
        - lastTransitionTime: "2024-04-02T06:57:18Z"
          message: 'failed to reconcile the CLI secrets: failed to set secret''s owner reference'
          observedGeneration: 1
          reason: ReconciliationError
          status: "False"
          type: ReconciliationSucceeded
      ~~~
      
      Note that the hosted control plane namespace is still different for both clusters.
      
      Customer is just following the doc - https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html/clusters/cluster_mce_overview#creating-a-hosted-cluster-bm for both the clusters and only the hostedcluster CR is created in the same namespace.

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

          4.14

      How reproducible:

          

      Steps to Reproduce:

          1. Create a hostedcluster as per the doc https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html/clusters/cluster_mce_overview#creating-a-hosted-cluster-bm
          2. Create another hostedcluster in the same namespace where the first hostedcluster was created.
          3. Second hostedcluster fails to proceed with the said error.
          

      Actual results:

      The hostedcluster creation fails

      Expected results:

      The hostedcluster creation should succeed

      Additional info:

          

              rh-ee-mraee Mulham Raee
              rhn-support-alosingh Alok Singh
              Liangquan Li Liangquan Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: