I think it was the problem with the firewall. -----Original Message----- From: Amogh Vasekar [mailto:amogh.vase...@citrix.com] Sent: Thursday, August 07, 2014 3:00 PM To: dev@cloudstack.apache.org Subject: Re: Unable to add host exception
Firewall may be? Can you telnet to the mentioned IP and port? Amogh On 8/7/14 11:43 AM, "Elapavuluri, Jaya" <jaya.elapavul...@netapp.com> wrote: >I am trying to add a KVM host on to the Management server. However, I >am getting an error while adding the host. It says unable to add the host. > >The log at the management server says: >Discovery exception >error code list for exceptions >WARN [o.a.c.a.c.a.h.AddHostCmd] >(1690201491@qtp-794886538-14:ctx-7544e509 ctx-fc750325) Exception: >com.cloud.exception.DiscoveryException: Unable to add the host > at >com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManage >rIm >pl.java:791) > at >com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImp >l.j >ava:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >57) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > >The log at the KVM host says: >2014-08-07 09:55:57,600 INFO [utils.nio.NioClient] >(Agent-Selector:null) Connecting to 192.168.182.149:8250 >2014-08-07 09:57:00,600 WARN [utils.nio.NioConnection] >(Agent-Selector:null) Unable to connect to remote: is there a server >running on port 8250 >2014-08-07 09:57:05,601 INFO [utils.nio.NioClient] >(Agent-Selector:null) Connecting to 192.168.182.149:8250 >2014-08-07 09:58:08,618 WARN [utils.nio.NioConnection] >(Agent-Selector:null) Unable to connect to remote: is there a server >running on port 8250 >2014-08-07 09:58:13,619 INFO [utils.nio.NioClient] >(Agent-Selector:null) Connecting to 192.168.182.149:8250 >2014-08-07 09:59:16,630 WARN [utils.nio.NioConnection] >(Agent-Selector:null) Unable to connect to remote: is there a server >running on port 8250 >2014-08-07 09:59:21,631 INFO [utils.nio.NioClient] >(Agent-Selector:null) Connecting to 192.168.182.149:8250 > >Can someone give an insight into this?