[Users] Fwd: Re: installing ovirt engine on CentOS

This is a multi-part message in MIME format. --------------010500060201020109070608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit FYI, there is a repo for CentOS 6. http://www.dreyou.org/ovirt/ -------- Ursprungligt meddelande -------- Ämne: Re: [Users] installing ovirt engine on CentOS Datum: Sat, 10 Mar 2012 19:28:46 +0530 Från: kumar shantanu <k.shantanu2006@gmail.com> Till: Elias Abacioglu <elias.rabi@gmail.com> Just wanted to share this. All who want ovirt to be install centos6, here is good link, http://www.dreyou.org/ovirt/ Thank you. On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <elias.rabi@gmail.com <mailto:elias.rabi@gmail.com>> wrote: I was able solve it. I will share the rpms as soon as i get the installation working. Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu: I have gotten to this point during the RPM build process: [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.apache.maven.shared.io <http://org.apache.maven.shared.io>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org.apache.maven.shared.io <http://org.apache.maven.shared.io>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V at org.apache.maven.plugin.assembly.io <http://assembly.io>.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 47 seconds [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012 [INFO] Final Memory: 237M/834M [INFO] ------------------------------------------------------------------------ make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install) Chris Brown had a similar issue. http://www.mail-archive.com/users@ovirt.org/msg00078.html His solution was to run maven 2.2. But the problem is that I do. [elab@virtual SPECS]$ mvn -v /usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17 21:32:08+0200) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family: "unix" Any ideas now? 2012/3/9 Elias Abacioglu <elias.rabi@gmail.com <mailto:elias.rabi@gmail.com> <mailto:elias.rabi@gmail.com <mailto:elias.rabi@gmail.com>>> > > Trey, did you have a Python 2.7 RPM or SRPM for EL6? Where do you see the Python 2.7 dependency? Running a rebuild with no changes on the latest SPEC gives me this ... Maybe you are right.. I was just blinded by the fact that the ovirt-engine rpms needed 2.7.. So that is probably not needed after I have rebuilt ovirt rpms. # rpmbuild -ba --define 'dist .el6' --define 'rhel 6' ovirt-engine.spec <snip> + make PREFIX=/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6.x86_64/ install which: no mvn in (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin) export MAVEN_OPTS="-XX:MaxPermSize=512m" install -P gwt-admin,gwt-user -D skipTests install: WARNING: ignoring --preserve-context; this kernel is not SELinux-enabled install: cannot stat `gwt-admin,gwt-user': No such file or directory make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install) I think it requires maven 2.2. There is a maven 2.2 in jpackage 6.0. But it got a broken dependency. I tried compiling with maven 2.0 and that failed. _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users -- Kumar Shantanu --------------010500060201020109070608 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> FYI, there is a repo for CentOS 6.<br> <a moz-do-not-send="true" href="http://www.dreyou.org/ovirt/">http://www.dreyou.org/ovirt/</a><br> <br> <br> <br> -------- Ursprungligt meddelande -------- <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Ämne: </th> <td>Re: [Users] installing ovirt engine on CentOS</td> </tr> <tr> <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Datum: </th> <td>Sat, 10 Mar 2012 19:28:46 +0530</td> </tr> <tr> <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Från: </th> <td>kumar shantanu <a class="moz-txt-link-rfc2396E" href="mailto:k.shantanu2006@gmail.com"><k.shantanu2006@gmail.com></a></td> </tr> <tr> <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Till: </th> <td>Elias Abacioglu <a class="moz-txt-link-rfc2396E" href="mailto:elias.rabi@gmail.com"><elias.rabi@gmail.com></a></td> </tr> </tbody> </table> <br> <br> Just wanted to share this.<br> All who want ovirt to be install centos6, here is good link, <a moz-do-not-send="true" href="http://www.dreyou.org/ovirt/">http://www.dreyou.org/ovirt/</a><br> <br> Thank you.<br> <br> <div class="gmail_quote">On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <span dir="ltr"><<a moz-do-not-send="true" href="mailto:elias.rabi@gmail.com">elias.rabi@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was able solve it.<br> <br> I will share the rpms as soon as i get the installation working.<br> <br> <br> <br> Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I have gotten to this point during the RPM build process:<br> <br> [INFO] ------------------------------------------------------------------------<br> [ERROR] FATAL ERROR<br> [INFO] ------------------------------------------------------------------------<br> [INFO] <a moz-do-not-send="true" href="http://org.apache.maven.shared.io" target="_blank">org.apache.maven.shared.io</a>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V<br> [INFO] ------------------------------------------------------------------------<br> [INFO] Trace<br> java.lang.NoSuchMethodError: <a moz-do-not-send="true" href="http://org.apache.maven.shared.io" target="_blank">org.apache.maven.shared.io</a>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V<br> at org.apache.maven.plugin.<a moz-do-not-send="true" href="http://assembly.io" target="_blank">assembly.io</a>.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102)<br> at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296)<br> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)<br> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:616)<br> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br> [INFO] ------------------------------------------------------------------------<br> [INFO] Total time: 1 minute 47 seconds<br> [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012<br> [INFO] Final Memory: 237M/834M<br> [INFO] ------------------------------------------------------------------------<br> make: *** [build_mvn] Error 1<br> error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)<br> <br> <br> RPM build errors:<br> Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)<br> <br> <br> <br> Chris Brown had a similar issue.<br> <a moz-do-not-send="true" href="http://www.mail-archive.com/users@ovirt.org/msg00078.html" target="_blank">http://www.mail-archive.com/users@ovirt.org/msg00078.html</a><br> His solution was to run maven 2.2. But the problem is that I do.<br> <br> [elab@virtual SPECS]$ mvn -v<br> /usr/lib/jvm/java<br> Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17 21:32:08+0200)<br> Java version: 1.6.0_22<br> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre<br> Default locale: en_US, platform encoding: UTF-8<br> OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family: "unix"<br> <br> Any ideas now?<br> <br> 2012/3/9 Elias Abacioglu <<a moz-do-not-send="true" href="mailto:elias.rabi@gmail.com" target="_blank">elias.rabi@gmail.com</a> <mailto:<a moz-do-not-send="true" href="mailto:elias.rabi@gmail.com" target="_blank">elias.rabi@gmail.com</a>>><br> <br> <br> ><br> > Trey, did you have a Python 2.7 RPM or SRPM for EL6?<br> <br> Where do you see the Python 2.7 dependency? Running a rebuild<br> with no<br> changes on the latest SPEC gives me this ...<br> <br> Maybe you are right.. I was just blinded by the fact that the<br> ovirt-engine rpms needed 2.7.. So that is probably not needed<br> after I have rebuilt ovirt rpms.<br> <br> # rpmbuild -ba --define 'dist .el6' --define 'rhel 6'<br> ovirt-engine.spec<br> <snip><br> + make<br> PREFIX=/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6.x86_64/<br> install<br> which: no mvn in<br> (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin)<br> export MAVEN_OPTS="-XX:MaxPermSize=512m"<br> install -P gwt-admin,gwt-user -D skipTests<br> install: WARNING: ignoring --preserve-context; this kernel is not<br> SELinux-enabled<br> install: cannot stat `gwt-admin,gwt-user': No such file or<br> directory<br> make: *** [build_mvn] Error 1<br> error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install)<br> <br> I think it requires maven 2.2. There is a maven 2.2 in jpackage<br> 6.0. But it got a broken dependency.<br> I tried compiling with maven 2.0 and that failed.<br> <br> <br> </blockquote> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> </div> <br> <br clear="all"> <br> -- <br> Kumar Shantanu<br> <br> <br> </body> </html> --------------010500060201020109070608--

