Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0475D9861 for ; Mon, 21 May 2012 04:42:19 +0000 (UTC) Received: (qmail 54310 invoked by uid 500); 21 May 2012 04:42:18 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 54103 invoked by uid 500); 21 May 2012 04:42:16 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 53998 invoked by uid 99); 21 May 2012 04:42:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 04:42:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Nitin.Mehta@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 04:42:05 +0000 X-IronPort-AV: E=Sophos;i="4.75,628,1330905600"; d="scan'208";a="11456726" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 21 May 2012 04:41:41 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Mon, 21 May 2012 10:11:38 +0530 From: Nitin Mehta To: "cloudstack-users@incubator.apache.org" Date: Mon, 21 May 2012 10:11:36 +0530 Subject: RE: Host in Alert state, how to remove it. Thread-Topic: Host in Alert state, how to remove it. Thread-Index: Ac02pVbdGJ8BQWVgTyeNlRWZSoyetAAZhfIQ Message-ID: References: <20120520100927.941142krvwh7zp6o@webmail.soleks.com> In-Reply-To: <20120520100927.941142krvwh7zp6o@webmail.soleks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Dan, I think you can just set the removed column for the particular host in the = db table host.=20 Thanks, -Nitin -----Original Message----- From: dan@soleks.com [mailto:dan@soleks.com]=20 Sent: Sunday, May 20, 2012 10:39 PM To: cloudstack-users@incubator.apache.org Subject: Host in Alert state, how to remove it. Hi all, =20 I got situation that host is in the Maintenance/Alert state, actual physica= l host was reinstalled, so UUID gone. But i can't remove it from CS (3.0.2)= .In the tomcat log im getting exception:=20 <----------------cut-------------------->=20 2012-05-20 09:21:02,259 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-W= orker-89:null) Agent is unavailable com.cloud.exception.AgentUnavailableException: Resource [Host:13] is unreac= hable: Host 13: Host is not in the right state: Alert at com.cloud.agent.manager.ClusteredAgentManagerImpl.getAttache(Clus= teredAgentManagerImpl.java:494) at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.ja= va:494) at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.ja= va:1022) at com.cloud.cluster.ClusterManagerImpl.sendToAgent(ClusterManagerIm= pl.java:448) at com.cloud.cluster.ClusterManagerImpl.dispatchClusterServicePdu(Cl= usterManagerImpl.java:413) at com.cloud.cluster.ClusterManagerImpl.access$500(ClusterManagerImp= l.java:88) at com.cloud.cluster.ClusterManagerImpl$3.run(ClusterManagerImpl.jav= a:324) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu= tor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec= utor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-05-20 09:21:02,260 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-W= orker-5:null) Cluster PDU 95529533441 -> 95529533442. agent: 0, pdu seq: 19= 1, pdu ack seq: 190, json:=20 2012-05-20 09:21:02,263 DEBUG [cloud.cluster.ClusterServiceServletImpl] (Cl= uster-Worker-5:null) POST http://192.168.230.146:9090/clusterservice respon= se :true, responding time: 3 ms 2012-05-20 09:21:02,263 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-W= orker-5:null) Cluster PDU 95529533441 -> 95529533442 completed. time: 3ms. = agent: 0, pdu seq: 191, pdu ack seq: 190, json: <------------------cut---------------->=20 Changing state to Up (directly in database), doesn't help:=20 <----------------cut------------------>=20 2012-05-20 09:23:23,203 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-W= orker-90:null) Agent is unavailable com.cloud.exception.AgentUnavailableException: Resource [Host:13] is unreac= hable: Host 13: Host is not in the right state: Up at com.cloud.agent.manager.ClusteredAgentManagerImpl.getAttache(Clus= teredAgentManagerImpl.java:494) at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.ja= va:494) at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.ja= va:1022) at com.cloud.cluster.ClusterManagerImpl.sendToAgent(ClusterManagerIm= pl.java:448) at com.cloud.cluster.ClusterManagerImpl.dispatchClusterServicePdu(Cl= usterManagerImpl.java:413) at com.cloud.cluster.ClusterManagerImpl.access$500(ClusterManagerImp= l.java:88) at com.cloud.cluster.ClusterManagerImpl$3.run(ClusterManagerImpl.jav= a:324) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu= tor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec= utor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-05-20 09:23:23,203 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-W= orker-5:null) Cluster PDU 95529533441 -> 95529533442. agent: 0, pdu seq: 19= 3, pdu ack seq: 192, json:=20 <----------------cut--------------->=20 Seems like CS can't communicate with agent on the host, and not happy about= it. But host is gone, and it can't be restored/rebooted/recovered.=20 Dan/borei. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.