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

capi does't support using OCP as the management cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.15.z
    • HyperShift
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When I upgrade capa rosa hcp by capi, it failed with error :
      
      E0226 12:24:53.141811       1 controller.go:329] "Reconciler error" err="failed to reconcile kubeconfig: failed to reconcile cluster admin password secret: secrets \"heli-admin-password\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>" controller="rosacontrolplane" controllerGroup="controlplane.cluster.x-k8s.io" controllerKind="ROSAControlPlane" ROSAControlPlane="default/heli-control-plane" namespace="default" name="heli-control-plane" reconcileID="ba8255c0-6802-4164-8146-39e4f678c57c"

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

          

      How reproducible:

          100%

      Steps to Reproduce:

      0. create an OCP as the management cluster to install capi
      1. create capi rosa hcp by https://docs.google.com/document/d/18jtqQy2CEYzmxJoBr2dcnZBtHY62hL8juhO_XIUsA64/edit
      2. change rosacontrolplane `ROSAControlPlane.spec.version` to trigger hcp upgrade

      Actual results:

        upgrade fail

      Expected results:

          upgrade to the new version

      Additional info:

          hwo to fix:
      
      by updating the clusterrole capa-manager-role, the upgrade successed finally. 
      
      

       add `rosacontrolplanes/finalizers`

      - controlplane.cluster.x-k8s.io
        resources:
        - awsmanagedcontrolplanes
        - rosacontrolplanes/finalizers
        verbs:
        - delete
        - get
        - list
        - patch
        - update
      

      From Dev: 

      " For Adobe, CAPI will run on Ethos, not OCP. For the long term, ACM will use OCP as mgmt."

       

            rh-ee-mraee Mulham Raee
            rhn-support-heli He Liu
            He Liu He Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: