Infinispan custom resource let project stuck in Terminating Phase

Solution Verified - Updated -

Issue

  • If a project consisting Red Hat Data Grid operator is deleted without uninstalling the operator properly, the namespace is supposed to stuck in Terminating Phase forever.
  • All the possible options listed over here were tried but no luck deleting the project.
  • Finalizer value from the project as well as from the Infinispan CR could not be removed.
$ project_status
 message: 'Some resources are remaining: infinispans.infinispan.org has 1 resource
      instances'
    reason: SomeResourcesRemain
    status: "True"
    type: NamespaceContentRemaining
  - lastTransitionTime: "2021-01-06T09:10:45Z"
    message: 'Some content in the namespace has finalizers remaining: finalizer.infinispan.org
      in 1 resource instances'
    reason: SomeFinalizersRemain
    status: "True"
    type: NamespaceFinalizersRemaining
  phase: Terminating
$ oc patch -n dev Infinispan/example-infinispan --type=merge -p '{"metadata": {"finalizers":null}}'
The Infinispan "example-infinispan" is invalid:
* spec.security.endpointEncryption.type: Unsupported value: "": supported values: "Service", "service", "Secret", "secret", "None"
* status.security.endpointEncryption.type: Unsupported value: "": supported values: "Service", "service", "Secret", "secret", "None"

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content