Skip to content
New issue

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

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

Already on GitHub? # to your account

Broker version 1.0.2 will not run start on TAS 2.10 #216

Open
JakeBogie opened this issue Nov 26, 2020 · 5 comments
Open

Broker version 1.0.2 will not run start on TAS 2.10 #216

JakeBogie opened this issue Nov 26, 2020 · 5 comments

Comments

@JakeBogie
Copy link

JakeBogie commented Nov 26, 2020

Describe the bug
The awslabs/aws-service broker v1.0.2 will not start on VMware Tanzu Application Service v2.10.2-build.90. During the final deployment of the aws-sb-1.0.2 into the aws-service-broker-space the application fails to start with the following params being reported as not found:

aws_access_key
target_role_name

There is an additional error stating that a request to https://sts.ca-central-1a.amazonaws.com/ failed to send. This error occurs no matter the region being used during deployment.

Logs attached below, refer to lines 158-169.

To Reproduce
Install aws-service broker v1.0.2 and perform an initial deployment of the tile.

Expected behavior
aws-service broker v1.0.2 installs and deploys without error and services are able to be provisioned via the cf cli.

Environment (please complete the following information):

  • VMware Tanzu Application Service 2.10.2-build.90
  • Multiple AWS regions tested
  • aws-service broker v1.0.2

Additional context
Copy logs after the +++ indicator:

+++
Using deployment 'aws-service-broker-6c1dd27ef316248bd6c9'

Task 214

Task 214 | 15:28:06 | Preparing deployment: Preparing deployment
Task 214 | 15:28:07 | Warning: Ambiguous request: the requested errand name 'deploy-all' matches both a job name and an errand instance group name. Executing errand on all relevant instances with job 'deploy-all'.
Task 214 | 15:28:08 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 214 | 15:28:08 | Preparing deployment: Preparing deployment (00:00:02)
Task 214 | 15:28:08 | Creating missing vms: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (00:01:08)
Task 214 | 15:29:16 | Updating instance deploy-all: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:18 | L executing pre-stop: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:18 | L executing drain: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:19 | L stopping jobs: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:20 | L executing post-stop: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:22 | L installing packages: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:24 | L configuring jobs: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:24 | L executing pre-start: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:25 | L starting jobs: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary)
Task 214 | 15:29:56 | L executing post-start: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (canary) (00:00:41)
Task 214 | 15:29:57 | Running errand: deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0) (00:00:40)
Errand 'deploy-all' completed with error (exit code 1)
Task 214 | 15:30:37 | Fetching logs for deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511 (0): Finding and packing log files (00:00:01)

Task 214 Started Thu Nov 26 15:28:06 UTC 2020
Task 214 Finished Thu Nov 26 15:30:38 UTC 2020
Exit code 1
Task 214 Duration 00:02:32
Task 214 done

Instance deploy-all/5a1cf2d6-1ad3-4865-a74e-0aef3b256511
Exit Code 1
Stdout cf version 6.51.0+2acd15650.2020-04-07
cf api https://api.sys.((REDACTED)).io --skip-ssl-validation
cf auth system_services ********
cf target -o aws-service-broker-org
cf create-space aws-service-broker-space
cf target -s aws-service-broker-space
cf push aws-sb-1.0.2 -n aws-sb -d apps.((REDACTED)).io -f /var/vcap/packages/aws_sb/manifest.yml -s cflinuxfs3 --no-start
cf set-env aws-sb-1.0.2 UAA_HOST https://uaa.sys.((REDACTED)).io
cf set-env aws-sb-1.0.2 CC_HOST https://api.sys.((REDACTED)).io
cf set-env aws-sb-1.0.2 LOGIN_HOST https://#.sys.((REDACTED)).io
cf set-env aws-sb-1.0.2 ROOT $HOME
cf set-env aws-sb-1.0.2 SCHEME https
cf set-env aws-sb-1.0.2 VERIFY_SSL true
cf set-env aws-sb-1.0.2 CF_ORG aws-service-broker-org
cf set-env aws-sb-1.0.2 CF_SPACE aws-service-broker-space
cf set-env aws-sb-1.0.2 CF_TARGET https://api.sys.((REDACTED)).io
cf set-env aws-sb-1.0.2 CF_SKIP_SSL true
cf set-env aws-sb-1.0.2 SECURITY_USER_NAME 0c5e7ea632fffd04
cf set-env aws-sb-1.0.2 SECURITY_USER_PASSWORD ********
cf set-env aws-sb-1.0.2 BROKER_ID gwnbroker
cf set-env aws-sb-1.0.2 AWS_ACCESS_KEY_ID ((REDACTED))
cf set-env aws-sb-1.0.2 AWS_SECRET_ACCESS_KEY ********
cf set-env aws-sb-1.0.2 AWS_DEFAULT_REGION ca-central-1a
cf set-env aws-sb-1.0.2 S3_BUCKET awsservicebroker
cf set-env aws-sb-1.0.2 S3_KEY templates/latest
cf set-env aws-sb-1.0.2 TEMPLATE_FILTER -main.yaml
cf set-env aws-sb-1.0.2 PRESCRIBE true
cf set-env aws-sb-1.0.2 S3_REGION us-east-1
cf set-env aws-sb-1.0.2 TABLE_NAME awssb
cf set-env aws-sb-1.0.2 VERBOSITY 5
cf start aws-sb-1.0.2
Starting app aws-sb-1.0.2 in org aws-service-broker-org / space aws-service-broker-space as system_services...

       Staging app and tracing logs...  
          Downloading binary_buildpack...  
          Downloaded binary_buildpack  
          Cell 9c26e887-849a-4e06-865d-25714b0bb78f creating container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully created container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          Downloading app package...  
          Downloaded app package (6.5M)  
          -----> Binary Buildpack version 1.0.36  
          Exit status 0  
          Uploading droplet, build artifacts cache...  
          Uploading build artifacts cache...  
          Uploading droplet...  
          Uploaded build artifacts cache (215B)  
          Uploaded droplet (6.5M)  
          Uploading complete  
          Cell 9c26e887-849a-4e06-865d-25714b0bb78f stopping instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          Cell 9c26e887-849a-4e06-865d-25714b0bb78f destroying container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully destroyed container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
         
       Waiting for app to start...  
       FAILED  
       cf logs aws-sb-1.0.2 --recent  
       Retrieving logs for app aws-sb-1.0.2 in org aws-service-broker-org / space aws-service-broker-space as system_services...  
         
          2020-11-26T15:30:00.18+0000 [API/0] OUT Created app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9  
          2020-11-26T15:30:00.39+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"route"=>"51b175a8-2d62-48b1-8962-75d5b483f349", :verb=>"add", :relation=>"routes", :related_guid=>"51b175a8-2d62-48b1-8962-75d5b483f349"})  
          2020-11-26T15:30:00.66+0000 [API/0] OUT Uploading bits for app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9  
          2020-11-26T15:30:05.87+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.03+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.24+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.40+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.56+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.72+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:06.88+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.03+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.19+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.35+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.51+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.67+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.82+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:07.98+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.13+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.29+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.44+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.61+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.79+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:08.95+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:09.11+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:09.26+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:09.41+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})  
          2020-11-26T15:30:09.73+0000 [API/0] OUT Creating build for app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9  
          2020-11-26T15:30:09.78+0000 [API/0] OUT Updated app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 ({"state"=>"STARTED"})  
          2020-11-26T15:30:09.79+0000 [STG/0] OUT Downloading binary_buildpack...  
          2020-11-26T15:30:09.79+0000 [STG/0] OUT Downloaded binary_buildpack  
          2020-11-26T15:30:09.79+0000 [STG/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f creating container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          2020-11-26T15:30:10.28+0000 [STG/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully created container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          2020-11-26T15:30:10.60+0000 [STG/0] OUT Downloading app package...  
          2020-11-26T15:30:10.88+0000 [STG/0] OUT Downloaded app package (6.5M)  
          2020-11-26T15:30:11.10+0000 [STG/0] OUT -----> Binary Buildpack version 1.0.36  
          2020-11-26T15:30:12.21+0000 [STG/0] OUT Exit status 0  
          2020-11-26T15:30:12.21+0000 [STG/0] OUT Uploading droplet, build artifacts cache...  
          2020-11-26T15:30:12.21+0000 [STG/0] OUT Uploading build artifacts cache...  
          2020-11-26T15:30:12.21+0000 [STG/0] OUT Uploading droplet...  
          2020-11-26T15:30:12.28+0000 [STG/0] OUT Uploaded build artifacts cache (215B)  
          2020-11-26T15:30:12.39+0000 [API/0] OUT Creating droplet for app with guid 4b22c902-9d00-4d19-b836-50ebd368bee9  
          2020-11-26T15:30:13.43+0000 [STG/0] OUT Uploaded droplet (6.5M)  
          2020-11-26T15:30:13.43+0000 [STG/0] OUT Uploading complete  
          2020-11-26T15:30:13.64+0000 [STG/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f stopping instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          2020-11-26T15:30:13.64+0000 [STG/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f destroying container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          2020-11-26T15:30:13.83+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f creating container for instance 6370d21f-e539-42da-4411-447e  
          2020-11-26T15:30:13.93+0000 [STG/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully destroyed container for instance ea8845c9-febc-4991-8c65-3e78070ce0f5  
          2020-11-26T15:30:14.42+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully created container for instance 6370d21f-e539-42da-4411-447e  
          2020-11-26T15:30:14.65+0000 [CELL/0] OUT Downloading droplet...  
          2020-11-26T15:30:14.96+0000 [CELL/0] OUT Downloaded droplet (6.5M)  
          2020-11-26T15:30:15.18+0000 [CELL/0] OUT Starting health monitoring of container  
          2020-11-26T15:30:15.78+0000 [APP/PROC/WEB/0] ERR I1126 15:30:15.783415      83 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:15.78+0000 [APP/PROC/WEB/0] ERR I1126 15:30:15.783643      83 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:15.78+0000 [APP/PROC/WEB/0] ERR I1126 15:30:15.783832      83 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:15.78+0000 [APP/PROC/WEB/0] ERR I1126 15:30:15.783883      83 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:16.16+0000 [APP/PROC/WEB/0] ERR F1126 15:30:16.168086      83 main.go:94] RequestError: send request failed  
          2020-11-26T15:30:16.16+0000 [APP/PROC/WEB/0] ERR caused by: Post "https://sts.ca-central-1a.amazonaws.com/": dial tcp: lookup sts.ca-central-1a.amazonaws.com on 169.254.0.2:53: no such host  
          2020-11-26T15:30:16.19+0000 [APP/PROC/WEB/0] OUT Exit status 255  
          2020-11-26T15:30:16.19+0000 [CELL/SSHD/0] OUT Exit status 0  
          2020-11-26T15:30:21.50+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f stopping instance 6370d21f-e539-42da-4411-447e  
          2020-11-26T15:30:21.50+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f destroying container for instance 6370d21f-e539-42da-4411-447e  
          2020-11-26T15:30:21.50+0000 [API/0] OUT Process has crashed with type: "web"  
          2020-11-26T15:30:21.51+0000 [API/0] OUT App instance exited with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 payload: {"instance"=>"6370d21f-e539-42da-4411-447e", "index"=>0, "cell_id"=>"9c26e887-849a-4e06-865d-25714b0bb78f", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 255", "crash_count"=>1, "crash_timestamp"=>1606404621491825332, "version"=>"02c4c019-e764-42ec-a3e4-fac313673dcb"}  
          2020-11-26T15:30:21.51+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f creating container for instance 7b2fd02a-18a6-476d-60a7-f23f  
          2020-11-26T15:30:21.66+0000 [PROXY/0] OUT Exit status 137  
          2020-11-26T15:30:21.80+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully destroyed container for instance 6370d21f-e539-42da-4411-447e  
          2020-11-26T15:30:22.03+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully created container for instance 7b2fd02a-18a6-476d-60a7-f23f  
          2020-11-26T15:30:22.22+0000 [CELL/0] OUT Downloading droplet...  
          2020-11-26T15:30:22.29+0000 [CELL/0] OUT Downloaded droplet  
          2020-11-26T15:30:22.51+0000 [CELL/0] OUT Starting health monitoring of container  
          2020-11-26T15:30:22.97+0000 [APP/PROC/WEB/0] ERR I1126 15:30:22.972538      61 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:22.97+0000 [APP/PROC/WEB/0] ERR I1126 15:30:22.972619      61 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:22.97+0000 [APP/PROC/WEB/0] ERR I1126 15:30:22.972943      61 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:22.97+0000 [APP/PROC/WEB/0] ERR I1126 15:30:22.973057      61 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:23.24+0000 [APP/PROC/WEB/0] ERR F1126 15:30:23.246438      61 main.go:94] RequestError: send request failed  
          2020-11-26T15:30:23.24+0000 [APP/PROC/WEB/0] ERR caused by: Post "https://sts.ca-central-1a.amazonaws.com/": dial tcp: lookup sts.ca-central-1a.amazonaws.com on 169.254.0.2:53: no such host  
          2020-11-26T15:30:23.27+0000 [APP/PROC/WEB/0] OUT Exit status 255  
          2020-11-26T15:30:23.28+0000 [CELL/SSHD/0] OUT Exit status 0  
          2020-11-26T15:30:28.74+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f stopping instance 7b2fd02a-18a6-476d-60a7-f23f  
          2020-11-26T15:30:28.74+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f destroying container for instance 7b2fd02a-18a6-476d-60a7-f23f  
          2020-11-26T15:30:28.74+0000 [API/0] OUT Process has crashed with type: "web"  
          2020-11-26T15:30:28.74+0000 [API/0] OUT App instance exited with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 payload: {"instance"=>"7b2fd02a-18a6-476d-60a7-f23f", "index"=>0, "cell_id"=>"9c26e887-849a-4e06-865d-25714b0bb78f", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 255", "crash_count"=>2, "crash_timestamp"=>1606404628725682699, "version"=>"02c4c019-e764-42ec-a3e4-fac313673dcb"}  
          2020-11-26T15:30:28.75+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f creating container for instance a14527c2-7db8-48fc-7461-39d9  
          2020-11-26T15:30:28.95+0000 [PROXY/0] OUT Exit status 137  
          2020-11-26T15:30:29.06+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully destroyed container for instance 7b2fd02a-18a6-476d-60a7-f23f  
          2020-11-26T15:30:29.29+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully created container for instance a14527c2-7db8-48fc-7461-39d9  
          2020-11-26T15:30:29.52+0000 [CELL/0] OUT Downloading droplet...  
          2020-11-26T15:30:29.60+0000 [CELL/0] OUT Downloaded droplet  
          2020-11-26T15:30:29.85+0000 [CELL/0] OUT Starting health monitoring of container  
          2020-11-26T15:30:30.44+0000 [APP/PROC/WEB/0] ERR I1126 15:30:30.442492      62 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:30.44+0000 [APP/PROC/WEB/0] ERR I1126 15:30:30.442576      62 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:30.44+0000 [APP/PROC/WEB/0] ERR I1126 15:30:30.442774      62 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.  
          2020-11-26T15:30:30.44+0000 [APP/PROC/WEB/0] ERR I1126 15:30:30.442888      62 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.  
          2020-11-26T15:30:30.81+0000 [APP/PROC/WEB/0] ERR F1126 15:30:30.815046      62 main.go:94] RequestError: send request failed  
          2020-11-26T15:30:30.81+0000 [APP/PROC/WEB/0] ERR caused by: Post "https://sts.ca-central-1a.amazonaws.com/": dial tcp: lookup sts.ca-central-1a.amazonaws.com on 169.254.0.2:53: no such host  
          2020-11-26T15:30:30.84+0000 [APP/PROC/WEB/0] OUT Exit status 255  
          2020-11-26T15:30:30.84+0000 [CELL/SSHD/0] OUT Exit status 0  
          2020-11-26T15:30:36.12+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f stopping instance a14527c2-7db8-48fc-7461-39d9  
          2020-11-26T15:30:36.12+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f destroying container for instance a14527c2-7db8-48fc-7461-39d9  
          2020-11-26T15:30:36.13+0000 [API/0] OUT Process has crashed with type: "web"  
          2020-11-26T15:30:36.14+0000 [API/0] OUT App instance exited with guid 4b22c902-9d00-4d19-b836-50ebd368bee9 payload: {"instance"=>"a14527c2-7db8-48fc-7461-39d9", "index"=>0, "cell_id"=>"9c26e887-849a-4e06-865d-25714b0bb78f", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 255", "crash_count"=>3, "crash_timestamp"=>1606404636124618899, "version"=>"02c4c019-e764-42ec-a3e4-fac313673dcb"}  
          2020-11-26T15:30:36.29+0000 [PROXY/0] OUT Exit status 137  
          2020-11-26T15:30:36.40+0000 [CELL/0] OUT Cell 9c26e887-849a-4e06-865d-25714b0bb78f successfully destroyed container for instance a14527c2-7db8-48fc-7461-39d9  

Stderr Using cflinuxfs3 stack
Start unsuccessful

       TIP: use 'cf logs aws-sb-1.0.2 --recent' for more information  

1 errand(s)

===== 2020-11-26 15:31:17 UTC Finished "/usr/local/bin/bosh --no-color --non-interactive --tty --environment=10.0.16.10 --deployment=aws-service-broker-6c1dd27ef316248bd6c9 run-errand deploy-all"; Duration: 191s; Exit Status: 1
{"type":"step_finished","id":"errands.running.aws-service-broker-6c1dd27ef316248bd6c9.deploy-all","description":"Running errand deploy-all for AWS Service Broker"}
Exited with 1.2020/11/26 15:31:19 installation was unsuccessful

@coffee-squirrel
Copy link

coffee-squirrel commented Dec 8, 2020

It looks like you may have ca-central-1a (AZ) rather than ca-central-1 (region) in the tile config ("AWS Region").

@JakeBogie
Copy link
Author

It looks like you may have ca-central-1a (AZ) rather than ca-central-1 (region) in the tile config ("AWS Region").

Good catch @coffee-squirrel - I'll get that taken care of. That should alleviate the second error. I think it's un-related though to the primary issue of params not being found.

I'll fix the (az)/(region) mapping and re-run. Thanks for the second set of eyes.

@aad
Copy link

aad commented Jan 11, 2021

I am seeing the similar error when installing with helm3,

--set aws.targetrolename=$AWS_TARGET_ROLE_NAME \
--set aws.accesskeyid=$AWS_KEY_ID \
--set aws.secretkey=$AWS_ACCESS_KEY \
--set aws.targetrolename=$AWS_TARGET_ROLE_NAME \
awssb
I0111 02:29:20.700289 1 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.
awssb
I0111 02:29:20.700337 1 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.
awssb
I0111 02:29:20.700394 1 util.go:197] Did not find 'aws_access_key' and 'aws_secret_key' in params, using default chain.
awssb
I0111 02:29:20.700420 1 aws_sdk.go:71] Parameter 'target_role_name' not set. Not assuming role.

@gid0
Copy link

gid0 commented Jan 20, 2021

@jbogie-vmware please tell us if the service broker worked after you fixed the region name!

@JakeBogie
Copy link
Author

JakeBogie commented Jan 20, 2021

@gid0 - Not really sure what's happening here. The update to the region in the tile config that was suggested by @coffee-squirrel was relevant to fixing the one error with the DNS lookup. I have successfully been able to install the broker on TAS 2.10 on AWS.

I still intermittently receive the same error that @aad is receiving...only when I install the broker and TAS on GCP...and its intermittent...sometimes it installs fine...other times it does not. I'm going to treat that as an EDGE CASE as it's not a normal configuration for our customers.

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

No branches or pull requests

4 participants