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

Daisy: confusing error when Project field misspelled #204

Closed
ericdand opened this issue Oct 26, 2017 · 0 comments
Closed

Daisy: confusing error when Project field misspelled #204

ericdand opened this issue Oct 26, 2017 · 0 comments
Assignees

Comments

@ericdand
Copy link
Contributor

When the "Project" field in a workflow names a project that doesn't exist, the following error is displayed:

[Daisy] Errors in one or more workflows:
  <workflow-name>: error populating workflow: googleapi: Error 400: Unknown project id: 0, invalid

It seems clear that the Google API is looking up the project, finding that it doesn't exist, returning "0" as the project ID, and then Daisy is trying to use that ID, rather than notice it's zero.

Daisy should instead detect that the project ID is 0, and give an error message like "project could not be found."

@adjackura adjackura self-assigned this Nov 8, 2017
gaohannk pushed a commit to gaohannk/compute-image-tools that referenced this issue May 20, 2021
Bind the gerrit service account to a GCP one
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

2 participants