Netflix/chaosmonkey

Support OAuth authentication

Open

#45 aperta il 2 ago 2018

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)Go (688 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (9318 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Am unable to run chaosmonkey commands. Below is the error message am receiving.

ubuntu@ip-172-33-1-131:~$ chaosmonkey config my-aws-account invalid character '<' looking for beginning of value json unmarshal failed github.com/Netflix/chaosmonkey/spinnaker.fromJSON /home/ubuntu/chaos/src/github.com/Netflix/chaosmonkey/spinnaker/fromjson.go:99 github.com/Netflix/chaosmonkey/spinnaker.Spinnaker.Get /home/ubuntu/chaos/src/github.com/Netflix/chaosmonkey/spinnaker/config.go:51 github.com/Netflix/chaosmonkey/spinnaker.(*Spinnaker).Get :1 github.com/Netflix/chaosmonkey/command.DumpConfig /home/ubuntu/chaos/src/github.com/Netflix/chaosmonkey/command/dumpconfig.go:27 github.com/Netflix/chaosmonkey/command.Execute /home/ubuntu/chaos/src/github.com/Netflix/chaosmonkey/command/chaosmonkey.go:327 main.main /home/ubuntu/chaos/src/github.com/netflix/chaosmonkey/cmd/chaosmonkey/main.go:35 runtime.main /usr/lib/go-1.6/src/runtime/proc.go:188 runtime.goexit /usr/lib/go-1.6/src/runtime/asm_amd64.s:1998

Here is my chaosmonkey.toml

ubuntu@ip-172-33-1-131:~$ cat /etc/chaosmonkey/chaosmonkey.toml [chaosmonkey] enabled = true schedule_enabled = true leashed = false accounts = [ "my-aws-account", "my-azure-account", "my-gce-account", "my-k8s-v2-account", "k8s-v2-azure-account" ]

time_zone = "UTC"

[database] host = "prl-mysql.exmps.com" name = "chaosmonkey" user = "chaosmonkey" encrypted_password = "test@123"

[spinnaker] endpoint = "http://spinnaker.exmps.com:8084"

here is my go version:

$ go version go version go1.10.3 linux/amd64

Can someone please help?

Guida contributor