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

Agent rebalancing is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • pre-4.0.0
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • KVM, Cloudstack 3.0.2

    Description

      After setting agent.lb.enabled to true and restarting my management servers, the agent rebalancing gets stuck after trying to rebalance the first 16 machines.
      The error from the management log is:

      2012-07-05 15:09:43,643 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentTaskPool-6:null) Rebalancing host id=9
      2012-07-05 15:09:43,646 WARN [agent.manager.ClusteredAgentManagerImpl] (AgentTaskPool-6:null) Unable to rebalance host id=9
      java.lang.ClassCastException: com.cloud.agent.manager.ClusteredAgentAttache cannot be cast to com.cloud.agent.manager.ClusteredDirectAgentAttache
      at com.cloud.agent.manager.ClusteredAgentManagerImpl.startRebalance(ClusteredAgentManagerImpl.java:1014)
      at com.cloud.agent.manager.ClusteredAgentManagerImpl.rebalanceHost(ClusteredAgentManagerImpl.java:905)
      at com.cloud.agent.manager.ClusteredAgentManagerImpl$RebalanceTask.run(ClusteredAgentManagerImpl.java:1070)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rolandk Roland Kool
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: