I ran simulator using the below commands on 4.3 and it worked for me ~/cloudstack/$ mvn -Pdeveloper -Dsimulator clean install ~/cloudstack/$ mvn -Pdeveloper -pl developer -Ddeploydb ~/cloudstack/$ mvn -Pdeveloper -pl developer -Ddeploydb-simulator
~/cloudstack/tools/marvin$ sudo python setup.py install ~/cloudstack/tools/marvin$ python marvin/deployDataCenter.py -i ../../setup/dev/advanced.cfg ~Rajani On Fri, Sep 5, 2014 at 5:18 PM, Deepal Jayasekara <dpjayasek...@gmail.com> wrote: > I am trying to build Cloudstack from the source and was able to build > Cloudstack following the steps in the documentation. But when I try to > build the simulator, I encountered with following errors: > > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache CloudStack marvin 4.3.1 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin > --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ > cloud-marvin --- > [INFO] > [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ > cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ > cloud-marvin --- > > Step1 :Parsing Options And Check Went Fine > > Exception Occurred Under __deployDC : Execute cmd: addcluster failed, due > to: errorCode: 431, errorText:Could not find corresponding resource manager > for simulator > > Marvin Initialization Failed > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 50.773s > [INFO] Finished at: Fri Sep 05 03:04:24 IST 2014 > [INFO] Final Memory: 31M/235M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on > project cloud-marvin: Command execution failed. Process exited with an > error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > Is this a problem with the simulator ? What causes this error? Is there a > way to fix this and proceed? I have build Cloudstack 4.3 branch. Any help > would be appreciated. > > Thank you. > > > -- > _______________________________________________________ > [image: photo] > *Deepal Jayasekara* > Undergraduate, Department Of Computer Science And Engineering > University of Moratuwa, Sri Lanka > | mobile: +94712070097 | blog: *insiderattack.blogspot.com > <http://insiderattack.blogspot.com>* > <https://www.facebook.com/deepal.cse10> <https://twitter.com/dpjayasekara > > > < > http://www.linkedin.com/profile/view?id=127692449&authType=NAME_SEARCH&authToken=Nn4Z&locale=en_US&srchid=1276924491381815604317&srchindex=1&srchtotal=1&trk=vsrp_people_res_name&trkInfo=VSRPsearchId%3A1276924491381815604317%2CVSRPtargetId%3A127692449%2CVSRPcmpt%3Aprimary > > >