This is a multi-part message in MIME format. ------_=_NextPart_001_01CD0050.277BA11F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you very much! =20 Randy ________________________________ From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Elias Abacioglu Sent: Sunday, March 11, 2012 1:44 PM To: users Subject: [Users] Fwd: Re: installing ovirt engine on CentOS FYI, there is a repo for CentOS 6. http://www.dreyou.org/ovirt/ -------- Ursprungligt meddelande --------=20 =C4mne: Re: [Users] installing ovirt engine on CentOS=09 Datum: Sat, 10 Mar 2012 19:28:46 +0530=09 Fr=E5n: kumar shantanu <k.shantanu2006@gmail.com> <mailto:k.shantanu2006@g= mail.com> =09 Till: Elias Abacioglu <elias.rabi@gmail.com> <mailto:elias.rabi@gmail.com> =09 Just wanted to share this. All who want ovirt to be install centos6, here is good link, http://www.dre= you.org/ovirt/ Thank you. On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <elias.rabi@gmail.com> wro= te: I was able solve it. =09 I will share the rpms as soon as i get the installation working. =09 =09 =09 Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu: =09 I have gotten to this point during the RPM build process: =09 [INFO] ------------------------------------------------------------------= ------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------= ------ [INFO] org.apache.maven.shared.io.location.ArtifactLocatorStrategy.<init>= (Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifa= ct/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactR= epository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V [INFO] ------------------------------------------------------------------= ------ [INFO] Trace java.lang.NoSuchMethodError: org.apache.maven.shared.io.location.Artifact= LocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lo= rg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifac= t/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang= /String;)V at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssem= blies(DefaultAssemblyReader.java:102) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute= (AbstractAssemblyMojo.java:296) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlu= ginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(De= faultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWith= Lifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Def= aultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH= andleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm= ents(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Default= LifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java= :60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:43= 0) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------= ------ [INFO] Total time: 1 minute 47 seconds [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012 [INFO] Final Memory: 237M/834M [INFO] ------------------------------------------------------------------= ------ make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install) =09 =09 RPM build errors: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install) =09 =09 =09 Chris Brown had a similar issue. http://www.mail-archive.com/users@ovirt.org/msg00078.html His solution was to run maven 2.2. But the problem is that I do. =09 [elab@virtual SPECS]$ mvn -v /usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17 21:32:08+0200) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Famil= y: "unix" =09 Any ideas now? =09 2012/3/9 Elias Abacioglu <elias.rabi@gmail.com <mailto:elias.rabi@gmail.c= om>> =09 =09 > > Trey, did you have a Python 2.7 RPM or SRPM for EL6? =09 Where do you see the Python 2.7 dependency? Running a rebuild with no changes on the latest SPEC gives me this ... =09 Maybe you are right.. I was just blinded by the fact that the ovirt-engine rpms needed 2.7.. So that is probably not needed after I have rebuilt ovirt rpms. =09 # rpmbuild -ba --define 'dist .el6' --define 'rhel 6' ovirt-engine.spec <snip> + make PREFIX=3D/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6= .x86_64/ install which: no mvn in (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin) export MAVEN_OPTS=3D"-XX:MaxPermSize=3D512m" install -P gwt-admin,gwt-user -D skipTests install: WARNING: ignoring --preserve-context; this kernel is not SELinux-enabled install: cannot stat `gwt-admin,gwt-user': No such file or directory make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install) =09 I think it requires maven 2.2. There is a maven 2.2 in jpackage 6.0. But it got a broken dependency. I tried compiling with maven 2.0 and that failed. =09 =09 =09 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =09 --=20 Kumar Shantanu ****************************************************************** This email and any files transmitted with it are confidential=20 and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it=20 immediately. ****************************************************************** Consumer Testing Laboratories, Inc., Confidential ****************************************************************** ------_=_NextPart_001_01CD0050.277BA11F Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19190"></HEAD> <BODY bgColor=3D#ffffff text=3D#000000> <DIV dir=3Dltr align=3Dleft><SPAN class=3D625215912-12032012><FONT color=3D= #0000ff=20 size=3D2 face=3DArial>Thank you very much!</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D625215912-12032012><FONT color=3D= #0000ff=20 size=3D2 face=3DArial></FONT></SPAN> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D625215912-12032012><FONT color=3D= #0000ff=20 size=3D2 face=3DArial>Randy</FONT></SPAN></DIV><BR> <DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>From:</B> users-bounces@ovirt.org=20 [mailto:users-bounces@ovirt.org] <B>On Behalf Of </B>Elias=20 Abacioglu<BR><B>Sent:</B> Sunday, March 11, 2012 1:44 PM<BR><B>To:</B>=20 users<BR><B>Subject:</B> [Users] Fwd: Re: installing ovirt engine on=20 CentOS<BR></FONT><BR></DIV> <DIV></DIV>FYI, there is a repo for CentOS 6.<BR><A=20 href=3D"http://www.dreyou.org/ovirt/"=20 moz-do-not-send=3D"true">http://www.dreyou.org/ovirt/</A><BR><BR><BR><BR>--= ------=20 Ursprungligt meddelande --------=20 <TABLE class=3Dmoz-email-headers-table border=3D0 cellSpacing=3D0 cellPaddi= ng=3D0> <TBODY> <TR> <TH vAlign=3Dbaseline noWrap align=3Dright>=C4mne: </TH> <TD>Re: [Users] installing ovirt engine on CentOS</TD></TR> <TR> <TH vAlign=3Dbaseline noWrap align=3Dright>Datum: </TH> <TD>Sat, 10 Mar 2012 19:28:46 +0530</TD></TR> <TR> <TH vAlign=3Dbaseline noWrap align=3Dright>Fr=E5n: </TH> <TD>kumar shantanu <A class=3Dmoz-txt-link-rfc2396E=20 href=3D"mailto:k.shantanu2006@gmail.com"><k.shantanu2006@gmail.com= ></A></TD></TR> <TR> <TH vAlign=3Dbaseline noWrap align=3Dright>Till: </TH> <TD>Elias Abacioglu <A class=3Dmoz-txt-link-rfc2396E=20 href=3D"mailto:elias.rabi@gmail.com"><elias.rabi@gmail.com></A>= </TD></TR></TBODY></TABLE><BR><BR>Just=20 wanted to share this.<BR>All who want ovirt to be install centos6, here is = good=20 link, <A href=3D"http://www.dreyou.org/ovirt/"=20 moz-do-not-send=3D"true">http://www.dreyou.org/ovirt/</A><BR><BR>Thank=20 you.<BR><BR> <DIV class=3Dgmail_quote>On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <= SPAN=20 dir=3Dltr><<A href=3D"mailto:elias.rabi@gmail.com"=20 moz-do-not-send=3D"true">elias.rabi@gmail.com</A>></SPAN> wrote:<BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LE= FT: 1ex"=20 class=3Dgmail_quote>I was able solve it.<BR><BR>I will share the rpms as so= on as=20 i get the installation working.<BR><BR><BR><BR>Den den 9 mars 2012 13:56:= 48=20 skrev Elias Abacioglu:<BR> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-= LEFT: 1ex"=20 class=3Dgmail_quote>I have gotten to this point during the RPM build=20 process:<BR><BR>[INFO]=20 -----------------------------------------------------------------------= -<BR>[ERROR]=20 FATAL ERROR<BR>[INFO]=20 -----------------------------------------------------------------------= -<BR>[INFO]=20 <A href=3D"http://org.apache.maven.shared.io" target=3D_blank=20 moz-do-not-send=3D"true">org.apache.maven.shared.io</A>.location.Artifa= ctLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFa= ctory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven= /artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Lj= ava/lang/String;)V<BR>[INFO]=20 -----------------------------------------------------------------------= -<BR>[INFO]=20 Trace<BR>java.lang.NoSuchMethodError: <A=20 href=3D"http://org.apache.maven.shared.io" target=3D_blank=20 moz-do-not-send=3D"true">org.apache.maven.shared.io</A>.location.Artifa= ctLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFa= ctory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven= /artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Lj= ava/lang/String;)V<BR> =20 at org.apache.maven.plugin.<A href=3D"http://assembly.io" target= =3D_blank=20 moz-do-not-send=3D"true">assembly.io</A>.DefaultAssemblyReader.readAsse= mblies(DefaultAssemblyReader.java:102)<BR> =20 at=20 org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(Abs= tractAssemblyMojo.java:296)<BR> =20 at=20 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginM= anager.java:490)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul= tLifecycleExecutor.java:694)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLife= cycle(DefaultLifecycleExecutor.java:556)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Default= LifecycleExecutor.java:535)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandl= eFailures(DefaultLifecycleExecutor.java:387)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments= (DefaultLifecycleExecutor.java:348)<BR> =20 at=20 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife= cycleExecutor.java:180)<BR> =20 at=20 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<BR> = ;=20 at=20 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<BR> = =20 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<BR> = ;=20 at=20 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)= <BR> =20 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native=20 Method)<BR> at=20 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:57)<BR> =20 at=20 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:43)<BR> =20 at java.lang.reflect.Method.invoke(Method.java:616)<BR> &nb= sp;at=20 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<BR>= =20 at=20 org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<BR> = =20 at=20 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<B= R> =20 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<BR>[= INFO]=20 -----------------------------------------------------------------------= -<BR>[INFO]=20 Total time: 1 minute 47 seconds<BR>[INFO] Finished at: Fri Mar 09 12:50= :16=20 CET 2012<BR>[INFO] Final Memory: 237M/834M<BR>[INFO]=20 -----------------------------------------------------------------------= -<BR>make:=20 *** [build_mvn] Error 1<BR>error: Bad exit status from=20 /var/tmp/rpm-tmp.95OcZi (%install)<BR><BR><BR>RPM build errors:<BR>&nbs= p;=20 Bad exit status from /var/tmp/rpm-tmp.95OcZi=20 (%install)<BR><BR><BR><BR>Chris Brown had a similar issue.<BR><A=20 href=3D"http://www.mail-archive.com/users@ovirt.org/msg00078.html"=20 target=3D_blank=20 moz-do-not-send=3D"true">http://www.mail-archive.com/users@ovirt.org/ms= g00078.html</A><BR>His=20 solution was to run maven 2.2. But the problem is that I=20 do.<BR><BR>[elab@virtual SPECS]$ mvn -v<BR>/usr/lib/jvm/java<BR>Apache = Maven=20 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17=20 21:32:08+0200)<BR>Java version: 1.6.0_22<BR>Java home:=20 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre<BR>Default locale: e= n_US,=20 platform encoding: UTF-8<BR>OS name: "linux" version:=20 "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family: "unix"<BR><BR>Any ide= as=20 now?<BR><BR>2012/3/9 Elias Abacioglu <<A=20 href=3D"mailto:elias.rabi@gmail.com" target=3D_blank=20 moz-do-not-send=3D"true">elias.rabi@gmail.com</A> <mailto:<A=20 href=3D"mailto:elias.rabi@gmail.com" target=3D_blank=20 moz-do-not-send=3D"true">elias.rabi@gmail.com</A>>><BR><BR><BR>&n= bsp;=20 ><BR> > Trey, did y= ou=20 have a Python 2.7 RPM or SRPM for EL6?<BR><BR>  = ;=20 Where do you see the Python 2.7 dependency? Running a=20 rebuild<BR> with no<BR> = =20 changes on the latest SPEC gives me this ...<BR><BR> = Maybe=20 you are right.. I was just blinded by the fact that the<BR> =20 ovirt-engine rpms needed 2.7.. So that is probably not=20 needed<BR> after I have rebuilt ovirt rpms.<BR><BR> &= nbsp;=20 # rpmbuild -ba --define 'dist .el6' --define 'rhel 6'<BR>&= nbsp;=20 ovirt-engine.spec<BR> =20 <snip><BR> + make<BR>  = ;=20 =20 PREFIX=3D/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el= 6.x86_64/<BR> =20 install<BR> which: no mvn= =20 in<BR> =20 (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin)<BR>= =20 export MAVEN_OPTS=3D"-XX:MaxPermSize=3D512m"<BR>&nb= sp;=20 install -P gwt-admin,gwt-user -D skipTests<BR> = ;=20 install: WARNING: ignoring --preserve-context; this= =20 kernel is not<BR> SELinux-enabled<BR> &= nbsp;=20 install: cannot stat `gwt-admin,gwt-user': No such file=20 or<BR> directory<BR> =20 make: *** [build_mvn] Error 1<BR> error= : Bad=20 exit status from /var/tmp/rpm-tmp.oHg34r (%install)<BR><BR>  = ;I=20 think it requires maven 2.2. There is a maven 2.2 in jpackage<BR> = =20 6.0. But it got a broken dependency.<BR> I tried comp= iling=20 with maven 2.0 and that=20 failed.<BR><BR><BR></BLOCKQUOTE>_________________________________________= ______<BR>Users=20 mailing list<BR><A href=3D"mailto:Users@ovirt.org" target=3D_blank=20 moz-do-not-send=3D"true">Users@ovirt.org</A><BR><A=20 href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D_blank=20 moz-do-not-send=3D"true">http://lists.ovirt.org/mailman/listinfo/users</A=
<BR></BLOCKQUOTE></DIV><BR><BR=20 clear=3Dall><BR>-- <BR>Kumar Shantanu<BR><BR><BR></BODY></HTML>
<HTML><BR><br>*************************************************************= *****<br>This email and any files transmitted with it are confidential <br>a= nd intended solely for the individual or entity to whom they are<br>addresse= d. If you have received this email in error destroy it <br>immediately.<br>*= *****************************************************************<br>Consume= r Testing Laboratories, Inc., Confidential<br>******************************= ************************************<br></HTML> ------_=_NextPart_001_01CD0050.277BA11F--

