Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DA76B200AF8 for ; Thu, 5 May 2016 19:25:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D918E160A03; Thu, 5 May 2016 17:25:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AE3021609F3 for ; Thu, 5 May 2016 19:25:06 +0200 (CEST) Received: (qmail 40449 invoked by uid 500); 5 May 2016 17:25:05 -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 40436 invoked by uid 99); 5 May 2016 17:25:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 17:25:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3A7071A126C for ; Thu, 5 May 2016 17:25:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id iT0TgvEt2rOT for ; Thu, 5 May 2016 17:24:58 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 18DCE5F368 for ; Thu, 5 May 2016 17:24:58 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id u64so104229249lff.3 for ; Thu, 05 May 2016 10:24:58 -0700 (PDT) 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; bh=gvEWe+keIrsCFuCIzhKiHkkXqWHuWlWLnpFyA2PX3Dg=; b=VO8BgqlqHrFF9OigbO+6UwMvu9ITpNBuXFalNChiqKXHRtYecn8DtI2uWodxlmh3WL TOuA53IyUhe3w3rtA45Wa3neqgMJmxhMYCFu2WVq8gxT+R05as9d/L7NTQNe66jx2T6w btYLipmSgoig9Ncj7hlSE1/MULOA3Mu9Wrfapo8T5gVSwGnK87BEMaNs7jcBJds4Vpov 784xOBS1Yyy6plSRE3n4NRTO2Qaz79QYSkOix7mME/tPtt/Lj/kWXhrPSJjKV2cBN8Q+ CRcMH12DBCCBKtj15/iGj2q8vtOhSIn1MmwVpXg8J3WytvlwTzl0NRtKab0l5kcaJjEy ZEog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=gvEWe+keIrsCFuCIzhKiHkkXqWHuWlWLnpFyA2PX3Dg=; b=IaBtDaCkEYXIuPEysQ6JLdu3TFU6DP7p93vdtE7IW4xwjJ8q8CRjSMRw+qEslJ7n5S KXtmh7JS7NhO9LLbIRrAVp3J6/fMIwGpcVti0+wNiBa7545WuQ2AQjcZ72shOcuH7o3i 97Vc6JjBdLPSFrH+fly5nWsi2HVfikqSNLsjPci7FXaNU4x2lNDpTZPYxkRzsHx7Rf/O Foe1LP8Qv52FWTYO7IxFpvY3Epnm6JClPuTSi77bDF072yK4P/i1K5JYWA9wM9p7p70n GLuUiici4ALWdfoDDCL/Ck5UghFc7Jax4t4iiMCwGnnhyaqbCBEaFoLxJ08/4qvAGtJm PFpQ== X-Gm-Message-State: AOPr4FUAkapxyCAZN7TrtOcHT1SDaan1nOJLOweo210MvPZ3pbp4xRJbtfbd1JAUJx+C9BUCVJwtXl1E66YwWw== MIME-Version: 1.0 X-Received: by 10.25.39.73 with SMTP id n70mr3051295lfn.91.1462469097546; Thu, 05 May 2016 10:24:57 -0700 (PDT) Received: by 10.112.138.201 with HTTP; Thu, 5 May 2016 10:24:57 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 May 2016 19:24:57 +0200 Message-ID: Subject: Re: Error: "Unable to add host" From: =?UTF-8?Q?Cayetano_Rodr=C3=ADguez?= To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a113db38c0dea5705321b9fcf archived-at: Thu, 05 May 2016 17:25:08 -0000 --001a113db38c0dea5705321b9fcf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am still getting this error. I can't add a host to my Cloudstack installation. I followed the Quick Installation Guide and everything works okay, except I can't add a host. When I try to do it I see the error message "Unable to add the host". I'm using KVM on Centos 6.5, and I want to install the management server and first host in the same machine. Could anyone help me? I really need to get this and I don't have enough resources to try Cloudstack with 2 different machines (as it says in the guide, it is possible to install everything in a single machine). Thank you very much. 2016-04-22 13:37 GMT+02:00 Cayetano Rodr=C3=ADguez : > Now it shows the kvm_intel line > > [root@srvr1 ~]# lsmod | grep kvm > kvm_intel 55624 0 > kvm 341551 1 kvm_intel > > 2016-04-22 6:12 GMT+02:00 Pavan Bandarupally < > pavan.bandarupally@accelerite.com>: > >> What did the lsmod | grep kvm output after enabling virtualization ? Did >> it show kvm_intel this time ? If it hasn't can you try installing kvm-qe= mu >> package and give it a try ? >> >> -----Original Message----- >> From: Cayetano Rodr=C3=ADguez [mailto:tfg.cloudcomputing@gmail.com] >> Sent: Thursday, April 21, 2016 11:56 PM >> To: users@cloudstack.apache.org >> Subject: Re: Error: "Unable to add host" >> >> It wasn't enabled but I enabled the virtualization in the BIOS and I >> still can't add a host >> >> El lunes, 18 de abril de 2016, Pavan Bandarupally < >> pavan.bandarupally@accelerite.com> escribi=C3=B3: >> >> > Is Virtualization enabled in the BIOS for the machine ? >> > >> > -----Original Message----- >> > From: Cayetano Rodr=C3=ADguez [mailto:tfg.cloudcomputing@gmail.com >> > ] >> > Sent: Friday, April 15, 2016 8:05 PM >> > To: users@cloudstack.apache.org >> > Subject: Re: Error: "Unable to add host" >> > >> > Yes, I'm trying to setup everything on a single machine. I followed >> > that guide and now I've checked all steps in the KVM section. When I >> execute " >> > lsmod | grep kvm " >> > I get the following output: >> > [root@srvr1 ~]# lsmod | grep kvm >> > kvm 341551 0 >> > >> > In the guide it appears in the output another line (kvm_intel), am I >> > doing something wrong so that line doesn't appear? >> > >> > Thank you >> > >> > 2016-04-15 4:06 GMT+02:00 Pavan Bandarupally < >> > pavan.bandarupally@accelerite.com >: >> > >> > > If you have resources, it is recommended to have management server >> > > and host on separate machines. But just to troubleshoot your >> > > environment you can check the below link and see if things work. >> > > >> > > From my understanding you are trying to setup everything ( >> > > management server and hotst) on a single machine. The error you face >> > > is generally seen if the hypervisor host doesn't have KVM agent >> > > installed properly (I might be wrong here). Can you please go >> > > through the below link and make sure that you have followed all the >> > > required steps (for KVM installation ) and confirm if KVM is >> > > properly installed (say by checking >> > lsmod | grep kvm ) ? >> > > >> > > >> > > http://docs.cloudstack.apache.org/projects/cloudstack-installation/e >> > > n/ >> > > 4.6/qig.html >> > > >> > > Regards, >> > > Pavan >> > > >> > > >> > > -----Original Message----- >> > > From: Cayetano Rodr=C3=ADguez [mailto:tfg.cloudcomputing@gmail.com >> > ] >> > > Sent: Friday, April 15, 2016 6:08 AM >> > > To: users@cloudstack.apache.org >> > > Subject: Re: Error: "Unable to add host" >> > > >> > > The managenent ip address is the same as the host ip address, and >> > > the same as the machine that I'm using... >> > > I've done this because I've followed the Quick Installation Guide >> > > that is focused on doing everything in the same machine, and this >> > > guide specifies to use the same ip addresses in managenent server >> > > and the >> > first host. >> > > >> > > I am interested in getting started on CloudStack doing this "trial" >> > > installation, so I don't need lots of resources (and actually don't >> > > have them at this moment). For this reason I think doing everything >> > > in the same machine is the best option for me. >> > > >> > > If you could help me doing this that would be great, or if it's not >> > > possible and you think it's better and easier separating the >> > > management server and host, I could look for another machine to use. >> > > >> > > Thank you very much. >> > > >> > > El jueves, 14 de abril de 2016, Simon Weller > > > escribi=C3=B3: >> > > >> > > > Can you ping the ip address you supplied from the management serve= r? >> > > > Are you able to ssh into it using the credentials (from the >> > > > management >> > > > server) you're using in the Cloudstack GUI? >> > > > >> > > > ICloudstack is really designed to be deployed on separate servers, >> > > > so mixing management and hosts can complicate things a fair bit. >> > > > >> > > > - Si >> > > > >> > > > >> > > > ________________________________________ >> > > > From: Cayetano Rodr=C3=ADguez > > > > > >> > > > Sent: Thursday, April 14, 2016 12:18 PM >> > > > To: users@cloudstack.apache.org >> > > > Subject: Error: "Unable to add host" >> > > > >> > > > 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) =3D=3D=3DSTART=3D= =3D=3D >> > > > 192.168.1.2 -- GET >> > > > >> > > > command=3DlistNetworkOfferings&state=3DEnabled&guestiptype=3DShare= d&resp >> > > > on >> > > > se >> > > > =3Djson&_=3D1460653836254 >> > > > 2016-04-14 19:10:36,315 DEBUG [c.c.a.ApiServlet] >> > > > (catalina-exec-1:ctx-3c617426 ctx-5090361b) (logid:25f4748e) >> > > > =3D=3D=3DEND=3D=3D=3D >> > > > 192.168.1.2 -- GET >> > > > >> > > > command=3DlistNetworkOfferings&state=3DEnabled&guestiptype=3DShare= d&resp >> > > > on >> > > > se >> > > > =3Djson&_=3D1460653836254 >> > > > 2016-04-14 19:10:36,323 DEBUG [c.c.a.ApiServlet] >> > > > (catalina-exec-14:ctx-8f5ed97e) (logid:30b82c99) =3D=3D=3DSTART=3D= =3D=3D >> > > > 192.168.1.2 >> > > > -- POST command=3DaddHost&response=3Djson >> > > > 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 parameter= s >> : >> > > > 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(ResourceMan >> > > ag >> > > erImpl.java:802) >> > > > at >> > > > >> > > > >> > > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager >> > > Im >> > > pl.java:597) >> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> > > > at >> > > > >> > > > >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl >> > > .j >> > > ava:57) >> > > > at >> > > > >> > > > >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce >> > > ss >> > > orImpl.java:43) >> > > > at java.lang.reflect.Method.invoke(Method.java:606) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflect >> > > io >> > > n(AopUtils.java:317) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJ >> > > oi >> > > npoint(ReflectiveMethodInvocation.java:183) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed >> > > (R >> > > eflectiveMethodInvocation.java:150) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invo >> > > ke >> > > (ExposeInvocationInterceptor.java:91) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed >> > > (R >> > > eflectiveMethodInvocation.java:172) >> > > > at >> > > > >> > > > >> > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynam >> > > ic >> > > AopProxy.java:204) >> > > > at com.sun.proxy.$Proxy157.discoverHosts(Unknown Source) >> > > > at >> > > > >> > > > >> > > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddH >> > > os >> > > tCmd.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.c >> > > al >> > > l(DefaultManagedContext.java:56) >> > > > at >> > > > >> > > > >> > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.cal >> > > lW >> > > ithContext(DefaultManagedContext.java:103) >> > > > at >> > > > >> > > > >> > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.run >> > > Wi >> > > thContext(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(App >> > > li >> > > cationFilterChain.java:290) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >> > > Fi >> > > lterChain.java:206) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >> > > Va >> > > lve.java:233) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContext >> > > Va >> > > lve.java:191) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >> > > ja >> > > va:127) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >> > > ja >> > > va:102) >> > > > at >> > > > >> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5 >> > 55) >> > > > at >> > > > >> > > > >> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >> > > lv >> > > e.java:109) >> > > > at >> > > > >> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja >> > > va >> > > :299) >> > > > at >> > > > >> > > > >> > > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcess >> > > or >> > > .java:889) >> > > > at >> > > > >> > > > >> > > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.p >> > > ro >> > > cess(Http11NioProtocol.java:732) >> > > > at >> > > > >> > > > >> > > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoi >> > > nt >> > > .java:2274) >> > > > at >> > > > >> > > > >> > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor >> > > .j >> > > ava:1145) >> > > > at >> > > > >> > > > >> > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto= r. >> > > 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) >> > > > =3D=3D=3DEND=3D=3D=3D >> > > > 192.168.1.2 -- POST command=3DaddHost&response=3Djson >> > > > 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. >> > > > >> > > >> > > >> > > >> > > DISCLAIMER >> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> > > This e-mail may contain privileged and confidential information >> > > which is the property of Accelerite, a Persistent Systems business. >> > > It is intended only for the use of the individual or entity to which >> > > it is addressed. If you are not the intended recipient, you are not >> > > authorized to read, retain, copy, print, distribute or use this >> > > message. If you have received this communication in error, please >> > > notify the sender and delete all copies of this message. Accelerite, >> > > a Persistent Systems business does not accept any liability for >> > > virus >> > infected mails. >> > > >> > >> > >> > >> > DISCLAIMER >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> > This e-mail may contain privileged and confidential information which >> > is the property of Accelerite, a Persistent Systems business. It is >> > intended only for the use of the individual or entity to which it is >> > addressed. If you are not the intended recipient, you are not >> > authorized to read, retain, copy, print, distribute or use this >> > message. If you have received this communication in error, please >> > notify the sender and delete all copies of this message. Accelerite, a >> > Persistent Systems business does not accept any liability for virus >> infected mails. >> > >> >> >> >> DISCLAIMER >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> This e-mail may contain privileged and confidential information which is >> the property of Accelerite, a Persistent Systems business. It is intende= d >> only for the use of the individual or entity to which it is addressed. I= f >> you are not the intended recipient, you are not authorized to read, reta= in, >> copy, print, distribute or use this message. If you have received this >> communication in error, please notify the sender and delete all copies o= f >> this message. Accelerite, a Persistent Systems business does not accept = any >> liability for virus infected mails. >> > > --001a113db38c0dea5705321b9fcf--