I'm using the cs-bootstrap-s3.py script to populate a  working
devcloud instance:

during the run of the script I get the error:

urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with
event AgentDisconnected for host 1, mangement server id is
8796761548538,Unable to transition to a new state from Creating via
AgentDisconnected


in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to :


2012-09-26 22:25:08,989 WARN  [cloud.resource.ResourceManagerImpl]
(AgentTaskPool-1:null) Unable to connect due to
com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1
        at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:624)
        at 
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1500)
        at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1631)
        at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1668)
        at 
com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1195)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
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:634)
        at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:605)
        ... 7 more



Can anyone provide insight here?

Thanks,

James

Reply via email to