Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capi release > 1.92 breaking change: Async service instance create/update is lacking metadata update + concurrent K8S handling break #65

Closed
gberche-orange opened this issue Sep 11, 2020 · 1 comment

Comments

@gberche-orange
Copy link
Member

gberche-orange commented Sep 11, 2020

Expected behavior

Async service to be provisionned successfully when backing service broker succeeds including recording meta-data

Observed behavior

Async service provisioning succeeds but are missing meta-data

The following traces are seen in the logs

   2020-09-11T12:59:44.58+0000 [APP/PROC/WEB/1] OUT 2020-09-11 12:59:44.584  INFO 11 --- [nio-8080-exec-8] c.o.o.o.s.OsbCmdbServiceInstance         : Inspecting exception caught org.cloudfoundry.client.v3
.ClientV3Exception: CF-AsyncServiceInstanceOperationInProgress(60016): An operation for service instance 6df55e7f-b909-4f37-8581-12ed4d750608 is in progress. for possible concurrent dupl while handling re
quest ServiceBrokerRequest{platformInstanceId='null', apiInfoLocation='api.redacted-domain.org/v2/info', originatingIdentity=Context{platform='cloudfoundry', properties={user_id=0d02117b-aa21-43e
2-b35e-8ad6f8223519}}', requestIdentity=653031cf-99b2-44c7-a86d-04bcd5f1ef5e}AsyncServiceBrokerRequest{asyncAccepted=true}AsyncParameterizedServiceInstanceRequest{parameters={}, context=Context{platform='
cloudfoundry', properties={spaceGuid=1a603476-a3a1-4c32-8021-d2a7b9b7c6b4, spaceName=smoke-tests, organizationName=osb-cmdb-brokered-services-org-client-0, instanceName=osb-cmdb-broker-0-smoketest-1599829
144, organizationGuid=c2169b61-9360-4d67-968c-575f3a10edf5}}}CreateServiceInstanceRequest{serviceDefinitionId='b0300e6e-8f93-4309-bdee-01099f644b97', planId='477aef10-2433-4c5f-8a7a-46489f04e2fa', organiz
ationGuid='c2169b61-9360-4d67-968c-575f3a10edf5', spaceGuid='1a603476-a3a1-4c32-8021-d2a7b9b7c6b4', serviceInstanceId='6df55e7f-b909-4f37-8581-12ed4d750608', maintenanceInfo='MaintenanceInfo{version='1.1.
0, description='osb-cmdb now propagates dashboard url (instant upgrade, no downtime)}'}

[...]

   2020-09-11T12:59:44.82+0000 [APP/PROC/WEB/1] OUT 2020-09-11 12:59:44.828  INFO 11 --- [nio-8080-exec-8] c.o.o.o.s.OsbCmdbServiceInstance         : Concurrent request is not incompatible and is still in
 progress success: 202

This is caused by https://github.com/cloudfoundry/capi-release/issues/183

Affected release

Reproduced on version 1.1.0

@gberche-orange gberche-orange changed the title Async service instance create/update is lacking metadata update with capi release > 1.92 capi release > 1.92 breaking change: Async service instance create/update is lacking metadata update + concurrent K8S handling break Sep 14, 2020
@gberche-orange
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant