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

NullPointerException in CapacityManagerImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.8.0
    • None
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • OS: CentOS Linux release 7.2.1511
      Architecture: x86_64
      CPU: Intel(R) Xeon(R) CPU E5-2430

      qemu-kvm-1.5.3-105.el7_2.4.x86_64

    Description

      I'm having KVM how which I want to add to cluster and I get error in cloudera-manager log:

      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Sending Connect to listener: StorageCapacityListener
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Sending Connect to listener: ComputeCapacityListener
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.c.CapacityManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Found 0 VMs on host 3
      јун 13 13:17:52 test-cs-01 server[20479]: ERROR [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Monitor ComputeCapacityListener says there is an error in
      јун 13 13:17:52 test-cs-01 server[20479]: java.lang.NullPointerException
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.capacity.CapacityManagerImpl.updateCapacityForHost(CapacityManagerImpl.java:601)
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.capacity.ComputeCapacityListener.processConnect(ComputeCapacityListener.java:63)
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:550)
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1051)
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.agent.manager.AgentManagerImpl.access$000(AgentManagerImpl.java:119)
      јун 13 13:17:52 test-cs-01 server[20479]: at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1135)
      јун 13 13:17:52 test-cs-01 server[20479]: at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
      јун 13 13:17:52 test-cs-01 server[20479]: at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
      јун 13 13:17:52 test-cs-01 server[20479]: at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
      јун 13 13:17:52 test-cs-01 server[20479]: at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
      јун 13 13:17:52 test-cs-01 server[20479]: at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
      јун 13 13:17:52 test-cs-01 server[20479]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      јун 13 13:17:52 test-cs-01 server[20479]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      јун 13 13:17:52 test-cs-01 server[20479]: at java.lang.Thread.run(Thread.java:745)
      јун 13 13:17:52 test-cs-01 server[20479]: INFO  [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Host 3 is disconnecting with event AgentDisconnected
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) The next status of agent 3is Alert, current status is Con
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Deregistering link for 3 with state Alert
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Remove Agent : 3
      јун 13 13:17:52 test-cs-01 server[20479]: DEBUG [c.c.a.m.ConnectedAgentAttache] (AgentConnectTaskPool-1035:ctx-32f9f0d9) (logid:8298566c) Processing Disconnect.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            stanislav.antic@gmail.com Stanislav Antic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: