- Unable to create Google Storage Bucket when deploying BOSH
- Service account permission errors during BOSH deployment
- I/O timeout when deploying BOSH
- Unable to login to CredHub
- bosh-cli 401 error for UAA
- Master is not running after the update
- Timeout failures during OSS deployment
- K8s deployment fails after BOSH is redeployed
- Worker failure during deployment of second cluster
- Other connectivity issues
The error below occurs when deploying BOSH on GCP
CmdError{"type":"Bosh::Clouds::CloudError","message":"Creating stemcell: Creating Google Storage Bucket: Post https://www.googleapis.com/storage/v1/b?alt=json\u0026project=cf-pcf-kubo: Get http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token: dial tcp 169.254.169.254:80: i/o timeout","ok_to_retry":false}
Make sure that you have logged in with the newly created service account as described in GCP Setup.
Various service account permission issues may prevent BOSH deployment
Verify that the correct permissions are applied in the Google Cloud Console. If the permissions are set correctly, but you are still experiencing permission issues, try creating a new account with a different name.
When deploying BOSH via an sshuttle
connection, the following error might occur:
Command 'deploy' failed:
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Sending ping to the agent:
Performing request to agent endpoint 'https://mbus:294a691d057ede1af4f696aab36c4bc5@10.0.0.4:6868/agent':
Performing POST request:
Post https://mbus:294a691d057ede1af4f696aab36c4bc5@10.0.0.4:6868/agent: dial tcp 10.0.0.4:6868: i/o timeout
where 10.0.0.4
is the BOSH IP address.
Restart the sshuttle
connection.
A BOSH or kubo deployment may fail with the following error:
The provided username and password combination are incorrect. Please validate your input and retry your request.
This is typically caused by version mismatch between the Credhub CLI and backend. The versions must match exactly. Please make sure that the installed Credhub CLI matches version in the requirements section:
$ credhub --version
CLI Version: 0.4.0
Server Version: 0.4.0
Strange error when running bosh-cli
bosh-cli -e p-kubo deployments
Using environment 'p-kubo.p.kubo.cf-app.com' as '?'
Finding deployments:
Performing request GET 'https://p-kubo.p.kubo.cf-app.com:25555/deployments':
Performing GET request:
Refreshing token: UAA responded with non-successful status code '401' response '{"error":"invalid_token","error_description":"The token expired, was revoked, or the token ID is incorrect: acc3bc0eeb2b4323995f6d5873d9f52e-r"}'
Exit code 1
Please make sure that you are logged in with bosh-cli
. The password can be found in <KUBO_ENV>/creds.yml
, in the admin_password
field.
The following error may be displayed when running deploy_k8s
script
Updating instance master: master/20f5c31f-4329-46a7-ae03-484f0a17f6a3 (0) (canary) (00:01:14)
Error: 'master/0 (20f5c31f-4329-46a7-ae03-484f0a17f6a3)' is not running after update. Review logs for failed jobs: kubernetes-api, kubernetes-controller-manager, kubernetes-scheduler, kubernetes-api-route-registrar
Error: 'master/0 (20f5c31f-4329-46a7-ae03-484f0a17f6a3)' is not running after update. Review logs for failed jobs: kubernetes-api, kubernetes-controller-manager, kubernetes-scheduler, kubernetes-api-route-registrar
Please check the fields routing-cf-client-id
in <KUBO_ENV>/director.yml
and routing-cf-client-secret
in <KUBO_ENV>/director-secrets.yml
and ensure that the UAAC credentials that you are using are valid. You can use the UAAC CLI to create and manage credentials.
Please check that the route to the TCP routing API URL is accessible. The URL is defined in the field routing-cf-api-url
in your <KUBO_ENV>/director.yml
.
kubo OSS deployment may fail due to timeouts.
Retry the deployment commands. This can be caused by the default preemptable compilation VMs or by failure to resolve the xip.io
domain.
If you have access to a domain then you can increase reliability by using it for your Cloud Foundry deployment. If you do not mind the increased cost you can remove the preemptable property from the compilation workers in the Cloud Foundry manifest.
When deploying K8S following a redeployment of BOSH, the following error message may be displayed:
$ bin/deploy_k8s <KUBO_ENV> <NAME> public
=====================================
| BOSH K8S Cluster Deployer |
=====================================
Fetching info:
Performing request GET 'https://10.0.7.4:25555/info':
Performing GET request:
Retry: Get https://10.0.7.4:25555/info: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "ca")
Exit code 1
Reset BOSH alias to use new SSL certificate.
$ bin/set_bosh_alias <KUBO_ENV>
Updating instance worker: worker/aca2bddf-59b1-4802-a9c5-e09aa09a0efd (0) (canary) (00:03:57)
L Error: Action Failed get_task: Task 75bce522-4fba-4295-7b8c-d63d86f7dcc6 result: 1 of 1 post-start scripts failed. Failed Jobs: kubelet.
Make sure that port specified as kubernetes-master-port
is not already in use by another kubo cluster. The value in director.yml
can be overridden using var-files for different clusters.
Various connectivity issues may arise during deployment
Please make sure that all the host names used in the configuration are resolving to the correct IP addresses.