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

Rafael Weingärtner closed CLOUDSTACK-429.
-----------------------------------------
    Resolution: Fixed

> Agent rebalancing is broken
> ---------------------------
>
>                 Key: CLOUDSTACK-429
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-429
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Hypervisor Controller, Management Server
>    Affects Versions: pre-4.0.0
>         Environment: KVM, Cloudstack 3.0.2
>            Reporter: Roland Kool
>            Priority: Minor
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to