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 D11C310F76 for ; Sun, 16 Feb 2014 11:46:29 +0000 (UTC) Received: (qmail 8527 invoked by uid 500); 16 Feb 2014 11:46:29 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 7478 invoked by uid 500); 16 Feb 2014 11:46:23 -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 7470 invoked by uid 99); 16 Feb 2014 11:46:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 11:46:20 +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 (athena.apache.org: domain of rafaelweingartner@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qa0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 11:46:16 +0000 Received: by mail-qa0-f51.google.com with SMTP id f11so20260707qae.24 for ; Sun, 16 Feb 2014 03:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=h8gH3ELKXqAgVDfW2405M3itc8xif4M8s8iCI7LTOBg=; b=nnLurGnScOdq1jrIk6bVILA4jV9Dxn+KmBLkPoVEy5zNHLRzVqu//5S2wBeb4/jcom CafQHHz3K4n8OKvEeravPoxNmtBbC5uVtlENny9KwR1lk3mabm6miJmtH5yPxrBbUtPk c7vBJlfzhZCkiv8eV8kUV8gNOZWru2LO2iGLJ8QlqS+db04p73WdtNKUXSxteTObEpGB UVmGc46q8kYtK+rkKsKd6eaSkb1kv3YGMN1eCtsngi0xMf+hQOgGo7NGTn687SP1JEh8 yJrNUqT0TLQYKgOZUpW8XIvOOhlkr3CLn0yZ+frxIEl0Bo/rz6keUUNMslgutsvOo9D9 pGsA== MIME-Version: 1.0 X-Received: by 10.229.119.73 with SMTP id y9mr1962294qcq.18.1392551155226; Sun, 16 Feb 2014 03:45:55 -0800 (PST) Received: by 10.140.102.146 with HTTP; Sun, 16 Feb 2014 03:45:55 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Feb 2014 08:45:55 -0300 Message-ID: Subject: Re: Unable to add the host From: Rafael Weingartner To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11332f72f05ed904f2849413 X-Virus-Checked: Checked by ClamAV on apache.org --001a11332f72f05ed904f2849413 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Could you send more logs ? like 30 or 50 lines before the exception is thrown. On Fri, Feb 14, 2014 at 3:49 PM, VALTER VENUSTI < valter.venusti@studenti.unipr.it> wrote: > Hi, > > I'm a student of University of Parma, Italy, and I'm trying to install > cloudstack in a very simple way only for trying it. > The management server has been installed in a virtual machine and it work= s. > Then I've installed the agent on a "physical" host, but when I try to add > it to cluster the management returns with the message "Unable to add the > host". > > The management server and the host are in the same net > The host uses KVM to virtualize. > I followed all instructions I found on your guide > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Inst= allation_Guide/hypervisor-kvm-install-flow.html > > Below there is an extract from the management-server.log in which you can > see the error occurred. > > > Thanks. I wait for a response. > Valter Venusti > > > 2014-02-14 15:59:41,931 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManag= er > Timer:null) Completed acquiring hosts for clusters not owned by any > management server > 2014-02-14 15:59:43,559 DEBUG [kvm.discoverer.LibvirtServerDiscoverer] > (catalina-exec-24:null) Timeout, to wait for the host connecting to mgt s > vr, assuming it is failed > 2014-02-14 15:59:43,561 WARN [cloud.resource.ResourceManagerImpl] > (catalina-exec-24:null) Unable to find the server resources at > http://160.78 > . > 27.238 > 2014-02-14 15:59:43,562 INFO [utils.exception.CSExceptionErrorCode] > (catalina-exec-24:null) Could not find exception: com.cloud.exception.Dis= co > veryException in error code list for exceptions > 2014-02-14 15:59:43,562 WARN [admin.host.AddHostCmd] > (catalina-exec-24:null) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerI= mpl.java:798) > at > > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.= java:590) > at > > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCm= d.java:143) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) > at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:290) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:206) > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:233) > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:191) > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 127) > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 102) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:29= 3) > at > > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.ja= va:889) > at > > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proces= s(Http11NioProtocol.java:744) > at > > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.ja= va:2282) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java= :1146) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:615) > at java.lang.Thread.run(Thread.java:701) > 2014-02-14 15:59:43,570 INFO [cloud.api.ApiServer] (catalina-exec-24:nul= l) > Unable to add the host > --=20 Rafael Weing=E4rtner --001a11332f72f05ed904f2849413--