You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2014/04/15 06:53:16 UTC
[jira] [Commented] (CLOUDSTACK-6407) NPE while collecting VM
statistics
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969226#comment-13969226 ]
Sailaja Mada commented on CLOUDSTACK-6407:
------------------------------------------
2014-04-15 10:18:17,788 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 2-45842: Sending Seq 2-45842: { Ans: , MgmtId: 55355881446856, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-04-15 10:18:17,794 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-210:ctx-f9e5c64a) Seq 1-6476457739135506546: Executing request
2014-04-15 10:18:17,826 WARN [c.c.a.m.DirectAgentAttache] (DirectAgent-210:ctx-f9e5c64a) Seq 1-6476457739135506546: Exception Caught while executing command
java.lang.NullPointerException
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getXMLNodeValue(CitrixResourceBase.java:2556)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getDataAverage(CitrixResourceBase.java:2565)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2411)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2342)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:450)
at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:60)
at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:92)
at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64)
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.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-04-15 10:18:17,827 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-210:ctx-f9e5c64a) Seq 1-6476457739135506546: Response Received:
2014-04-15 10:18:17,827 DEBUG [c.c.a.t.Request] (DirectAgent-210:ctx-f9e5c64a) Seq 1-6476457739135506546: Processing: { Ans: , MgmtId: 55355881446856, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException","wait":0}}] }
2014-04-15 10:18:17,827 DEBUG [c.c.a.t.Request] (StatsCollector-4:ctx-57218af5) Seq 1-6476457739135506546: Received: { Ans: , MgmtId: 55355881446856, via: 1, Ver: v1, Flags: 10, { Answer } }
2014-04-15 10:18:17,827 DEBUG [c.c.a.m.AgentManagerImpl] (StatsCollector-4:ctx-57218af5) Details from executing class com.cloud.agent.api.GetVmStatsCommand: java.lang.NullPointerException
2014-04-15 10:18:17,827 WARN [c.c.v.UserVmManagerImpl] (StatsCollector-4:ctx-57218af5) Unable to obtain VM statistics.
2014-04-15 10:18:22,786 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-13:null) SeqA 2-45843: Processing Seq 2-45843: { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2014-04-15 10:18:22,790 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-13:null) SeqA 2-45843: Sending Seq 2-45843: { Ans: , MgmtId: 55355881446856, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
> NPE while collecting VM statistics
> -----------------------------------
>
> Key: CLOUDSTACK-6407
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6407
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.4.0
> Reporter: Sailaja Mada
> Fix For: 4.4.0
>
> Attachments: management-server.log
>
>
> Setup : 4.4 with XenServer 6.2.5
> 1. Install and configure Adv zone using XenServer 6.2.5
> 2. Deployed 2 Windows (8 and 2012) VM's using Domain user account .
> Observed NPE's while collecting VM statistics in the Management server log(Attached)
> 2014-04-15 00:00:49,574 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:ctx-2e085056) VmStatsCollector is running...
> 2014-04-15 00:00:49,588 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Executing request
> 2014-04-15 00:00:49,618 WARN [c.c.a.m.DirectAgentAttache] (DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Exception Caught while executing command
> java.lang.NullPointerException
> 2014-04-15 00:00:49,619 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Response Received:
> 2014-04-15 00:00:49,619 DEBUG [c.c.a.t.Request] (DirectAgent-69:ctx-9a19b721) Seq 1-6476457739135503930: Processing: { Ans: , MgmtId: 55355881446856, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException","wait":0}}] }
> 2014-04-15 00:00:49,619 DEBUG [c.c.a.t.Request] (StatsCollector-4:ctx-2e085056) Seq 1-6476457739135503930: Received: { Ans: , MgmtId: 55355881446856, via: 1, Ver: v1, Flags: 10, { Answer } }
> 2014-04-15 00:00:49,619 DEBUG [c.c.a.m.AgentManagerImpl] (StatsCollector-4:ctx-2e085056) Details from executing class com.cloud.agent.api.GetVmStatsCommand: java.lang.NullPointerException
> 2014-04-15 00:00:49,619 WARN [c.c.v.UserVmManagerImpl] (StatsCollector-4:ctx-2e085056) Unable to obtain VM statistics.
--
This message was sent by Atlassian JIRA
(v6.2#6252)