Yes. I believe the linking is failing because the host os and the guest os are different.
Ws On Wednesday, October 30, 2013, Santhosh Edukulla wrote: > Based upon the error log below, it seems hard link creation is failing. > > > > >>>> hard linking CHANGES.txt -> Marvin-0.1.0 > > > >>>> > > > >>>> error: Operation not permitted > > > > It seems some body earlier has faced a similar issue when using the > similar workflow and were not able to create hard links on mounted devices. > They were able to overcome this as well. Check the link below. > > > > > http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted > > > > Thanks! > > Santhosh > > > > -----Original Message----- > From: Prasanna Santhanam [mailto:t...@apache.org <javascript:;>] > Sent: Wednesday, October 30, 2013 3:48 PM > To: Sebastien Goasguen > Cc: dev@cloudstack.apache.org <javascript:;>; Prasanna Santhanam > Subject: Re: Issues deploying with marvin > > > > Never tried this with shared dir on vmware fusion but I expect the failure > is outside marvin really as Will mentioned. I'm sure this would fail with > vbox shared dirs as well. > > > > mvn is simply calling 'python setup.py sdist' when doing the build as the > user who runs mvn. If that user has permissions to write to your > shared-fusion dir, this should ideally have worked. > > > > On Wed, Oct 30, 2013 at 04:05:39AM -0400, Sebastien Goasguen wrote: > > > I am adding Prasanna to the thread as he is the main Marvin developer > > > > > > -sebastien > > > > > > On Oct 29, 2013, at 1:02 PM, Will Stevens > > <wstev...@cloudops.com<javascript:;> > <mailto:wstev...@cloudops.com <javascript:;>>> wrote: > > > > > > > I believe the issues I am running into stem from the fact that the > > > > CS code is in a shared directory from my Mac to VMware Fusion. > > > > Because of this the 'ln' command is failing when building marvin... > > > > > > > > I may have to find a work around for this problem in order to build > > > > the developer profile. > > > > > > > > Will > > > > > > > > > > > > On Tue, Oct 29, 2013 at 11:59 AM, Will Stevens > > > <wstev...@cloudops.com<javascript:;> > <mailto:wstev...@cloudops.com <javascript:;>>>wrote: > > > > > > > >> I will pull and make this change because apparently this has been > > > >> in for a little while... > > > >> > > > >> I will update this if with more news when I have it. > > > >> > > > >> > > > >> On Tue, Oct 29, 2013 at 11:57 AM, Will Stevens > > >> <wstev...@cloudops.com<javascript:;> > <mailto:wstev...@cloudops.com <javascript:;>>>wrote: > > > >> > > > >>> 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 > <javascript:;><mailto:wstev...@cloudops.com<javascript:;> > >>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-SNA > > > >>>> PSHOT/cloud-marvin-4.3.0-SNAPSHOT.pom > > > >>>> > > > >>>> [DEBUG] Writing resolution tracking file > > > >>>> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/4.3.0-SNA > > > >>>> PSHOT/_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-SNA > > > >>>> PSHOT/maven-metadata-local.xml > > > >>>> > > > >>>> [DEBUG] Installing > > > >>>> org.apache.cloudstack:cloud-marvin/maven-metadata.xml > > > >>>> to > > > >>>> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/maven-met > > > >>>> adata-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<mailto:sun.misc.Launcher<javascript:;> > $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<mailto: > org.apache.maven.execution.MavenSession@6d3cba41 <javascript:;>> > > > >>>> > > > >>>> [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] 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(MojoExec > > > >>>> utor.java:217) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExec > > > >>>> utor.java:153) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExec > > > >>>> utor.java:145) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildP > > > >>>> roject(LifecycleModuleBuilder.java:84) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildP > > > >>>> roject(LifecycleModuleBuilder.java:59) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThread > > > >>>> edBuild(LifecycleStarter.java:183) > > > >>>> > > > >>>> at > > > >>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Life > > > >>>> cycleStarter.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(NativeMethodAccessorI > > > >>>> mpl.java:39) > > > >>>> > > > >>>> at > > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA > > > >>>> ccessorImpl.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.Launch> >>>> > santhosh.eduku...@citrix.com<mailto: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 > > >>>>> From: williamstev...@gmail.com<mailto:williams > > >>>>> On Behalf Of Will Stevens > > > >>>>> Sent: Friday, October 18, 2013 2:05 AM > > >