Hello William, 1. After getting the latest master branch code, I just ran the command " mvn -P developer,systemvm clean install" and I could see that both "commands.xml" file was created under cs/ tools/apidoc/target/ and "addImageStore.py" under cs/tools/marvin/marvin/cloudstackAPI/ directory. Please check post the command run, whether both were available or not.
2. Basically, codegeneratory.py under cs/tools/marvin/marvin directory is the one which based upon apispec file "commands.xml" if available generates the cloudstackAPI and corresponding modules under its directory. In case as mentioned under pom.xml, if commands.xml is not available, it takes the apispec file as " /etc/cloud/cli/commands.xml". It also has the option of creating cloudstackAPI/modules from json response endpoint url " http://ip:8096/client/api?command=listApis", default to localhost. Thanks! Santhosh -----Original Message----- From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On Behalf Of Will Stevens Sent: Friday, October 18, 2013 2:05 AM To: dev@cloudstack.apache. Subject: Re: Issues deploying with marvin Note: I pulled from master yesterday...y On Thu, Oct 17, 2013 at 4:28 PM, Will Stevens <wstev...@cloudops.com> wrote: > When I run: > > I am getting the following error: > [DEBUG] Executing command line: python > ../marvin/marvin/deployDataCenter.py -i devcloud.cfg 5Traceback (most > recent call last): > File "../marvin/marvin/deployDataCenter.py", line 612, in <module> > deploy.deploy() > File "../marvin/marvin/deployDataCenter.py", line 597, in deploy > self.createZones(self.config.zones) > File "../marvin/marvin/deployDataCenter.py", line 466, in createZones > self.createSecondaryStorages(zone.secondaryStorages, zoneId) > File "../marvin/marvin/deployDataCenter.py", line 176, in > createSecondaryStorages > secondarycmd = addImageStore.addImageStoreCmd() > NameError: global name 'addImageStore' is not defined [INFO] > ---------------------------------------------------------------------- > -- > [INFO] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------- > -- > > I have looked and I can not find where 'addImageStore' is defined. I > was expecting it to be imported via the 'from cloudstackAPI import *' > line, but 'addImageStore.py' is not in that directory. > > I have run 'python setup.py install' again in 'tools/marvin' just to > make sure it had not changed. > > I ran the following: > # python -c "import pkg_resources; > print(pkg_resources.get_distribution('marvin').version)" > > Which returned the version number of: 0.1.0 > > What do I need to do to get my environment up to speed? > > Thanks... >