Pivotal Knowledge Base

Follow

Ops Manager On Demand Broker "error starting broker: You cannot change the plan_id of a plan that has existing service instances"

Environment

Pivotal Cloud Foundry: 1.10

Products that use ODB:

  • RabbitMQ Tile 1.8+
  • MySQL for PCF 2.0+
  • Redis Tile 1.8+
  • PCC All versions

Problem  

In the Ops Manager, if you disable the whole plan for a plan that has existing service instances, the On-Demand Broker will fail with the following error in the broker logs:

on-demand-service-broker: [on-demand-service-broker] 2017/05/25 22:43:18.793682
error starting broker: You cannot change the plan_id of a plan that has existing service instances 

Resolution

The error is caused because the entire plan is disabled and there are existing service instances in Pivotal Cloud Foundry that are using this plan. If your goal is to prevent further access to this plan, you can disable service access on the same screen instead of disabling the whole plan. If you no longer want any service instances using this plan, first disable service access, then identify the service instances using this plan in Cloud Foundry and migrate them to a different plan (where supported). When no service instances are using the plan, you can then disable the whole plan in the Tile.

Comments

Powered by Zendesk