Sebastien,

Sorry, let me give a better example.  I'm trying to run a script that
will provide an initial configuration of cloudstack so I don't have to
go through the initial wizard on a fresh install.  I see the
devcloud.cfg  & marvin you are mentioning, but I can't figure out how
it is suppose to be used to configure a fresh install.


James

On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen <run...@gmail.com> wrote:
> Hi James,
>
> What do you mean by "populate" ? adding a host ?
>
> If that's the case, I believe the thinking was to use marvin (/tools/marvin) 
> deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to 
> setup the db/zones/pods etc of devcloud.
>
> -Sebastien
>
> On Sep 27, 2012, at 1:02 AM, James Martin <jmar...@basho.com> wrote:
>
>> 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