Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

unable to deploy example zookeeper bosh release on minikube and gce #7

Open
ajaycsse opened this issue Sep 19, 2018 · 1 comment
Open

Comments

@ajaycsse
Copy link

I am able to create a BOSH environment but when I am trying to deploy the example zookeeper bosh release in to gce(the same happens with minikube as well) I am getting the below authentication error

-0483-4dd5-8815-3f9052b0a96d
Task 3 | 11:48:57 | Warning: IP address not available for the link provider instance: zookeeper/99cb6f79-bef0-4a97-98bb-bff9848fc389
Task 3 | 11:48:57 | Warning: IP address not available for the link provider instance: zookeeper/f5784778-793e-46c3-bd61-7b8912633ee8
Task 3 | 11:48:57 | Warning: IP address not available for the link provider instance: zookeeper/15cea6d1-54f7-4afc-aabe-4dabac127240
Task 3 | 11:48:57 | Preparing deployment: Preparing deployment (00:00:00)
Task 3 | 11:48:57 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 3 | 11:48:57 | Compiling packages: golang-1.10-linux/48c842421b6f05acf88dc6ec17f7574dade28a86
Task 3 | 11:48:57 | Compiling packages: zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1
Task 3 | 11:48:57 | Compiling packages: openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20 (00:00:01)
L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unknown error: 'FailureResponse {responseStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, responseContentType = application/json, responseBody = "{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets is forbidden: User \"system:serviceaccount:default:default\" cannot create secrets in the namespace \"default\": Unknown user \"system:serviceaccount:default:default\"","reason":"Forbidden","details":{"kind":"secrets"},"code":403}\n"}'' in 'create_vm' CPI method
Task 3 | 11:48:58 | Compiling packages: golang-1.10-linux/48c842421b6f05acf88dc6ec17f7574dade28a86 (00:00:01)
L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unknown error: 'FailureResponse {responseStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, responseContentType = application/json, responseBody = "{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets is forbidden: User \"system:serviceaccount:default:default\" cannot create secrets in the namespace \"default\": Unknown user \"system:serviceaccount:default:default\"","reason":"Forbidden","details":{"kind":"secrets"},"code":403}\n"}'' in 'create_vm' CPI method
Task 3 | 11:48:58 | Compiling packages: zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1 (00:00:01)
L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unknown error: 'FailureResponse {responseStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, responseContentType = application/json, responseBody = "{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets is forbidden: User \"system:serviceaccount:default:default\" cannot create secrets in the namespace \"default\": Unknown user \"system:serviceaccount:default:default\"","reason":"Forbidden","details":{"kind":"secrets"},"code":403}\n"}'' in 'create_vm' CPI method
Task 3 | 11:48:58 | Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unknown error: 'FailureResponse {responseStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, responseContentType = application/json, responseBody = "{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets is forbidden: User \"system:serviceaccount:default:default\" cannot create secrets in the namespace \"default\": Unknown user \"system:serviceaccount:default:default\"","reason":"Forbidden","details":{"kind":"secrets"},"code":403}\n"}'' in 'create_vm' CPI method

Task 3 Started Wed Sep 19 11:48:57 UTC 2018
Task 3 Finished Wed Sep 19 11:48:58 UTC 2018
Task 3 Duration 00:00:01
Task 3 error

Updating deployment:
Expected task '3' to succeed but state is 'error'

Exit code 1

Any clue what could have gone wrong here

@loewenstein
Copy link
Contributor

Thanks for trying out my CPI.

I'd say you have a service account with insufficient permissions.

I would recommend that you look into https://github.com/bosh-cpis/bosh-kubernetes-cpi-release which is more actively maintained.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants