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

UI Error messages are un-helpful #71

Open
eyal-mor opened this issue Jun 16, 2021 · 3 comments
Open

UI Error messages are un-helpful #71

eyal-mor opened this issue Jun 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@eyal-mor
Copy link

In cases where the Lambda Plugin fails (I.E. NullPointerException), the UI prints No reason provided.

image
image

Reproducing

There are no clear reproduction steps currently.

@jorgebee65
Copy link
Contributor

Is this happen in an specific Stage? I'm trying to replicate the issue using an AWS Lambda Deployment stage forcing a pipeline to throw an error and it is showing the proper details...

lambda error details

Please provide more details to try to replicate this issue.

@dkirillov
Copy link
Collaborator

dkirillov commented Aug 12, 2021

Another example:
Screen_Shot_2021-08-12_at_10_56_16_AM
Screen_Shot_2021-08-12_at_10_56_31_AM

In my case - after digging around logs and looking through the stage configuration - it was an incorrect account being set.

This can be done by putting a SpEL expression as the account value in the JSON representation of the stage. Like so:

{
  "account": "${parameters[\"account_name\"]}",
  "batchsize": 10,
  "cloudProvider": "aws",
  ...
}

If a correct account name is passed in, that error does not happen. If an incorrect account is passed in, that error is provided, leaving you to figure things out.

It would be nice to have the error at least point in the general direction - or better, something along the lines of "your account is wrong." (in my case) or whatever the issue may be.

@eyal-mor
Copy link
Author

eyal-mor commented Nov 1, 2021

If a specific region isn't enabled in the expected Spinnaker account, the following error message is returned.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants