Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Object Store Referece: Failed to update the instance ....not allowed to change the plan of reference

TiagoAlmeida
Participant
282

Hello! We are using object store reference instance in our mta like described here: https://community.sap.com/t5/technology-blogs-by-sap/object-store-on-sap-btp-setting-up-instance-sha...

In our mta we have something like the below with a valid uuid:

 

 

resources:
- name: objstore
  type: org.cloudfoundry.managed-service
  parameters:
    service: objectstore
    service-name: objstore-ref
    service-plan: reference-instance
    config:
      referenced_instance_id: xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxx

 

 

 Deployment the first time works fine. When we do a second deployment, an warning is generated:

 

Updating service "objstore-ref" failed: Service broker error: Failed to update the instance xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxx. It is not allowed to change the plan of a reference instance.
 
It's not a real error because the deployment continues but still weird.
We're not trying to update the plan. In BTP we can see this instance is set to reference-instance, just like in the mta.
 
Any idea why this is happening and how to avoid it?
 
Thanks in advance
2 REPLIES 2
Read only

MFlu
Participant
Read only

0 Kudos
107

Afraid not. We put a workaround which is to create the instance manually in BTP and then set the mta for "existing-service"