Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-1868

GetVmStatsCommand throws NullPointerException with VMWare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0, 4.2.0
    • 4.3.0
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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.

      Attachments

        1. management-server.log.tgz
          542 kB
          Francois Gaudreault
        2. screenshot-1.jpg
          31 kB
          Sateesh Chodapuneedi
        3. management.log
          6 kB
          Francois Gaudreault

        Activity

          People

            likithas Likitha Shetty
            fgaudreault Francois Gaudreault
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: