[Openshift] Delete Service Instance based on a Service Class that uses dots in its name

Solution In Progress - Updated -

Issue

  • It is not possible to delete a service instance based on a service class that uses dots in its name
$ oc describe serviceinstance/sevinst5|grep 'Cluster Service Class External Name'
  Cluster Service Class External Name:  service-7.1-basic-authentication-example-starter
  • Deleting this service instance will apparently succeed:
$ oc delete serviceinstance sevinst6
serviceinstance "sevinst6" deleted
  • Listing the service instances shows that the "deleted" one is still there
$ oc get serviceinstance
NAME       AGE
sevinst6   23h
  • Editing the service instance and deleting the finalizers lines will produce an error:
 spec.clusterServiceClassExternalName: Invalid value: "service-7.1-basic-authentication-example-starter": [-a-zA-Z0-9]+ (regex used for validation is 'service-name-40d-0983-1b89')

Environment

  • Openshift 3.9

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