You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/30 14:04:09 UTC

[jira] [Commented] (CLOUDSTACK-5994) Hitting IndexOutOfBoundsException durin GetVmStatsCommand

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886549#comment-13886549 ] 

ASF subversion and git services commented on CLOUDSTACK-5994:
-------------------------------------------------------------

Commit 16c3f53793517e3c924df5ff6d9dc872dd508731 in branch refs/heads/4.3-forward from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=16c3f53 ]

CLOUDSTACK-5994. Hitting IndexOutOfBoundsException in GetVmStatsCommand after upgrade.
To obtain network read/write statistics, multiply sample duration with the
average of the particular performance metric obtained over the sample period.


> Hitting IndexOutOfBoundsException durin GetVmStatsCommand
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-5994
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5994
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.3.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.3.0
>
>
> Update vCenter server setting 'Statistics Level' to 2.
> Observe the below in the management server logs
> Message: Index: 3, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:571)
> at java.util.ArrayList.get(ArrayList.java:349)
> at com.cloud.hypervisor.vmware.resource.VmwareResource.getVmStats(VmwareResource.java:6574)
> at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3847)
> at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
> 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)
> 2014-01-16 13:47:35,171 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-237:ctx-86777ead) Seq 5-1171587869: Response Received:



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)