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 1AA5319226 for ; Thu, 14 Apr 2016 17:18:54 +0000 (UTC) Received: (qmail 67484 invoked by uid 500); 14 Apr 2016 17:18:53 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 67424 invoked by uid 500); 14 Apr 2016 17:18:53 -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 67411 invoked by uid 99); 14 Apr 2016 17:18:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 17:18:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 932F6C0D80 for ; Thu, 14 Apr 2016 17:18:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.18 X-Spam-Level: * X-Spam-Status: No, score=1.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4XaihEFztE14 for ; Thu, 14 Apr 2016 17:18:50 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id C83895F1F0 for ; Thu, 14 Apr 2016 17:18:48 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id e190so13153698lfe.1 for ; Thu, 14 Apr 2016 10:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=FoWt44GeWfjs0mB+qEEtX0KEEp7R3YxCUAhAFan6DIw=; b=DomVaXMFSPzuvNyPY+ZROvMj8+l4xWyblVFYLzKhKa8xTt0R49HWG8kDpwMgr6NKQs mXIgY6DEfGPEwiaUAVx4A0q7CUUG4LAPfyx4XaVkH6De1eiocyvtOj5S0CVeb5vnJFdm 4hryIxqgqTezJlj4qk4HsiSbGukKif/6QKaWjXyZwDfNcLq6EzKMHJLZBGSgNTAy0gVs zP/tG1fjteRkXGvfngCtuXNzIrcYtUEES2Kh11qC+vFLlJzzV+lRcUZ5vROSHOReRNxu jgvY7b5AV16HBmJzPUl9pg7q3UdDS2267jN5tAHZsJkabImJwpXhbC66YtiS0TEkDYL2 wKOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=FoWt44GeWfjs0mB+qEEtX0KEEp7R3YxCUAhAFan6DIw=; b=mkl4fvH3Zu7jzism1rKIHm4Lvk5+BbHr32p4xtPOCNyK9zGtTJBrgYBof/s0g3lHhJ ZxWYo69oo6tm3GpJ4RGVblf85eXwZ0Ns/VF9VMoySx9CUWhq+M26pJ6SnuIiGoNXYhrc OKTHbyei8AEvfLUELSNpnEjO4+UOCS+7c1YNpDWB2UykTx5mDxRPY3a3zBiWVQezFFHy pPXyLADysD3cZVyzsowkgzkeHKvp1j2lT2zHromKTYk0g5ZaXUYnNuZ1MvpYVqaJcMCf 3BVgU83BtWpPMIDK6t6if8xVsEj6ZIkRFOlAZQYE8WeWY45NqhejW0YzbPOOLPmVI+Ii ra4w== X-Gm-Message-State: AOPr4FXzuI2ZM88DbXSq7ilZGK+phAusiJd5CKNz3as8cO7oLEKT+OIdSMHUd17K0T0zkLPitWMNevofjdp9Jg== MIME-Version: 1.0 X-Received: by 10.112.126.36 with SMTP id mv4mr6969658lbb.97.1460654327231; Thu, 14 Apr 2016 10:18:47 -0700 (PDT) Received: by 10.112.225.8 with HTTP; Thu, 14 Apr 2016 10:18:47 -0700 (PDT) Date: Thu, 14 Apr 2016 19:18:47 +0200 Message-ID: Subject: Error: "Unable to add host" From: =?UTF-8?Q?Cayetano_Rodr=C3=ADguez?= To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c374ee507fb40530751682 --001a11c374ee507fb40530751682 Content-Type: text/plain; charset=UTF-8 Hi everyone! I've followed the "Quick Installation Guide for Centos 6" guide, to install CloudStack in one machine with Centos 6.5. I've followed all steps and finished installing, but I get an error while configuring it. The error appears when CloudStack is trying to add a host. The error says: "Unable to add the host". I've checked /var/log/cloudstack/management/management-server.log and this is the complete error: 2016-04-14 19:10:36,257 DEBUG [c.c.a.ApiServlet] (catalina-exec-1:ctx-3c617426) (logid:25f4748e) ===START=== 192.168.1.2 -- GET command=listNetworkOfferings&state=Enabled&guestiptype=Shared&response=json&_=1460653836254 2016-04-14 19:10:36,315 DEBUG [c.c.a.ApiServlet] (catalina-exec-1:ctx-3c617426 ctx-5090361b) (logid:25f4748e) ===END=== 192.168.1.2 -- GET command=listNetworkOfferings&state=Enabled&guestiptype=Shared&response=json&_=1460653836254 2016-04-14 19:10:36,323 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-8f5ed97e) (logid:30b82c99) ===START=== 192.168.1.2 -- POST command=addHost&response=json 2016-04-14 19:10:36,335 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Received unknown parameters for command addHost. Unknown parameters : clustertype 2016-04-14 19:10:36,339 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Trying to add a new host at http://192.168.1.2 in data center 1 2016-04-14 19:10:36,343 WARN [c.c.h.k.d.LibvirtServerDiscoverer] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) can't setup agent, due to java.io.IOException: There was a problem while connecting to 192.168.1.2:22 - There was a problem while connecting to 192.168.1.2:22 2016-04-14 19:10:36,343 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Unable to find the server resources at http://192.168.1.2 2016-04-14 19:10:36,343 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2016-04-14 19:10:36,343 WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:802) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:597) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy157.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:698) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:127) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:91) 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(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.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:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:299) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:732) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2016-04-14 19:10:36,345 INFO [c.c.a.ApiServer] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) Unable to add the host 2016-04-14 19:10:36,346 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-8f5ed97e ctx-8c36d11e) (logid:30b82c99) ===END=== 192.168.1.2 -- POST command=addHost&response=json 2016-04-14 19:10:39,366 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-4ee40f2c) (logid:9131670a) Skip capacity scan as there is no Primary Storage in 'Up' state I don't know what I'm doing wrong or if it's a problem of my computer. Could you help me? Thank you very much! Cayetano. --001a11c374ee507fb40530751682--