cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-1868) GetVmStatsCommand throws NullPointerException with VMWare
Date Thu, 21 Nov 2013 04:07:38 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Likitha Shetty reopened CLOUDSTACK-1868:
----------------------------------------

      Assignee: Likitha Shetty  (was: Sateesh Chodapuneedi)

In CloudStack we obtain the network statistics using 2 network metrics 'net.received.average'
and 'net.transmitted.average'. And these metrics are collected at level 2.
Hence this error is only reproducible if we update the vCenter server setting 'Statistics
Level' to 2. By default the Statistics Level in vCenter Server is set to Level 1 for each
performance metric.
[http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007388]

> GetVmStatsCommand throws NullPointerException with VMWare
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-1868
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1868
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Francois Gaudreault
>            Assignee: Likitha Shetty
>             Fix For: 4.2.0
>
>         Attachments: management-server.log.tgz, management.log, screenshot-1.jpg
>
>
> We see bunch of these in the log files of CloudStack.  Looks like the GetVmStatsCommand
crash with a Null pointer exception. We don't think it's permission related since our CS user
on vSphere can see all performance and VM statistics using the vSphere client.
> INFO  [agent.manager.AgentManagerImpl] (AgentTaskPool-6:) Agent is determined to be up
and running
> ERROR [vmware.resource.VmwareResource] (DirectAgent-383:yul01vi13.ops.dot) Unable to
execute GetVmStatsCommand due to : Exception: java.lang.NullPointerException
> Message: null
> java.lang.NullPointerException
> WARN  [cloud.vm.UserVmManagerImpl] (StatsCollector-2:) Unable to obtain VM statistics.
> ERROR [vmware.resource.VmwareResource] (DirectAgent-67:yul01vi12.ops.dot) Unable to execute
GetVmStatsCommand due to : Exception: java.lang.NullPointerException
> Message: null
> java.lang.NullPointerException
> WARN  [cloud.vm.UserVmManagerImpl] (StatsCollector-2:) Unable to obtain VM statistics.



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

Mime
View raw message