Are you on master? ~Rajani
On Tue, Sep 9, 2014 at 1:04 PM, Deepal Jayasekara <[email protected]> wrote: > I started the deployment of the simulator again and then I got a different > error. I think this is the same error about which I started this thread > "Could not find corresponding resource manager for simulator" > > > ==== Log Folder Path: > /tmp//MarvinLogs//DeployDataCenter__Sep_09_2014_12_58_11_DQPFS2. All logs > will be available here ==== > > ==== Deploy DC Started ==== > Exception Occurred ['Traceback (most recent call last):\n', ' File > "marvin/deployDataCenter.py", line 185, in createClusters\n > clusterresponse = self.__apiClient.addCluster(clustercmd)\n', ' File > > "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.0_SNAPSHOT-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 1549, in addCluster\n response = > self.connection.marvinRequest(command, response_type=response, > method=method)\n', ' File > > "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.0_SNAPSHOT-py2.7.egg/marvin/cloudstackConnection.py", > line 379, in marvinRequest\n raise e\n', 'CloudstackAPIException: > Execute cmd: addcluster failed, due to: errorCode: 431, errorText:Could not > find corresponding resource manager for simulator\n'] > > ===deploy dc failed, so cleaning the created entries=== > > ====DeployDC: CleanUp Started==== > > ====Clean Up Entries=== {'PhysicalNetwork': > [u'fb49eeae-4382-4f26-a1fa-8719e9b1748e'], 'Pod': > [u'11e1508b-0d4b-4e0b-bb58-62d8a934eedb'], 'order': ['Pod', > 'PhysicalNetwork', 'Zone'], 'Zone': > [u'ae46f6fc-f153-45d0-9114-9418addbcd17']} > > ===Removing DataCenter Successful=== > > > On Tue, Sep 9, 2014 at 12:54 PM, Deepal Jayasekara <[email protected] > > > wrote: > > > Yup. It was successful. And the database deployments were also > sucecssful. > > > > On Tue, Sep 9, 2014 at 12:47 PM, Rajani Karuturi <[email protected]> > > wrote: > > > >> Did you run mvn clean install with developer profile and was it > >> successful? > >> $mvn -Pdeveloper -Dsimulator clean install -DskipTests=true > >> > >> ~Rajani > >> > >> On Tue, Sep 9, 2014 at 11:48 AM, Deepal Jayasekara < > >> [email protected]> > >> wrote: > >> > >> > I installed marvin as @Rajani said, and then tried to deploy the > >> simulator. > >> > But I got following error: > >> > > >> > Traceback (most recent call last): > >> > File "marvin/deployDataCenter.py", line 29, in <module> > >> > from marvin.cloudstackException import ( > >> > ImportError: cannot import name GetDetailExceptionInfo > >> > > >> > Searching through some mails, I decided install marvin again as she > >> said. > >> > But this time I encountered following error: > >> > > >> > running install > >> > running bdist_egg > >> > running egg_info > >> > writing requirements to Marvin.egg-info/requires.txt > >> > writing Marvin.egg-info/PKG-INFO > >> > writing top-level names to Marvin.egg-info/top_level.txt > >> > writing dependency_links to Marvin.egg-info/dependency_links.txt > >> > writing entry points to Marvin.egg-info/entry_points.txt > >> > error: package directory 'marvin/cloudstackAPI' does not exist > >> > > >> > On Mon, Sep 8, 2014 at 6:47 PM, Daan Hoogland < > [email protected]> > >> > wrote: > >> > > >> > > On Mon, Sep 8, 2014 at 12:05 PM, Rajani Karuturi <[email protected] > > > >> > > wrote: > >> > > > >> > > > ~/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 > >> > > > > >> > > > >> > > export > >> > > MAVEN_OPTS=-Xmx2048m -XX:MaxPermSize=800m -Xmx2g -Xdebug > >> > > -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > >> > > > >> > > ~/cloudstack/$ > >> > > mvn -pl client jetty:run -Dsimulator > >> > > > >> > > # > >> > > not sure if the -Dsimulator is need, I just add it default same as > >> > > -Dnoredist > >> > > > >> > > > >> > > > >> > > > ~/cloudstack/tools/marvin$ python marvin/deployDataCenter.py -i > >> > > > > >> > > > ../../setup/dev/advanced.cfg > >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > -- > >> > > Daan > >> > > > >> > > >> > > >> > > >> > -- > >> > _______________________________________________________ > >> > [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 > >> > > > >> > > >> > > > > > > > > -- > > _______________________________________________________ > > [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 > > > > > > > > > > > > -- > _______________________________________________________ > [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 > > >
