Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-28 Thread James Martin
Sebastien, I tried your updated config and now receive this: python deployDataCenter.py -i ../../devcloud/devcloud.cfg Traceback (most recent call last): File "deployDataCenter.py", line 430, in deploy.deploy() File "deployDataCenter.py", line 414, in deploy self.createZones(self.co

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-28 Thread sebgoa
James, I think the devcloud.cfg is missing the physical network definition. I sent you an email with an updated file, if that works we can add that to the devcloud patches. Cheers, -Sebastien On Sep 28, 2012, at 3:29 AM, James Martin wrote: > I did the ant build-apidocs as you said and then

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread Prasanna Santhanam
:59 AM To: cloudstack-dev@incubator.apache.org Subject: Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer I did the ant build-apidocs as you said and then from tools/marvin/marvin ran: python deployDataCenter.py -i ../../devcloud/devcloud.cfg Traceback (most recent call

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread James Martin
I did the ant build-apidocs as you said and then from tools/marvin/marvin ran: python deployDataCenter.py -i ../../devcloud/devcloud.cfg Traceback (most recent call last): File "deployDataCenter.py", line 430, in deploy.deploy() File "deployDataCenter.py", line 414, in deploy self.cre

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread Chiradeep Vittal
Did you try ant build-apidocs cd tools/marvin/marvin python deployDataCenter.py On 9/27/12 5:24 PM, "James Martin" wrote: >Sebastien, > >It seems deployDataCenter.py is dependent on cloudstackAPI > > >python >$HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter >.py >-i

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread James Martin
Sebastien, It seems deployDataCenter.py is dependent on cloudstackAPI python $HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg Traceback (most recent call last): File "/Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCen

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread Sebastien Goasguen
Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 a

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread James Martin
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 t

Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-27 Thread Sebastien Goasguen
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,

error building devcloud: ClassCastException: com.cloud.agent.api.Answer

2012-09-26 Thread James Martin
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 ne