Uploaded image for project: 'OpenShift Hosted Control Plane'
  1. OpenShift Hosted Control Plane
  2. HOSTEDCP-709

HostedCluster deletion hangs when OIDC provider/STS is configured incorrectly

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • Hypershift Sprint 23, Hypershift Sprint 232
    • None
    • None
    • None

      When creating a HostedCluster with an invalid OIDC configuration (and the annotation to cleanup cloud resources) (For example, specifying a service signing key, but not prepopulating an S3 bucket with discovery docs), if the HostedCluster is deleted, the HostedCluster never goes away because the hosted control plane operator tries to delete the LoadBalancer services inside the guest cluster but cannot:
      Events:
      Type Reason Age From Message
      ---- ------ ---- ---- -------
      Warning SyncLoadBalancerFailed 3m41s (x1972 over 15h) service-controller (combined from similar events): Error syncing load balancer: failed to check if load balancer exists before cleanup: WebIdentityErr: failed to retrieve credentials
      caused by: InvalidIdentityToken: Couldn't retrieve verification key from your identity provider, please reference AssumeRoleWithWebIdentity documentation for requirements
      status code: 400, request id: b4f24c6b-0052-49de-b1d0-befcc1991081
      We need to at the very least time out these deletions so that we can proceed with the cluster deletion.

              cewong@redhat.com Cesar Wong
              cewong@redhat.com Cesar Wong
              None
              None
              None
              Jie Zhao Jie Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: