cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5293) Error while collecting vm disk stats from hosts if iso is attached to vm
Date Wed, 27 Nov 2013 13:26:35 GMT
Wei Zhou created CLOUDSTACK-5293:
------------------------------------

             Summary:  Error while collecting vm disk stats from hosts if iso is attached
to vm
                 Key: CLOUDSTACK-5293
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5293
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.2.0, 4.3.0
            Reporter: Wei Zhou
            Assignee: Wei Zhou
             Fix For: 4.2.1, 4.3.0


if iso is attached to vm, there is an  Error while collecting vm disk stats from hosts.

2013-11-27 00:00:09,371 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 1-1451690452:
Received:  { Ans: , MgmtId: 345051528835, via: 1, Ver: v1, Flags: 10, { GetVmDiskStatsAnswer
} }
2013-11-27 00:00:09,372 DEBUG [agent.manager.AgentManagerImpl] (StatsCollector-3:null) Details
from executing class com.cloud.agent.api.GetVmDiskStatsCommand:
2013-11-27 00:00:09,398 WARN  [cloud.server.StatsCollector] (StatsCollector-3:null) Error
while collecting vm disk stats from hosts
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:571)
        at java.util.ArrayList.get(ArrayList.java:349)
        at com.cloud.server.StatsCollector$VmDiskStatsTask.run(StatsCollector.java:474)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        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:679)
2013-11-27 00:00:09,400 DEBUG [db.Transaction.Transaction] (StatsCollector-3:null) Rolling
back the transaction: Time = 308 Name =  -StatsCollector$VmDiskStatsTask.run:441-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679;
called by -Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-StatsCollector$VmDiskStatsTask.run:554-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679



after added some debug code, This happened when statscollecter want to collect data from iso.

2013-11-27 14:15:31,662 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) path =
204-2-1bcedaea-51c2-314c-a7c6-c39dd4f0dc8e.iso
2013-11-27 14:15:31,662 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) vmId =
51




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message