Re: Error: "Unable to add host"
Can you ping the ip address you supplied from the management server? 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íguez 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) ===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
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ó: > Can you ping the ip address you supplied from the management server? 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íguez > > 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) ===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) >
RE: Error: "Unable to add host"
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/en/4.6/qig.html Regards, Pavan -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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ó: > Can you ping the ip address you supplied from the management server? > 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íguez > > 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) ===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.AddHo
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.bandarupa...@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/en/4.6/qig.html > > Regards, > Pavan > > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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ó: > > > Can you ping the ip address you supplied from the management server? > > 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íguez > > > 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) ===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-8f5
RE: Error: "Unable to add host"
Is Virtualization enabled in the BIOS for the machine ? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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/en/ > 4.6/qig.html > > Regards, > Pavan > > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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ó: > > > Can you ping the ip address you supplied from the management server? > > 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íguez > > > > 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) ===START=== > > 192.168.1.2 -- GET > > > > command=listNetworkOfferings&state=Enabled&guestiptype=Shared&respon > > se > > =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&respon > > se > > =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=js
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.bandarupa...@accelerite.com> escribió: > Is Virtualization enabled in the BIOS for the machine ? > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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/en/ > > 4.6/qig.html > > > > Regards, > > Pavan > > > > > > -Original Message- > > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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ó: > > > > > Can you ping the ip address you supplied from the management server? > > > 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íguez > > > > > > > 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) ===START=== > >
RE: Error: "Unable to add host"
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-qemu package and give it a try ? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com> escribió: > Is Virtualization enabled in the BIOS for the machine ? > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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íguez [mailto:tfg.cloudcomput...@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ó: > > > > > Can you ping the ip address you supplied from the management server? > > > 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íguez > > > > > > 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
Re: Error: "Unable to add host"
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.bandarupa...@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-qemu > package and give it a try ? > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com> escribió: > > > Is Virtualization enabled in the BIOS for the machine ? > > > > -Original Message- > > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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íguez [mailto:tfg.cloudcomput...@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ó: > > > > > > > Can you ping the ip address you supplied from the management server? > > > > 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. > > >
Re: Error: "Unable to add host"
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íguez : > 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.bandarupa...@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-qemu >> package and give it a try ? >> >> -Original Message- >> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com> escribió: >> >> > Is Virtualization enabled in the BIOS for the machine ? >> > >> > -----Original Message- >> > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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íguez [mailto:tfg.cloudcomput...@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 >> >
RE: Error: "Unable to add host"
Does agent on host running? Try to stop libvirt. Check log on agent and /var/log/message. -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] Sent: 06 Mei 2016 1:25 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" 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íguez : > 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.bandarupa...@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-qemu package and give it a try ? >> >> -Original Message- >> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com> escribió: >> >> > Is Virtualization enabled in the BIOS for the machine ? >> > >> > -Original Message- >> > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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-installatio >> > > n/e >> > > n/ >> > > 4.6/qig.html >> > > >> > > Regards, >> > > Pavan >> > > >> > > >> > > -Original Message- >> > > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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 >> > >
Re: Error: "Unable to add host"
Right now it isn't running. I don't know what I have done while trying to fix this but now agent isn't running and I can't stop libvirt (it fails). Anyway this didn't happen before. Do you know what could be happening with libvirt? Thank you El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani escribió: > Does agent on host running? Try to stop libvirt. Check log on agent and > /var/log/message. > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com > ] > Sent: 06 Mei 2016 1:25 > To: users@cloudstack.apache.org > Subject: Re: Error: "Unable to add host" > > 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íguez < > tfg.cloudcomput...@gmail.com > > : > > > 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.bandarupa...@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-qemu package and give it a try ? > >> > >> -Original Message- > >> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com > escribió: > >> > >> > Is Virtualization enabled in the BIOS for the machine ? > >> > > >> > -Original Message- > >> > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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-installatio > >> > > n/e > >> > >
RE: Error: "Unable to add host"
Hi, Can you paste log from host (/var/log/cloudstack/agent/)? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] Sent: 06 Mei 2016 23:12 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" Right now it isn't running. I don't know what I have done while trying to fix this but now agent isn't running and I can't stop libvirt (it fails). Anyway this didn't happen before. Do you know what could be happening with libvirt? Thank you El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani escribió: > Does agent on host running? Try to stop libvirt. Check log on agent > and /var/log/message. > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com > ] > Sent: 06 Mei 2016 1:25 > To: users@cloudstack.apache.org > Subject: Re: Error: "Unable to add host" > > 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íguez < > tfg.cloudcomput...@gmail.com > > : > > > 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.bandarupa...@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-qemu package and give it a try ? > >> > >> -Original Message- > >> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com > escribió: > >> > >> > Is Virtualization enabled in the BIOS for the machine ? > >> > > >> > -Original Message- > >> > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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 > >>
Re: Error: "Unable to add host"
oudstack/agent/)? > > -Original Message- > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] > Sent: 06 Mei 2016 23:12 > To: users@cloudstack.apache.org > Subject: Re: Error: "Unable to add host" > > Right now it isn't running. I don't know what I have done while trying to > fix this but now agent isn't running and I can't stop libvirt (it fails). > Anyway this didn't happen before. > > Do you know what could be happening with libvirt? Thank you > > El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani < > zai...@nocser.net> > escribió: > > > Does agent on host running? Try to stop libvirt. Check log on agent > > and /var/log/message. > > > > -Original Message- > > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com > > ] > > Sent: 06 Mei 2016 1:25 > > To: users@cloudstack.apache.org > > Subject: Re: Error: "Unable to add host" > > > > 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íguez < > > tfg.cloudcomput...@gmail.com > > > : > > > > > 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.bandarupa...@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-qemu package and give it a try ? > > >> > > >> -Original Message- > > >> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com > escribió: > > >> > > >> > Is Virtualization enabled in the BIOS for the machine ? > > >> > > > >> > -Original Message- > > >> > From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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 set
Re: Error: "Unable to add host"
e9b82 ctx-9971fbba) (logid:01ce71ce) Unable to add the host 2016-06-10 19:00:20,328 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) ===END=== 192.168.1.2 -- POST command=addHost&response=json Any help for this? I think it's not the same error I was receiving before. I started again everything, followed all steps and still no solution. 2016-05-10 8:13 GMT+02:00 Mohd Zainal Abidin Rabani : Hi, Can you paste log from host (/var/log/cloudstack/agent/)? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] Sent: 06 Mei 2016 23:12 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" Right now it isn't running. I don't know what I have done while trying to fix this but now agent isn't running and I can't stop libvirt (it fails). Anyway this didn't happen before. Do you know what could be happening with libvirt? Thank you El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani < zai...@nocser.net> escribió: Does agent on host running? Try to stop libvirt. Check log on agent and /var/log/message. -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com ] Sent: 06 Mei 2016 1:25 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" 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íguez < tfg.cloudcomput...@gmail.com > : 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.bandarupa...@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-qemu package and give it a try ? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com > escribió: Is Virtualization enabled in the BIOS for the machine ? -Original Message----- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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-installat io n/e n/ 4.6/qig.html Regards, Pavan -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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
Re: Error: "Unable to add host"
.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:643) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) >> 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-06-10 19:00:20,328 INFO [c.c.a.ApiServer] >> (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) Unable to >> add >> the host >> 2016-06-10 19:00:20,328 DEBUG [c.c.a.ApiServlet] >> (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) ===END=== >> 192.168.1.2 -- POST command=addHost&response=json >> >> >> Any help for this? I think it's not the same error I was receiving before. >> I started again everything, followed all steps and still no solution. >> >> 2016-05-10 8:13 GMT+02:00 Mohd Zainal Abidin Rabani : >> >> Hi, >>> >>> Can you paste log from host (/var/log/cloudstack/agent/)? >>> >>> -Original Message- >>> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] >>> Sent: 06 Mei 2016 23:12 >>> To: users@cloudstack.apache.org >>> Subject: Re: Error: "Unable to add host" >>> >>> Right now it isn't running. I don't know what I have done while trying to >>> fix this but now agent isn't running and I can't stop libvirt (it fails). >>> Anyway this didn't happen before. >>> >>> Do you know what could be happening with libvirt? Thank you >>> >>> El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani < >>> zai...@nocser.net> >>> escribió: >>> >>> Does agent on host running? Try to stop libvirt. Check log on agent >>>> and /var/log/message. >>>> >>>> -Original Message- >>>> From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com >>>> ] >>>> Sent: 06 Mei 2016 1:25 >>>> To: users@cloudstack.apache.org >>>> Subject: Re: Error: "Unable to add host" >>>> >>>> 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 C
Re: Error: "Unable to add host"
ve.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-06-10 19:00:20,328 INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) Unable to add the host 2016-06-10 19:00:20,328 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) ===END=== 192.168.1.2 -- POST command=addHost&response=json Any help for this? I think it's not the same error I was receiving before. I started again everything, followed all steps and still no solution. 2016-05-10 8:13 GMT+02:00 Mohd Zainal Abidin Rabani : Hi, Can you paste log from host (/var/log/cloudstack/agent/)? -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com] Sent: 06 Mei 2016 23:12 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" Right now it isn't running. I don't know what I have done while trying to fix this but now agent isn't running and I can't stop libvirt (it fails). Anyway this didn't happen before. Do you know what could be happening with libvirt? Thank you El viernes, 6 de mayo de 2016, Mohd Zainal Abidin Rabani < zai...@nocser.net> escribió: Does agent on host running? Try to stop libvirt. Check log on agent and /var/log/message. -Original Message- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@gmail.com ] Sent: 06 Mei 2016 1:25 To: users@cloudstack.apache.org Subject: Re: Error: "Unable to add host" 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íguez < tfg.cloudcomput...@gmail.com > : 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.bandarupa...@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-qemu package and give it a try ? -Original Message----- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@accelerite.com > escribió: Is Virtualization enabled in the BIOS for the machine ? -Original Message----- From: Cayetano Rodríguez [mailto:tfg.cloudcomput...@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.bandarupa...@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
Re: Error: "Unable to add host"
; at >>>> java.net >>>> >>>> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) >>>> ... 67 more >>>> 2016-06-10 19:00:20,326 WARN [c.c.r.ResourceManagerImpl] >>>> (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) Unable to >>>> find the server resources at http://192.168.1.2 >>>> 2016-06-10 19:00:20,326 INFO [c.c.u.e.CSExceptionErrorCode] >>>> (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) Could not >>>> find exception: com.cloud.exception.DiscoveryException in error code >>>> list >>>> for exceptions >>>> 2016-06-10 19:00:20,326 WARN [o.a.c.a.c.a.h.AddHostCmd] >>>> (catalina-exec-20:ctx-5fbe9b82 ctx-9971fbba) (logid:01ce71ce) 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.$Proxy158.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:643) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) >>>> 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 >>>> >>>> >&g