amazon ec2 - Error in SSH connection to instance, While performing Burn CPU of Chaos Monkey tool using Simian Army tool -
i using netflix/simian army tool. not able perform burn cpu strategy of chaos monkey getting error in ssh connection instance. error mentioned below.
i running chaos monkey in local system(windows 7). using ubuntu instance(amazon ec2) on performing burn cpu. instance running in tokyo(ap-northeast-1) region. getting unauthorized eu-central-1
error
2015-04-01 10:52:48.147 - info basicchaosinstanceselector - [basicchaosinstanceselector.java:83] group monkey [type asg] has disabled probability: 0.0 2015-04-01 10:52:48.154 - info basicchaosinstanceselector - [basicchaosinstanceselector.java:65] randomly selecting 1 1 instances, excluding null 2015-04-01 10:52:54.302 - warn chaosinstance - [chaosinstance.java:105] error making ssh connection instance @ org.jclouds.rest.authorizationexception: post https://ec2.eu-central-1.amazonaws.com/ http/1.1 -> http/1.1 401 unauthorized @ org.jclouds.aws.handlers.parseawserrorfromxmlcontent.refineexception(parseawserrorfromxmlcontent.java:123) @ org.jclouds.aws.handlers.parseawserrorfromxmlcontent.handleerror(parseawserrorfromxmlcontent.java:92) @ org.jclouds.http.handlers.delegatingerrorhandler.handleerror(delegatingerrorhandler.java:69) @ org.jclouds.http.internal.basehttpcommandexecutorservice.shouldcontinue(basehttpcommandexecutorservice.java:182) @ org.jclouds.http.internal.basehttpcommandexecutorservice.invoke(basehttpcommandexecutorservice.java:152) @ org.jclouds.rest.internal.invokesynctoasynchttpmethod.invoke(invokesynctoasynchttpmethod.java:133) @ org.jclouds.rest.internal.invokesynctoasynchttpmethod.apply(invokesynctoasynchttpmethod.java:99) @ org.jclouds.rest.internal.invokesynctoasynchttpmethod.apply(invokesynctoasynchttpmethod.java:60) @ org.jclouds.reflect.functionalreflection$functionalinvocationhandler.handleinvocation(functionalreflection.java:119) @ com.google.common.reflect.abstractinvocationhandler.invoke(abstractinvocationhandler.java:70) @ com.sun.proxy.$proxy144.describeinstancesinregion(unknown source) @ org.jclouds.ec2.compute.strategy.ec2listnodesstrategy$2.apply(ec2listnodesstrategy.java:151) @ org.jclouds.ec2.compute.strategy.ec2listnodesstrategy$2.apply(ec2listnodesstrategy.java:147) @ com.google.common.collect.iterators$8.transform(iterators.java:860) @ com.google.common.collect.transformediterator.next(transformediterator.java:48) @ com.google.common.collect.iterables$3.next(iterables.java:512) @ com.google.common.collect.iterables$3.next(iterables.java:505) @ com.google.common.collect.iterators$5.hasnext(iterators.java:597) @ com.google.common.collect.iterables$3.hasnext(iterables.java:508) @ com.google.common.collect.iterators$5.hasnext(iterators.java:596) @ com.google.common.collect.iterators$7.computenext(iterators.java:700) @ com.google.common.collect.abstractiterator.trytocomputenext(abstractiterator.java:143) @ com.google.common.collect.abstractiterator.hasnext(abstractiterator.java:138) @ com.google.common.collect.transformediterator.hasnext(transformediterator.java:43) @ com.google.common.collect.iterators$7.computenext(iterators.java:700) @ com.google.common.collect.abstractiterator.trytocomputenext(abstractiterator.java:143) @ com.google.common.collect.abstractiterator.hasnext(abstractiterator.java:138) @ com.google.common.collect.immutableset.copyof(immutableset.java:316) @ com.google.common.collect.immutableset.copyof(immutableset.java:302) @ org.jclouds.ec2.compute.strategy.ec2listnodesstrategy.listdetailsonnodesmatching(ec2listnodesstrategy.java:119) @ org.jclouds.ec2.compute.strategy.ec2listnodesstrategy.listnodes(ec2listnodesstrategy.java:95) @ org.jclouds.ec2.compute.strategy.ec2listnodesstrategy.listnodes(ec2listnodesstrategy.java:67) @ org.jclouds.compute.internal.basecomputeservice.listnodes(basecomputeservice.java:339) @ com.netflix.simianarmy.client.aws.awsclient.getjcloudsnode(awsclient.java:769) @ com.netflix.simianarmy.client.aws.awsclient.connectssh(awsclient.java:749) @ com.netflix.simianarmy.chaos.chaosinstance.connectssh(chaosinstance.java:123) @ com.netflix.simianarmy.chaos.chaosinstance.canconnectssh(chaosinstance.java:101) @ com.netflix.simianarmy.chaos.scriptchaostype.canapply(scriptchaostype.java:61) @ com.netflix.simianarmy.basic.chaos.basicchaosmonkey.pickchaostype(basicchaosmonkey.java:141) @ com.netflix.simianarmy.basic.chaos.basicchaosmonkey.domonkeybusiness(basicchaosmonkey.java:121) @ com.netflix.simianarmy.monkey.run(monkey.java:134) @ com.netflix.simianarmy.monkey$1.run(monkey.java:155) @ java.util.concurrent.executors$runnableadapter.call(executors.java:439) @ java.util.concurrent.futuretask$sync.innerrunandreset(futuretask.java:317) @ java.util.concurrent.futuretask.runandreset(futuretask.java:150) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$101(scheduledthreadpoolexecutor.java:98) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.runperiodic(scheduledthreadpoolexecutor.java:180) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor.java:204) @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918) @ java.lang.thread.run(thread.java:662) caused by: org.jclouds.http.httpresponseexception: request: post https://ec2.eu-central-1.amazonaws.com/ http/1.1 [action=describeinstances&signature=**** &signaturemethod=***& signatureversion=2×tamp=****&version=2010-06-15&awsaccesskeyid=****] failed response: http/1.1 401 unauthorized @ org.jclouds.aws.handlers.parseawserrorfromxmlcontent.handleerror(parseawserrorfromxmlcontent.java:66) ... 49 more 2015-04-01 10:52:54.497 - warn scriptchaostype - [scriptchaostype.java:62] strategy disabled because ssh credentials failed 2015-04-01 10:52:54.501 - warn basicchaosmonkey - [basicchaosmonkey.java:124] no chaos type applicable instance: ****
Comments
Post a Comment