Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error creating storage driver on google cloud storage #517

Closed
basicsaki opened this issue May 30, 2017 · 6 comments
Closed

Error creating storage driver on google cloud storage #517

basicsaki opened this issue May 30, 2017 · 6 comments
Labels
Milestone

Comments

@basicsaki
Copy link

basicsaki commented May 30, 2017

We are facing an issue while trying to test deis out.When configured with GCS in values.yaml deis-builder doesn't seem to work.
As per the documentation we created a service account on google console and encoded the same to base64.
$(cat ~/path/to/key.json | base64 -w 0) and added the dump to the values at registry and storage options(we are using google for both. Tried a service account with owner permissions aswell.).

Followed by installing deis workflow
helm install deis/workflow --namespace deis -f values.yaml

Have tried a ton number of things but this doesn't seem to work.Please do let us know if we are doing something wrong or is it a bug with deis-builder.

Helm Version
Client: &version.Version{SemVer:"v2.4.1", GitCommit:"46d9ea82e2c925186e1fc620a8320ce1314cbb02", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.4.1", GitCommit:"46d9ea82e2c925186e1fc620a8320ce1314cbb02", GitTreeState:"clean"}

deis version
v2.14.0

Error log on deis-builder pod
"Error creating storage driver (Post https://www.googleapis.com/storage/v1/b?alt=json&project=project: stream error: stream ID 3; PROTOCOL_ERROR)"

Please do let me know if some other logs are needed from my end.

P.S: Kudos to the amazing work done by deis team.

@vdice
Copy link
Member

vdice commented May 30, 2017

@basicsaki what you've described seems entirely correct.

Can you confirm that use of the same key.json with the gsutil cli results in being able to get resources from gcs? gsutil ls, etc.

Otherwise, I wonder if this is similar to #497 ?

@basicsaki
Copy link
Author

basicsaki commented May 30, 2017

Hey thanks for the response.
I tried using gsutil with my service account and it seems to work fine.

Since gsutil came bundled with gcloud so the only credentialed accounts is using the service account.

gcloud auth list
Credentialed Accounts:

I am able to run commands like gsutil ls with the permissions in the service account.

Was able to create a bucket as well
gsutil mb -p project-name gs://bucket-name

@mpon
Copy link

mpon commented May 31, 2017

Error log on deis-builder pod
"Error creating storage driver (Post https://www.googleapis.com/storage/v1/b?alt=json&project=project: stream error: stream ID 3; PROTOCOL_ERROR)"

I am facing this issue too from 5/30 16:45 GMT. The deis-builder pod repeat restarting over and over. It worked fine before.

Helm version

Client: &version.Version{SemVer:"v2.2.2", GitCommit:"1b330722aafcb8123114ae51f69d1e884a326f3e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.2.2", GitCommit:"1b330722aafcb8123114ae51f69d1e884a326f3e", GitTreeState:"clean"}

deis version
v2.13.0

And I was able to get resources from gcs by gsutil ls.

@vdice vdice added this to the v2.16 milestone May 31, 2017
@vdice vdice added the bug label May 31, 2017
@mpon
Copy link

mpon commented Jun 1, 2017

I am facing this issue too from 5/30 16:45 GMT. The deis-builder pod repeat restarting over and over. It worked fine before.

It seems works fine from 5/31 20:30 GMT. I don't know why.

@vdice
Copy link
Member

vdice commented Jun 1, 2017

Bizarre... yes, similar to the aforementioned issue (#497) it seems to be something on GKE/gcloud's end.

@basicsaki
Copy link
Author

Can confirm . Builder pod is running with the same configuration as used before.
Maybe some issue with gcs

@mboersma mboersma closed this as completed Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants