Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 616291099A for ; Thu, 7 Nov 2013 21:19:08 +0000 (UTC) Received: (qmail 72731 invoked by uid 500); 7 Nov 2013 21:19:07 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 72698 invoked by uid 500); 7 Nov 2013 21:19:07 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 72690 invoked by uid 99); 7 Nov 2013 21:19:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 21:19:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of creategui@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-we0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 21:19:01 +0000 Received: by mail-we0-f171.google.com with SMTP id t60so1120086wes.2 for ; Thu, 07 Nov 2013 13:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=b+7ZQNrbJBlsrZsc5u/LdXjf8N0+TuCGFWUj5AUhc2I=; b=s1efUtqhEWKmXFx8pk6OnWgcdGWyPsTSwP8/yWYIOAaHv3iRGVVFntm8xOIk/qxQsq vyXogb3uQsR8Ze/qyJzPzZLugQSrjTVFjLO3525rsFXeaVbSJsaN9Dxl7EvDgXwu4rlt zE1qX9vLwDYA2ncvVqp1FVlJtnEGQTUvj5hXsnqOl2IWU1d2GyWfb/B6CnXYlzh25AcE CdsbyWbf2bxjGPucpq+2JYxb5bAsVILQCItUY2d+nG4sx/QJb/OAxfiUkfFxrPYlRtYH 7vRlfVAaQHh39llMrUm2Klkwq/CYtaYdor88BYT9pn+X9Rp5VRSD9U9brUQhIwmJxJlG JtYA== MIME-Version: 1.0 X-Received: by 10.180.185.179 with SMTP id fd19mr4373831wic.18.1383859121121; Thu, 07 Nov 2013 13:18:41 -0800 (PST) Sender: creategui@gmail.com Received: by 10.180.103.73 with HTTP; Thu, 7 Nov 2013 13:18:41 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Nov 2013 13:18:41 -0800 X-Google-Sender-Auth: QfslJPhZfHG7SpJ1tfsUfUMIuDY Message-ID: Subject: Re: How to re-connect hosts From: Carlos Reategui To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11c25e4c5577da04ea9ccfa0 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c25e4c5577da04ea9ccfa0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am using XenServer hosts. The cloudstack-agent is for KVM hosts. On Thu, Nov 7, 2013 at 1:16 PM, Carlos Miranda Molina (Mstaaravin) < mstaaravin@gmail.com> wrote: > A simple question... > > Do you upgrade cloudstack on hosts servers...? > > > On Thu, Nov 7, 2013 at 6:10 PM, Carlos Reategui > wrote: > > > I think you meant management-server.log. > > > > Here is an exerp that I think shows the problem: > > 2013-11-07 11:58:10,828 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Resetting hosts suitable for reconnect > > 2013-11-07 11:58:10,833 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Completed resetting hosts suitable for reconnect > > 2013-11-07 11:58:10,833 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Acquiring hosts for clusters already owned by this manageme= nt > > server > > 2013-11-07 11:58:10,834 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Completed acquiring hosts for clusters already owned by thi= s > > management server > > 2013-11-07 11:58:10,835 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Acquiring hosts for clusters not owned by any management > server > > 2013-11-07 11:58:10,845 DEBUG [host.dao.HostDaoImpl] > (ClusteredAgentManager > > Timer:null) Completed acquiring hosts for clusters not owned by any > > management server > > 2013-11-07 11:58:10,851 DEBUG [agent.manager.ClusteredAgentManagerImpl] > > (ClusteredAgentManager Timer:null) Found 2 unmanaged direct hosts, > > processing connect for them... > > 2013-11-07 11:58:10,852 DEBUG [agent.manager.ClusteredAgentManagerImpl] > > (ClusteredAgentManager Timer:null) Loading directly connected host > > 1(srvengxen01) > > 2013-11-07 11:58:13,461 DEBUG [xen.resource.XenServerConnectionPool] > > (ClusteredAgentManager Timer:null) Failed to slave local login to > > 172.30.45.31 > > 2013-11-07 11:58:13,461 WARN [cloud.resource.DiscovererBase] > > (ClusteredAgentManager Timer:null) Unable to configure resource due to > Can > > not create slave connection to 172.30.45.31 > > 2013-11-07 11:58:13,463 WARN [agent.manager.AgentManagerImpl] > > (ClusteredAgentManager Timer:null) Unable to load the resource: 1 > > 2013-11-07 11:58:13,463 DEBUG [cloud.host.Status] (ClusteredAgentManage= r > > Timer:null) Transition:[Resource state =3D Enabled, Agent event =3D > > AgentDisconnected, Host id =3D 1, name =3D srvengxen01] > > 2013-11-07 11:58:13,474 DEBUG [cloud.host.Status] (ClusteredAgentManage= r > > Timer:null) Agent status update: [id =3D 1; name =3D srvengxen01; old s= tatus > =3D > > Disconnected; event =3D AgentDisconnected; new status =3D Disconnected;= old > > update count =3D 608; new update count =3D 609] > > 2013-11-07 11:58:13,474 DEBUG [agent.manager.ClusteredAgentManagerImpl] > > (ClusteredAgentManager Timer:null) Loading directly connected host > > 2(srvengxen02) > > 2013-11-07 11:58:15,190 DEBUG [xen.resource.XenServerConnectionPool] > > (ClusteredAgentManager Timer:null) Failed to slave local login to > > 172.30.45.32 > > 2013-11-07 11:58:15,190 WARN [cloud.resource.DiscovererBase] > > (ClusteredAgentManager Timer:null) Unable to configure resource due to > Can > > not create slave connection to 172.30.45.32 > > 2013-11-07 11:58:15,190 WARN [agent.manager.AgentManagerImpl] > > (ClusteredAgentManager Timer:null) Unable to load the resource: 2 > > 2013-11-07 11:58:15,191 DEBUG [cloud.host.Status] (ClusteredAgentManage= r > > Timer:null) Transition:[Resource state =3D Enabled, Agent event =3D > > AgentDisconnected, Host id =3D 2, name =3D srvengxen02] > > 2013-11-07 11:58:15,200 DEBUG [cloud.host.Status] (ClusteredAgentManage= r > > Timer:null) Agent status update: [id =3D 2; name =3D srvengxen02; old s= tatus > =3D > > Disconnected; event =3D AgentDisconnected; new status =3D Disconnected;= old > > update count =3D 608; new update count =3D 609] > > 2013-11-07 11:58:15,859 DEBUG [network.lb.LBHealthCheckManagerImpl] > > (LBHealthCheck-1:null) LB HealthCheck Manager is running and getting th= e > > updates from LB providers and updating service status > > 2013-11-07 11:58:15,875 DEBUG [network.lb.LBHealthCheckManagerImpl] > > (LBHealthCheck-1:null) LB HealthCheck Manager is running and getting th= e > > updates from LB providers and updating service status > > > > > > There is a copy of my logs from an early start/stop with this same > problem > > here: http://reategui.com/cloudstack/management-server.2013-11-06.log > > > > > > > > > > On Thu, Nov 7, 2013 at 12:32 PM, Carlos Miranda Molina (Mstaaravin) < > > mstaaravin@gmail.com> wrote: > > > > > On Thu, Nov 7, 2013 at 5:09 PM, Carlos Reategui > > > wrote: > > > > > > > After the update from 4.1.1 to 4.2, both my XenServer 6.0.2 hosts > show > > a > > > > state of "Disconnected". How do I re-connect them? The only 3 > options > > I > > > > see in the UI are: "Dedicate Host", "Enable Maintenance Mode" and > > "Remove > > > > Host". > > > > > > > > > > What do you see in logs...? > > > > > > /var/log/cloudstack/management/catalina.out > > > > > > regards. > > > > > > -- > > > "La Voluntad es el =FAnico motor de nuestros logros" > > > http://blog.ngen.com.ar/ > > > > > > > > > -- > "La Voluntad es el =FAnico motor de nuestros logros" > http://blog.ngen.com.ar/ > --001a11c25e4c5577da04ea9ccfa0--