cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma y <breeze7...@gmail.com>
Subject Message: Publickey authentication failed
Date Fri, 25 Apr 2014 02:04:14 GMT
Hi
The log for creating VR:

2014-04-25 09:43:50,898 INFO  [c.c.h.v.r.VmwareResource]
(DirectAgent-461:ctx-a8c5fa15 10.10.5.205) Executing resource
NetworkUsageCommand
2014-04-25 09:43:50,959 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) External devices stats collector is
running...
2014-04-25 09:43:50,964 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 205 is not configured for
external networking, so skipping usage check.
2014-04-25 09:43:50,965 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 207 is not configured for
external networking, so skipping usage check.
2014-04-25 09:43:50,967 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 232 is not configured for
external networking, so skipping usage check.
2014-04-25 09:43:50,971 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 215 is not configured for
external networking, so skipping usage check.
2014-04-25 09:43:50,972 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-2cbdf80b) Network 234 is not configured for
external networking, so skipping usage check.
2014-04-25 09:43:51,031 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-1e79dc01) Snapshot scheduler.poll is being called at
2014-04-25 01:43:51 GMT
2014-04-25 09:43:51,032 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-1e79dc01) Got 0 snapshots to be executed at
2014-04-25 01:43:51 GMT
2014-04-25 09:43:51,417 ERROR [c.c.h.v.r.VmwareResource]
(DirectAgent-461:ctx-a8c5fa15 10.10.5.205) Unable to execute NetworkUsage
command on DomR (10.10.5.241), domR may not be ready yet. failure due to
Exception: java.io.IOException
Message: Publickey authentication failed.

java.io.IOException: Publickey authentication failed.
        at
com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:262)
        at
com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:444)
at
com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:497)
        at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:141)
        at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:6768)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.getNetworkStats(VmwareResource.java:6784)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:690)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:523)
        at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
        at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)
Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...'
missing
        at com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138)
        at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313)
        at
com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:171)
        ... 22 more
2014-04-25 09:43:51,423 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-461:ctx-a8c5fa15) Seq 11-153440938: Response Received:
2014-04-25 09:43:51,423 DEBUG [c.c.a.t.Request]
(DirectAgent-461:ctx-a8c5fa15) Seq 11-153440938: Processing:  { Ans: ,
MgmtId: 132129487565621, via: 11, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-53-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}]
}
2014-04-25 09:43:51,423 DEBUG [c.c.a.t.Request]
(RouterMonitor-1:ctx-2af2a1c5) Seq 11-153440938: Received:  { Ans: ,
MgmtId: 132129487565621, via: 11, Ver: v1, Flags: 10, { NetworkUsageAnswer
} }
2014-04-25 09:43:51,423 DEBUG [c.c.a.m.AgentManagerImpl]
(RouterMonitor-1:ctx-2af2a1c5) Details from executing class
com.cloud.agent.api.NetworkUsageCommand:
2014-04-25 09:43:51,423 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-2af2a1c5) Recieved and Sent bytes are both 0. Not
updating user_statistics
2014-04-25 09:43:51,546 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-14:null) Seq 4-885012067: Processing:  { Ans: ,
MgmtId: 132129487565621, via: 4, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-67-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}]
}
2014-04-25 09:43:51,546 DEBUG [c.c.a.t.Request]
(RouterMonitor-1:ctx-2af2a1c5) Seq 4-885012067: Received:  { Ans: , MgmtId:
132129487565621, via: 4, Ver: v1, Flags: 10, { NetworkUsageAnswer } }
2014-04-25 09:43:51,546 DEBUG [c.c.a.m.AgentManagerImpl]
(RouterMonitor-1:ctx-2af2a1c5) Details from executing class
com.cloud.agent.api.NetworkUsageCommand:
2014-04-25 09:43:51,546 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-2af2a1c5) Recieved and Sent bytes are both 0. Not
updating user_statistics

Environment:CS 4.3.0  +   vmware 5.1

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message