Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Getting error : "Error making SSH connection to instance" on vshpere infrasturuture #305

Open

Description

@msavlani

Hi,

I have defined below properties in my client.properties

simianarmy.chaos.ssh.user=root
simianarmy.chaos.ssh.key=~/.ssh/id_rsa

But i am still getting below error

WARN ChaosInstance - [ChaosInstance.java:105] Error making SSH connection to instance
java.lang.NullPointerException
at com.netflix.simianarmy.client.aws.AWSClient.getJcloudsComputeService(AWSClient.java:863)
at com.netflix.simianarmy.client.aws.AWSClient.connectSsh(AWSClient.java:885)
at com.netflix.simianarmy.chaos.ChaosInstance.connectSsh(ChaosInstance.java:125)
at com.netflix.simianarmy.chaos.ChaosInstance.canConnectSsh(ChaosInstance.java:101)
at com.netflix.simianarmy.chaos.ScriptChaosType.canApply(ScriptChaosType.java:60)
at com.netflix.simianarmy.basic.chaos.BasicChaosMonkey.pickChaosType(BasicChaosMonkey.java:141)
at com.netflix.simianarmy.basic.chaos.BasicChaosMonkey.doMonkeyBusiness(BasicChaosMonkey.java:121)
at com.netflix.simianarmy.Monkey.run(Monkey.java:134)
at com.netflix.simianarmy.Monkey$1.run(Monkey.java:155)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Why does it go to AWSClient.java when i am using vshpere infrastrucure ?

Thanks,
Manish Sawlani

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions