cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating service broker in cloud foundry

former_member603667
Participant
2,164

Hi Community,

I've tried to create a AWS service broker in my cf trial account to be able to consume db-services. I followed the official Docu and was able to successfully push the broker-app with the template from this Git Repo. Unfortunately I'm getting an errror in the step, when I want to create the service-broker with following command:

cf create-service-broker aws-service-broker-elb anyuser anypw https://aws-service-broker-elb.cfapps.eu10.hana.ondemand.com --space-scoped

Error says:

Creating service broker aws-service-broker-elb in org ..._trial / space dev as <email>...
Unexpected Response
Response code: 500
CC code:       0
CC error code:
Request ID:    e526a701-fed6-4e48-5f2b-5da53be8e2f7::9e5b4ba3-7b74-4b1f-9717-c5ef4ee9c71e
Description:   {
  "error_code": "UnknownError",
  "description": "An unknown error occurred.",
  "code": 10001
}
FAILED
applications:
- name: aws-service-broker-elb
  buildpacks:
  - binary_buildpack
  command: |
    export PARAM_OVERRIDE_${BROKER_ID}_all_all_all_region=${AWS_DEFAULT_REGION} ; ./cfnsb --logtostderr --prescribeOverrides=${PRESCRIBE} --v=${VERBOSITY} --brokerId=${BROKER_ID} --enableBasicAuth=true --insecure=${INSECURE} --port=${PORT} --region=${AWS_DEFAULT_REGION} --s3Bucket=${S3_BUCKET} --s3Key=${S3_KEY} --s3Region=${S3_REGION} --tableName=${TABLE_NAME} --templateFilter=${TEMPLATE_FILTER} --tlsCert=${TLS_CERT} --tlsKey=${TLS_KEY}
  disk_quota: 1G
  env:
    # Required
    AWS_ACCESS_KEY_ID: <id>
    AWS_SECRET_ACCESS_KEY: <key>
    SECURITY_USER_NAME: anyuser
    SECURITY_USER_PASSWORD: anypw
    AWS_DEFAULT_REGION: eu-central-1
    # Optional
    BROKER_ID: awsservicebroker
    INSECURE: "true"
    PRESCRIBE: "true"
    S3_BUCKET: awsservicebroker
    S3_KEY: templates/latest
    S3_REGION: us-east-1
    TABLE_NAME: awssb
    TEMPLATE_FILTER: -main.yaml
    TLS_CERT: ""
    TLS_KEY: ""
    VERBOSITY: "5"
    ROOT: $HOME
    SCHEME: https
  instances: 1
  memory: 1G

In manifest.yml I have adapted the required part and have chosen new user and pw and entered my region as well as id and key. And the application name, because of uniqueness requirement.

I already tried around in manifest.yml-file, but so far I could not fix it. Does anyone know this error and can help?

Best regards!

View Entire Topic
mariusobert
Developer Advocate
Developer Advocate
0 Kudos

I assume you also used the name, user and password you chose from the create-service-broker command,right?

This seems like a issue with the broker to me, I'd recommend to raise a GitHub issue for this one.