You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Francois Gaudreault (JIRA)" <ji...@apache.org> on 2013/04/04 20:48:17 UTC

[jira] [Comment Edited] (CLOUDSTACK-1868) GetVmStatsCommand throws NullPointerException with VMWare

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

Francois Gaudreault edited comment on CLOUDSTACK-1868 at 4/4/13 6:47 PM:
-------------------------------------------------------------------------

Just uploaded a trace log.  We added only the part around the error.  Let me know if you need more stuff. I should also say that HostStats, NetworkStats, etc. commands are working fine.
                
      was (Author: fgaudreault):
    Just uploaded a trace log.  We added only the part around the error.  Let me know if you need more stuff.
                  
> 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
>            Reporter: Francois Gaudreault
>            Assignee: Sateesh Chodapuneedi
>            Priority: Critical
>             Fix For: 4.1.0
>
>         Attachments: management.log
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira