Hi Wei.

OS : Ubuntu 20.04.6 LTS

root@kvm-1:~# virsh version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.1

Regards,
Jon

On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU <ustcweiz...@gmail.com> wrote:

> What's the OS and libvirt/qemu version ?
>
> -Wei
>
> On Wed, 13 Dec 2023 at 09:30, Joan g <joang...@gmail.com> wrote:
>
> > Hi,
> >
> > Recently below is getting logged in my cloudstack agent and the manager
> is
> > not able to get any VM metrics. Can Someone help on below
> >
> > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for
> length
> > 7
> >         at org.libvirt.DomainInfo.<init>(Unknown Source)
> >         at org.libvirt.Domain.getInfo(Unknown Source)
> >         at
> >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> >         at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> >         at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> >         at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> >         at
> >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> >         at com.cloud.agent.Agent.processRequest(Agent.java:662)
> >         at
> > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> >         at com.cloud.utils.nio.Task.call(Task.java:83)
> >         at com.cloud.utils.nio.Task.call(Task.java:29)
> >         at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> >         at
> >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> >         at
> >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> >         at java.base/java.lang.Thread.run(Thread.java:829)
> >
> > Regards,
> > Jon
> >
>

Reply via email to