Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72449D4C7 for ; Wed, 31 Oct 2012 12:19:14 +0000 (UTC) Received: (qmail 56218 invoked by uid 500); 31 Oct 2012 12:19:14 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 55930 invoked by uid 500); 31 Oct 2012 12:19:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 55676 invoked by uid 99); 31 Oct 2012 12:19:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2012 12:19:13 +0000 Date: Wed, 31 Oct 2012 12:19:12 +0000 (UTC) From: "Roland Kool (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: <785153745.49980.1351685953025.JavaMail.jiratomcat@arcas> In-Reply-To: <472535645.49975.1351685832058.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CLOUDSTACK-429) Agent rebalancing is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487701#comment-13487701 ] Roland Kool commented on CLOUDSTACK-429: ---------------------------------------- This is broken in 3.0.2 and a bug in bugs.cloudstack.org was filed (http://bugs.cloudstack.org/browse/CS-15460) but no fix has been created. I assume this is then still broken in CloudStack 4.x > 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