Closed gberche-orange closed 4 weeks ago
This problem does not seem systematic, as in the following cases of service access visibility, the multi-broker registration feature properly works and service instance is properly created:
$ cf8 service-access -e mariadb-shared -o osb-cmdb-brokered-services-org-client-1
Getting service access for service offering mariadb-shared and organization osb-cmdb-brokered-services-org-client-1 as user...
broker: mariadb-shared
offering plan access orgs
mariadb-shared 100mb limited osb-cmdb-brokered-services-org-client-1,osb-cmdb-backend-services-org-client-1
mariadb-shared 10mb limited osb-cmdb-brokered-services-org-client-1,osb-cmdb-backend-services-org-client-1
mariadb-shared 15gb limited osb-cmdb-brokered-services-org-client-1,osb-cmdb-backend-services-org-client-1
mariadb-shared 1gb limited osb-cmdb-brokered-services-org-client-1,osb-cmdb-backend-services-org-client-1
mariadb-shared 20mb limited osb-cmdb-brokered-services-org-client-1,osb-cmdb-backend-services-org-client-1
broker: osb-cmdb-broker-1
offering plan access orgs
mariadb-shared 100mb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 10mb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 15gb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 1gb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 20mb limited system_domain,osb-cmdb-brokered-services-org-client-1
$ cf8 create-service mariadb-shared 10mb osb-cmdb-broker-gberche -b osb-cmdb-broker-1
Creating service instance osb-cmdb-broker-gberche in org osb-cmdb-brokered-services-org-client-1 / space smoke-tests as user...
Service instance osb-cmdb-broker-gberche created.
OK
$ cf8 service-access -e mariadb-shared -o osb-cmdb-brokered-services-org-client-1
Getting service access for service offering mariadb-shared and organization osb-cmdb-brokered-services-org-client-1 as user...
broker: mariadb-shared
offering plan access orgs
mariadb-shared 100mb all
mariadb-shared 10mb all
mariadb-shared 15gb all
mariadb-shared 1gb all
mariadb-shared 20mb all
broker: osb-cmdb-broker-1
offering plan access orgs
mariadb-shared 100mb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 10mb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 15gb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 1gb limited system_domain,osb-cmdb-brokered-services-org-client-1
mariadb-shared 20mb limited system_domain,osb-cmdb-brokered-services-org-client-1
$ cf8 create-service mariadb-shared 10mb osb-cmdb-broker-gberche -b osb-cmdb-broker-1
Creating service instance osb-cmdb-broker-gberche in org osb-cmdb-brokered-services-org-client-1 / space smoke-tests as user...
Service instance osb-cmdb-broker-gberche created.
OK
Did not reproduce either with a service offering published by a broker without service visibility
$ cf8 service-access -e overview-service
Getting service access for service offering overview-service as user...
broker: osb-cmdb-broker-0
offering plan access orgs
overview-service allOf none
overview-service allOf-with-two-levels-of-nesting none
broker: osb-cmdb-broker-1
offering plan access orgs
overview-service allOf limited system_domain,osb-cmdb-brokered-services-org-client-1
overview-service allOf-with-two-levels-of-nesting limited system_domain,osb-cmdb-brokered-services-org-client-1
broker: osb-reverse-proxy-1
offering plan access orgs
overview-service allOf limited system_domain,service-sandbox,osb-cmdb-backend-services-org-client-1
overview-service allOf-with-two-levels-of-nesting limited system_domain,service-sandbox,osb-cmdb-backend-services-org-client-1
$ cf8 create-service overview-service small osb-cmdb-broker-gberche -b osb-cmdb-broker-1
Creating service instance osb-cmdb-broker-gberche in org osb-cmdb-brokered-services-org-client-1 / space smoke-tests as user...
Create in progress. Use 'cf services' or 'cf service osb-cmdb-broker-gberche' to check operation status.
OK
Please fill out the issue checklist below and provide ALL the requested information.
CF_TRACE=1
to help debug the issue.Describe the bug and the command you saw an issue with
when specifying the -b option, cf8 still fails to create the service instance
With
CF_TRACE=true
option, cl8 shows the api request is/v3/service_plans?names=default&page=1&per_page=50&service_broker_names=o-intranet-proxy-access-service&service_offering_names=o-intranet-proxy-access
What happened service creation failed
Expected behavior
just like with with cf v7, the creation request should be accepted since a single service plan has the visibility in the current space
Exact Steps To Reproduce Steps to reproduce the behavior; include the exact CLI commands and verbose output:
cf ...
cf bind-service
Provide more context
Notes regarding V6 and V7 CLI support: