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

chaosmonkey eligible gives "json unmarshal failed: unexpected end of JSON input" #50

Closed
sb185234 opened this issue Jan 10, 2019 · 2 comments

Comments

@sb185234
Copy link

sb185234 commented Jan 10, 2019

Dear Team,

I am trying to use Chaosmonkey for our resiliency testing in GKE (Google Kuberenetes Engine),
I have deployed spinnaker and followed the instructions from here (https://blog.spinnaker.io/running-chaos-monkey-on-spinnaker-google-compute-engine-gce-155dc52f20ef).
Now after having everything set, the command chaosmonkey config gives me the below output:

(chaosmonkey.AppConfig)(0xc4200529c0)({
Enabled: (bool) true,
RegionsAreIndependent: (bool) true,
MeanTimeBetweenKillsInWorkDays: (int) 2,
MinTimeBetweenKillsInWorkDays: (int) 1,
Grouping: (chaosmonkey.Group) cluster,
Exceptions: ([]chaosmonkey.Exception) {
},
Whitelist: (
[]chaosmonkey.Exception)()
})

But when trying to check for the eligible server groups it gives below error:
spinnaker@hal-123:~$ chaosmonkey eligible sireeapp1 spinnaker-service-account
retrieve cloud provider failed: json unmarshal failed: unexpected end of JSON input

Can you please let me know in which json file the error is being thrown and what should be the fix for it.

Thank you
Sireesha

@sb185234
Copy link
Author

Never mind after giving the correct account name it is working fine. But I think it should throw proper error when wrong account name is given along with the application name

Thank you
Sireesha

@lorin
Copy link
Contributor

lorin commented Jan 14, 2019

I agree, current the error message is not helpful to a user trying to troubleshoot the problem. I'm going to close this issue, but I opened up #52.

@lorin lorin closed this as completed Jan 14, 2019
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