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

Roland Kool commented on CLOUDSTACK-429:
----------------------------------------

The documentation also lacks explaining of the agent rebalancing. There is 
mention of management server load balancing and port 8250 for management server 
is mentioned as well, but a load balanced IP listening on port 8520 cannot be 
used from the CloudStack agents. 

                
> Agent rebalancing is broken
> ---------------------------
>
>                 Key: CLOUDSTACK-429
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-429
>             Project: CloudStack
>          Issue Type: Bug
>          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 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

Reply via email to