cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mo ...@daoenix.com>
Subject Re: XEN | CentOS | Cloud 4.2 | Error Message - Agent Disconnected.
Date Thu, 13 Feb 2014 22:56:52 GMT
Cloudstack 4.2 (CentOS) , Xen Sever 6.2. Two servers.
On Feb 13, 2014 5:41 PM, "Daan Hoogland" <daan.hoogland@gmail.com> wrote:

> Maurice,
>
> what version are you running on what kind of environment?
>
> thanks,
> Daan
>
> On Thu, Feb 13, 2014 at 5:32 AM, Mo <mo@daoenix.com> wrote:
> > Hello,
> >
> > Can someone shed some light on this error message?
> >
> >  * Something went wrong; please correct the following:
> >    Cannot transit agent status with event AgentDisconnected for host 1,
> >    mangement server id is 161344192609,Unable to transition to a new
> >    state from Creating via AgentDisconnected
> >
> >
> > =============
> >
> >
> > 2014-02-12 23:25:03,365 DEBUG [agent.manager.AgentManagerImpl]
> > (catalina-exec-12:null) Sending Disconnect to listener:
> > com.cloud.consoleproxy.ConsoleProxyListener
> > 2014-02-12 23:25:03,366 DEBUG [cloud.host.Status] (catalina-exec-12:null)
> > Transition:[Resource state = Enabled, Agent event = AgentDisconnected,
> Host
> > id = 1, name = node1.domain.com]
> > 2014-02-12 23:25:03,447 DEBUG [cloud.host.Status] (catalina-exec-12:null)
> > Agent status update: [id = 1; name = node1.domain.com; old status =
> > Connecting; event = AgentDisconnected; new status = Alert; old update
> count
> > = 1; new update count = 2]
> > 2014-02-12 23:25:03,448 DEBUG [agent.manager.ClusteredAgentManagerImpl]
> > (catalina-exec-12:null) Notifying other nodes of to disconnect
> > 2014-02-12 23:25:03,449 WARN  [cloud.resource.ResourceManagerImpl]
> > (catalina-exec-12:null) Unable to connect due to
> > com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1
> >     at
> >
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:606)
> >     at
> >
> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
> >     at
> >
> com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1872)
> >     at
> >
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:778)
> >     at
> >
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590)
> >     at
> >
> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
> >     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
> >     at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
> >     at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
> >     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
> >     at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >     at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >     at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >     at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >     at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >     at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> >     at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >     at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >     at
> >
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> >     at
> >
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> >     at
> >
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> >     at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >     at java.lang.Thread.run(Thread.java:701)
> > Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer
> cannot
> > be cast to com.cloud.agent.api.SetupAnswer
> >     at
> >
> com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:646)
> >     at
> >
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
> >     ... 27 more
> > 2014-02-12 23:25:03,450 DEBUG [cloud.host.Status] (catalina-exec-12:null)
> > Transition:[Resource state = Enabled, Agent event = AgentDisconnected,
> Host
> > id = 1, name = node1.domain.com]
> > 2014-02-12 23:25:03,450 DEBUG [cloud.host.Status] (catalina-exec-12:null)
> > Cannot transit agent status with event AgentDisconnected for host 1,
> > name=node1.domain.com, mangement server id is 161344192609
> > 2014-02-12 23:25:03,450 ERROR [cloud.api.ApiServer]
> (catalina-exec-12:null)
> > unhandled exception executing api command: addHost
> > com.cloud.utils.exception.CloudRuntimeException: Cannot transit agent
> status
> > with event AgentDisconnected for host 1, mangement server id is
> > 161344192609,Unable to transition to a new state from Creating via
> > AgentDisconnected
> >
> >
>
>
>
> --
> Daan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message