On Sat, Apr 27, 2013 at 10:08:22PM +0530, Dharmesh Kakadia wrote:
> I found out the issue. I was behind the proxy and python was not able to
> bypass the local address. After unsetting proxy, I am able to add zones,
> pod and cluster. But while adding hosts I get following error:

Ah - should've noticed the university in the email :)
Can you update your bugreport to include proxy support in the CLI and marvin? 

For the host exception, can you check if your devcloud VM has the XAPI
service running?  xcp-xapi?

> 
> INFO  [cloud.resource.ResourceManagerImpl] (1793095672@qtp-165312501-9:)
> Trying to add a new host at http://192.168.56.10 in data center 1
> WARN  [cloud.resource.ResourceManagerImpl] (1793095672@qtp-165312501-9:)
> Unable to find the server resources at http://192.168.56.10
> INFO  [utils.exception.CSExceptionErrorCode] (1793095672@qtp-165312501-9:)
> Could not find exception: com.cloud.exception.DiscoveryException in error
> code list for exceptions
> WARN  [admin.host.AddHostCmd] (1793095672@qtp-165312501-9:) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:894)
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:639)
>         at
> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:512)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:362)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>         at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>         at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>         at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> INFO  [cloud.api.ApiServer] (1793095672@qtp-165312501-9:) Unable to add the
> host
> 
> Host (192.168.56.10) and management servers are able to ping each other.
> Any pointers on what can be wrong ?
> 
> Thanks,
> Dharmesh
> 
> 
> On Fri, Apr 26, 2013 at 7:33 PM, Prasanna Santhanam <t...@apache.org> wrote:
> 
> > On Fri, Apr 26, 2013 at 06:30:23PM +0530, Dharmesh Kakadia wrote:
> > > Hi,
> > >
> > > I have created bug https://issues.apache.org/jira/browse/CLOUDSTACK-2211as
> > > suggested by you.
> > > Being a newbie I was not sure how things are done in Apache Way. Couldn't
> > > assign you the bug. Correct me if I missed something.
> >
> > That is the Apache Way ;) I'll pick it up and add some logs for you
> > soon. Thanks for your patience. You should be able to proceed with the
> > UI Wizard in the meantime to setup your zones.
> >
> >
> > --
> > Prasanna.,
> >
> > ------------------------
> > Powered by BigRock.com
> >
> >

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to