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 validating workflow "workflow": error populating workflow: APIError: dialing: missing 'type' field in credentials #368

Closed
jsoref opened this issue Mar 14, 2018 · 5 comments
Assignees

Comments

@jsoref
Copy link
Contributor

jsoref commented Mar 14, 2018

I'm not sure what dialing is...

I used https://console.cloud.google.com/apis/credentials to create an OAuth 2.0 client IDs and then downloaded the resulting JSON file.

@adjackura
Copy link
Contributor

What you need to create is a service account key. See here for more info: https://cloud.google.com/docs/authentication/production

In short, if no credentials are provided on the command line, Daisy will look in well known locations. If running in GCE it will use the default service account set for the instance.
Gcloud can also be used to store credentials in a well known location by running 'gcloud auth application-default login', you then do not need to pass the path to the credential file on the command line.

@jsoref
Copy link
Contributor Author

jsoref commented Mar 14, 2018

Yeah, I eventually settled on gcloud auth application-default login -- It just feels like dialing is an odd thing to have as output, there's nothing anywhere that talks about it. -- I can't figure out what it means...

@adjackura
Copy link
Contributor

adjackura commented Mar 14, 2018 via email

@jsoref
Copy link
Contributor Author

jsoref commented Mar 14, 2018

The word dialing comes from daisy itself:

return nil, fmt.Errorf("dialing: %v", err)

Does it mean connecting? Is it trying to tell someone the name of a module under the hood?

@adjackura
Copy link
Contributor

adjackura commented Mar 15, 2018 via email

@zmarano zmarano reopened this Mar 16, 2018
@zmarano zmarano self-assigned this Mar 16, 2018
@rofuentes rofuentes assigned rofuentes and unassigned zmarano Feb 21, 2019
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 21, 2019
Error message is passed from utility method to setup a secure connection to
a Google API https://godoc.org/google.golang.org/api/transport#NewHTTPClient
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 21, 2019
Error message is passed from utility method to setup a secure connection to
a Google API [doc link](https://godoc.org/google.golang.org/api/transport#NewHTTPClient)
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 21, 2019
Error message is passed from utility method that creates a secure connection to
a Google API [doc link](https://godoc.org/google.golang.org/api/transport#NewHTTPClient)
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 22, 2019
Error message is passed from utility method that creates a secure connection to
a Google API [doc link](https://godoc.org/google.golang.org/api/transport#NewHTTPClient)
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 22, 2019
Error message is passed from utility method that creates a secure connection to
a Google API [doc link](https://godoc.org/google.golang.org/api/transport#NewHTTPClient)
rofuentes added a commit to rofuentes/compute-image-tools that referenced this issue Feb 22, 2019
Error message is passed from utility method that creates a secure connection to
a Google API [doc link](https://godoc.org/google.golang.org/api/transport#NewHTTPClient)
gaohannk pushed a commit to gaohannk/compute-image-tools that referenced this issue May 20, 2021
[ESPv2] Update prow images for Envoy update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants