I was following pivotal documents to install PCF and PAS on AWS using Terraform. I tried almost all the options, and it always failed for the same reason at the same step Running errand Smoke Test Errand for Small Footprint PAS. Also tried following the trouble shooting documents to fix the issue, but nothing seems to work.
Here is the error message.
Request error: Get https://api.sys.chenlipcf2.vormetriconaws.com/v2/info: dial tcp: lookup api.sys.chenlipcf2.vormetriconaws.com on 169.254.0.2:53: no such host
===== 2018-12-12 23:52:49 UTC Running "/usr/local/bin/bosh --no-color --non-interactive --tty --environment=10.0.16.5 --deployment=cf-993b44f152c95ec785fc run-errand smoke_tests --instance control/first"
Using environment '10.0.16.5' as client 'ops_manager'
Using deployment 'cf-993b44f152c95ec785fc'
Task 646
Task 646 | 23:52:50 | Preparing deployment: Preparing deployment (00:00:02)
Task 646 | 23:52:52 | Running errand: control/382ed110-f58c-4d7b-863a-22f6acd7483a (0) (00:00:01)
Task 646 | 23:52:53 | Fetching logs for control/382ed110-f58c-4d7b-863a-22f6acd7483a (0): Finding and packing log files (00:00:01)
Task 646 Started Wed Dec 12 23:52:50 UTC 2018
Task 646 Finished Wed Dec 12 23:52:54 UTC 2018
Task 646 Duration 00:00:04
Task 646 done
Instance control/382ed110-f58c-4d7b-863a-22f6acd7483a
Exit Code 1
Stdout Running smoke tests...
Running binaries smoke/isolation_segments/isolation_segments.test
smoke/logging/logging.test
smoke/runtime/runtime.test
[1544658772] [1mCF-Isolation-Segment-Smoke-Tests[0m - 4 specs - 4 nodes [36mS[0m[36mS[0m[36mS[0m[36mS[0m [32mSUCCESS![0m 116.116655ms
[1544658772] [1mCF-Logging-Smoke-Tests[0m - 2 specs - 4 nodes
[90m------------------------------[0m
[32m[2018-12-12 23:52:52.93 (UTC)]> cf api https://api.sys.chenlipcf2.vormetriconaws.com --skip-ssl-validation [0m
Setting api endpoint to https://api.sys.chenlipcf2.vormetriconaws.com...
Request error: Get https://api.sys.chenlipcf2.vormetriconaws.com/v2/info: dial tcp: lookup api.sys.chenlipcf2.vormetriconaws.com on 169.254.0.2:53: no such host
TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.
FAILED
PCF Ops Manager v2.2-build.376