You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Punith s <pu...@cloudbyte.com> on 2013/09/04 13:53:16 UTC

unable to add host in 4.2 using Devcloud2 environment

*hi folks ,*
*
*
*i'm building my cloudstack (4.2) inside DevCloud2 , i ran all the mvn
commands and the management jetty server is up*
*
*
*but i'm getting following exceptions is deploying the pre configured
infrastructure . ...after trying either of the commands or by configuring
it manually*
*
*
*mvn -P developer -pl tools/devcloud -Ddeploysvr**
*
*
*
*cd tools/devcloud; python ../marvin/marvin/deployDataCenter.py -i
devcloud.cfg**
*
*
*
the following log info

WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) callHostPlugin
failed for cmd: setIptables with args  due to There was a failure
communicating with the plugin.
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) Unable to setup


com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
cmd: setIptables with args  due to There was a failure communicating with
the plugin.
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4188)

        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixResourceBase.java:4200)


.
.
.
.


WARN  [xen.discoverer.XcpServerDiscoverer] (25391925@qtp-12024104-5:)
Unable to setup agent 1 due to callHostPlugin failed for cmd: setIptables
with args  due to There was a failure communicating with the plugin.



INFO  [utils.exception.CSExceptionErrorCode] (25391925@qtp-12024104-5:)
Could not find exception: com.cloud.exception.ConnectionException in error
code list for exceptions
WARN  [agent.manager.AgentManagerImpl] (25391925@qtp-12024104-5:) Monitor
XcpServerDiscoverer_EnhancerByCloudStack_677c4d9f says there is an error in
the connect process for 1 due to Reinitialize agent after setup.



INFO  [agent.manager.AgentManagerImpl] (25391925@qtp-12024104-5:) Host 1 is
disconnecting with event AgentDisconnected

WARN  [cloud.resource.ResourceManagerImpl] (25391925@qtp-12024104-5:)
Unable to connect due to

com.cloud.exception.ConnectionException: Reinitialize agent after setup.


        at
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:660)


.
.
.
.
.
.
.
.

ERROR [cloud.api.ApiServer] (25391925@qtp-12024104-5:) 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
8796757504512,Unable to transition to a new state from Creating via
AgentDisconnected


        at
com.cloud.agent.manager.AgentManagerImpl.agentStatusTransitTo(AgentManagerImpl.java:1410)


        at
com.cloud.resource.ResourceManagerImpl.markHostAsDisconnected(ResourceManagerImpl.java:1712)
                            .
.
.
.
.
.

*is the 4.2 still fragile or can anyone tell me how to fix this ??*
* thanks,*
*
*
*regards,*
*punith s*
*CloudByte Inc.* <http://www.cloudbyte.com/>*
*
*
*