I know that I will have to change the 'nonoss' flag when I pull in the
latest master from this weekend...


On Tue, Oct 29, 2013 at 11:27 AM, Will Stevens <wstev...@cloudops.com>wrote:

> When I build with:  mvn -P developer,systemvm -Dnonoss clean install -X
>
> I get the error below.  I have completely rebuilt my system from scratch
> and I still get this...  Any ideas?
>
> If I run the same command, but without the 'developer' profile, everything
> builds correctly.
> (eg: mvn -P systemvm -Dnonoss clean install -X)
>
> Are there specific requirements needed to build the developer profile?
>
> ---
>
> [INFO] Installing
> /mnt/hgfs/palo_alto/incubator-cloudstack/tools/marvin/pom.xml to
> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/4.3.0-SNAPSHOT/cloud-marvin-4.3.0-SNAPSHOT.pom
>
> [DEBUG] Writing resolution tracking file
> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/4.3.0-SNAPSHOT/_maven.repositories
>
> [DEBUG] Installing
> org.apache.cloudstack:cloud-marvin:4.3.0-SNAPSHOT/maven-metadata.xml to
> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/4.3.0-SNAPSHOT/maven-metadata-local.xml
>
> [DEBUG] Installing org.apache.cloudstack:cloud-marvin/maven-metadata.xml
> to
> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/maven-metadata-local.xml
>
> [INFO]
>
> [INFO] --- exec-maven-plugin:1.2.1:exec (install) @ cloud-marvin ---
>
> [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
> from plugin realm
> ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1, parent:
> sun.misc.Launcher$AppClassLoader@5acac268]
>
> [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:exec'
> with basic configurator -->
>
> [DEBUG]   (f) arguments = [setup.py, sdist]
>
> [DEBUG]   (f) basedir =
> /mnt/hgfs/palo_alto/incubator-cloudstack/tools/marvin
>
> [DEBUG]   (f) classpathScope = runtime
>
> [DEBUG]   (f) executable = python
>
> [DEBUG]   (f) longClasspath = false
>
> [DEBUG]   (f) project = MavenProject:
> org.apache.cloudstack:cloud-marvin:4.3.0-SNAPSHOT @
> /mnt/hgfs/palo_alto/incubator-cloudstack/tools/marvin/pom.xml
>
> [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@6d3cba41
>
> [DEBUG]   (f) skip = false
>
> [DEBUG] -- end configuration --
>
> [DEBUG] Executing command line: python setup.py sdist
>
> running sdist
>
> 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
>
> reading manifest file 'Marvin.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching '*.txt' under directory 'docs'
>
> writing manifest file 'Marvin.egg-info/SOURCES.txt'
>
> making hard links in Marvin-0.1.0...
>
> hard linking CHANGES.txt -> Marvin-0.1.0
>
> error: Operation not permitted
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] Apache CloudStack ................................. SUCCESS [4.341s]
>
> [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.089s]
>
> [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [4.999s]
>
> [INFO] Apache CloudStack Utils ........................... SUCCESS
> [17.555s]
>
> [INFO] Apache CloudStack Framework ....................... SUCCESS [0.125s]
>
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [9.514s]
>
> [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [5.700s]
>
> [INFO] Apache CloudStack API ............................. SUCCESS
> [26.885s]
>
> [INFO] Apache CloudStack Framework - REST ................ SUCCESS [3.394s]
>
> [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [8.755s]
>
> [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.091s]
>
> [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [7.934s]
>
> [INFO] Apache CloudStack Core ............................ SUCCESS
> [13.925s]
>
> [INFO] Apache CloudStack Agents .......................... SUCCESS [7.509s]
>
> [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [4.550s]
>
> [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [4.811s]
>
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS
> [17.694s]
>
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.665s]
>
> [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS
> [4.491s]
>
> [INFO] Apache CloudStack Server .......................... SUCCESS
> [56.473s]
>
> [INFO] Apache CloudStack Usage Server .................... SUCCESS [8.747s]
>
> [INFO] Apache XenSource XAPI ............................. SUCCESS [8.695s]
>
> [INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS
> [10.341s]
>
> [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.207s]
>
> [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [5.918s]
>
> [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [5.974s]
>
> [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [5.936s]
>
> [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [3.533s]
>
> [INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS
> [4.206s]
>
> [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [2.888s]
>
> [INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS
> [5.265s]
>
> [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [2.756s]
>
> [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [7.624s]
>
> [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [1.440s]
>
> [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [8.121s]
>
> [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [5.600s]
>
> [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [3.822s]
>
> [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS
> [2.641s]
>
> [INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS
> [3.097s]
>
> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment
> Planner  SUCCESS [2.696s]
>
> [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
> SUCCESS [2.624s]
>
> [INFO] Apache CloudStack Plugin - Implicit Dedication Planner  SUCCESS
> [8.390s]
>
> [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.733s]
>
> [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [7.454s]
>
> [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [4.439s]
>
> [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [3.581s]
>
> [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS
> [12.095s]
>
> [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS
> [13.159s]
>
> [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [2.939s]
>
> [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [4.963s]
>
> [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [3.429s]
>
> [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS
> [5.100s]
>
> [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS
> [11.103s]
>
> [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
> SUCCESS [7.611s]
>
> [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [7.864s]
>
> [INFO] Apache Cloudstack Plugin - Stratosphere SSP ....... SUCCESS [7.125s]
>
> [INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS
> [2.552s]
>
> [INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [3.892s]
>
> [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [2.733s]
>
> [INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS
> [2.547s]
>
> [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
> SUCCESS [33.230s]
>
> [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [2.494s]
>
> [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [2.864s]
>
> [INFO] Apache CloudStack Plugin - Storage Image Swift provider  SUCCESS
> [2.543s]
>
> [INFO] Apache CloudStack Plugin - Storage Image default provider  SUCCESS
> [2.431s]
>
> [INFO] Apache CloudStack Plugin - Storage Image sample provider  SUCCESS
> [2.945s]
>
> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
> SUCCESS [5.323s]
>
> [INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS
> [2.771s]
>
> [INFO] Apache CloudStack Plugin - Storage Volume sample provider  SUCCESS
> [2.414s]
>
> [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [5.064s]
>
> [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [4.563s]
>
> [INFO] Apache CloudStack Plugin - Network Internal Load Balancer  SUCCESS
> [10.414s]
>
> [INFO] Apache CloudStack Plugin - Network VXLAN .......... SUCCESS [5.421s]
>
> [INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [8.807s]
>
> [INFO] Apache CloudStack Test ............................ SUCCESS [0.586s]
>
> [INFO] Apache CloudStack Console Proxy ................... SUCCESS [0.045s]
>
> [INFO] Apache CloudStack Console Proxy - Server .......... SUCCESS [3.691s]
>
> [INFO] Apache CloudStack System VM ....................... SUCCESS [8.814s]
>
> [INFO] Apache CloudStack Client UI ....................... SUCCESS
> [31.508s]
>
> [INFO] Apache CloudStack Developer Mode .................. SUCCESS [3.295s]
>
> [INFO] Apache CloudStack Developer Tools ................. SUCCESS [0.135s]
>
> [INFO] Apache CloudStack apidocs ......................... SUCCESS
> [33.492s]
>
> [INFO] Apache CloudStack marvin .......................... FAILURE [3.828s]
>
> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>
> [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 9:56.659s
>
> [INFO] Finished at: Tue Oct 29 11:08:48 EDT 2013
>
> [INFO] Final Memory: 58M/172M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (install) on project
> cloud-marvin: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (install) on project
> cloud-marvin: Command execution failed.
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by: org.apache.maven.plugin.MojoExecutionException: Command
> execution failed.
>
> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
>
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>
> ... 19 more
>
> Caused by: org.apache.commons.exec.ExecuteException: Process exited with
> an error: 1 (Exit value: 1)
>
> at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
>
> at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
>
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
>
> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
>
> ... 21 more
>
> [ERROR]
>
> [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
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn <goals> -rf :cloud-marvin
>
>
> On Fri, Oct 18, 2013 at 7:58 AM, Santhosh Edukulla <
> santhosh.eduku...@citrix.com> wrote:
>
>> 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...
>> >
>>
>
>

Reply via email to