If you see cf push
or smoketests hang here:
...
Waiting for API to complete processing files...
Staging app and tracing logs...
Next steps: Update to the v7 cf-cli: https://github.com/cloudfoundry/cli/wiki/V7-CLI-Installation-Guide
If you see the following error:
Waiting for API to complete processing files...
Staging app and tracing logs...
Error staging application: Stager error: Kpack build failed
FAILED
Next steps:
cf logs test-app --recent
Reason | Message |
---|---|
Unreachable host. | OUT prepare:main.go:79: Get https://gcr2.io/v2/: dial tcp: lookup gcr2.io on 10.19.240.10:53: no such host |
Invalid credentials. | OUT prepare:main.go:83: invalid credentials to build to gcr.io/cf-relint-greengrass/cf-workloads/fcdc5e91-1e1a-49b8-a3bf-f8eae7962cc4 |
How to fix it:
docker cli
e.g. docker login --username USERNAME --password PASSWORD
.hostname
and repository
parameters.