Unable to Remove Duplicate OpenShift Providers

Solution Unverified - Updated -


  • There are duplicate OpenShift providers attached to CloudForms (same name, same hostname, same environment). They were added via an API request
  • When trying to remove the provider via the Web UI or via a Rails command, the following error is reported:
ActiveRecord::RecordInvalid: Validation failed: Name has already been taken, Host Name has to be unique per provider type


  • CloudForms 4.6.4 (CFME 5.9.4)

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