I was able to get a successful installation of ovirt-engine on CentOS 6.2 with the latest git master of ovirt-engine. But problem is, when i try to add same server as vdsm node(host). it does a bunch of installation stuff, then it reboots. After reboot i get a lot of these in /var/log/messages: Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning Mar 13 11:05:56 virtual init: libvirtd main process (13353) terminated with status 1 Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning Mar 13 11:05:56 virtual init: libvirtd main process (13360) terminated with status 1 Mar 13 11:05:56 virtual init: libvirtd respawning too fast, stopped Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave After that ovirt portal doesn't work. 2012/3/12 Randy Evans <randy.evans@consumertesting.com>
** Thank you very much!
Randy
------------------------------ *From:* users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] *On Behalf Of *Elias Abacioglu *Sent:* Sunday, March 11, 2012 1:44 PM *To:* users *Subject:* [Users] Fwd: Re: installing ovirt engine on CentOS
FYI, there is a repo for CentOS 6. http://www.dreyou.org/ovirt/
-------- Ursprungligt meddelande -------- Ämne: Re: [Users] installing ovirt engine on CentOS Datum: Sat, 10 Mar 2012 19:28:46 +0530 Från: kumar shantanu <k.shantanu2006@gmail.com> <k.shantanu2006@gmail.com> Till: Elias Abacioglu <elias.rabi@gmail.com> <elias.rabi@gmail.com>
Just wanted to share this. All who want ovirt to be install centos6, here is good link, http://www.dreyou.org/ovirt/
Thank you.
On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <elias.rabi@gmail.com>wrote:
I was able solve it.
I will share the rpms as soon as i get the installation working.
Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:
I have gotten to this point during the RPM build process:
[INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.apache.maven.shared.io .location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org.apache.maven.shared.io .location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V at org.apache.maven.plugin.assembly.io .DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 47 seconds [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012 [INFO] Final Memory: 237M/834M [INFO] ------------------------------------------------------------------------ make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
Chris Brown had a similar issue. http://www.mail-archive.com/users@ovirt.org/msg00078.html His solution was to run maven 2.2. But the problem is that I do.
[elab@virtual SPECS]$ mvn -v /usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17 21:32:08+0200) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family: "unix"
Any ideas now?
2012/3/9 Elias Abacioglu <elias.rabi@gmail.com <mailto: elias.rabi@gmail.com>>
> > Trey, did you have a Python 2.7 RPM or SRPM for EL6?
Where do you see the Python 2.7 dependency? Running a rebuild with no changes on the latest SPEC gives me this ...
Maybe you are right.. I was just blinded by the fact that the ovirt-engine rpms needed 2.7.. So that is probably not needed after I have rebuilt ovirt rpms.
# rpmbuild -ba --define 'dist .el6' --define 'rhel 6' ovirt-engine.spec <snip> + make
PREFIX=/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6.x86_64/ install which: no mvn in (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin) export MAVEN_OPTS="-XX:MaxPermSize=512m" install -P gwt-admin,gwt-user -D skipTests install: WARNING: ignoring --preserve-context; this kernel is not SELinux-enabled install: cannot stat `gwt-admin,gwt-user': No such file or directory make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install)
I think it requires maven 2.2. There is a maven 2.2 in jpackage 6.0. But it got a broken dependency. I tried compiling with maven 2.0 and that failed.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Kumar Shantanu
****************************************************************** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ****************************************************************** Consumer Testing Laboratories, Inc., Confidential ******************************************************************

On 03/13/2012 12:13 PM, Elias Abacioglu wrote:
I was able to get a successful installation of ovirt-engine on CentOS 6.2 with the latest git master of ovirt-engine. But problem is, when i try to add same server as vdsm node(host).
there is still some work needed to allow using same host for both. please use different hosts for now.
it does a bunch of installation stuff, then it reboots.
After reboot i get a lot of these in /var/log/messages:
Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning Mar 13 11:05:56 virtual init: libvirtd main process (13353) terminated with status 1 Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning Mar 13 11:05:56 virtual init: libvirtd main process (13360) terminated with status 1 Mar 13 11:05:56 virtual init: libvirtd respawning too fast, stopped Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave
After that ovirt portal doesn't work.
2012/3/12 Randy Evans <randy.evans@consumertesting.com <mailto:randy.evans@consumertesting.com>>
__ Thank you very much! Randy
------------------------------------------------------------------------ *From:* users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> [mailto:users-bounces@ovirt.org <mailto:users-bounces@ovirt.org>] *On Behalf Of *Elias Abacioglu *Sent:* Sunday, March 11, 2012 1:44 PM *To:* users *Subject:* [Users] Fwd: Re: installing ovirt engine on CentOS
FYI, there is a repo for CentOS 6. http://www.dreyou.org/ovirt/
-------- Ursprungligt meddelande -------- Ämne: Re: [Users] installing ovirt engine on CentOS Datum: Sat, 10 Mar 2012 19:28:46 +0530 Från: kumar shantanu <k.shantanu2006@gmail.com> <mailto:k.shantanu2006@gmail.com> Till: Elias Abacioglu <elias.rabi@gmail.com> <mailto:elias.rabi@gmail.com>
Just wanted to share this. All who want ovirt to be install centos6, here is good link, http://www.dreyou.org/ovirt/
Thank you.
On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <elias.rabi@gmail.com <mailto:elias.rabi@gmail.com>> wrote:
I was able solve it.
I will share the rpms as soon as i get the installation working.
Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:
I have gotten to this point during the RPM build process:
[INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.apache.maven.shared.io <http://org.apache.maven.shared.io>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org.apache.maven.shared.io <http://org.apache.maven.shared.io>.location.ArtifactLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V at org.apache.maven.plugin.assembly.io <http://assembly.io>.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102) at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 47 seconds [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012 [INFO] Final Memory: 237M/834M [INFO] ------------------------------------------------------------------------ make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
Chris Brown had a similar issue. http://www.mail-archive.com/users@ovirt.org/msg00078.html His solution was to run maven 2.2. But the problem is that I do.
[elab@virtual SPECS]$ mvn -v /usr/lib/jvm/java Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17 21:32:08+0200) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family: "unix"
Any ideas now?
2012/3/9 Elias Abacioglu <elias.rabi@gmail.com <mailto:elias.rabi@gmail.com> <mailto:elias.rabi@gmail.com <mailto:elias.rabi@gmail.com>>>
> > Trey, did you have a Python 2.7 RPM or SRPM for EL6?
Where do you see the Python 2.7 dependency? Running a rebuild with no changes on the latest SPEC gives me this ...
Maybe you are right.. I was just blinded by the fact that the ovirt-engine rpms needed 2.7.. So that is probably not needed after I have rebuilt ovirt rpms.
# rpmbuild -ba --define 'dist .el6' --define 'rhel 6' ovirt-engine.spec <snip> + make
PREFIX=/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6.x86_64/ install which: no mvn in
(/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin) export MAVEN_OPTS="-XX:MaxPermSize=512m" install -P gwt-admin,gwt-user -D skipTests install: WARNING: ignoring --preserve-context; this kernel is not SELinux-enabled install: cannot stat `gwt-admin,gwt-user': No such file or directory make: *** [build_mvn] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install)
I think it requires maven 2.2. There is a maven 2.2 in jpackage 6.0. But it got a broken dependency. I tried compiling with maven 2.0 and that failed.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
-- Kumar Shantanu
****************************************************************** This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. ****************************************************************** Consumer Testing Laboratories, Inc., Confidential ******************************************************************
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Elias Abacioglu
-
Itamar Heim
-
Randy Evans