I was able to get a successful installation of ovirt-engine on CentOS 6.2 with the latest git master of ovirt-engine.<br>But problem is, when i try to add same server as vdsm node(host).<br>it does a bunch of installation stuff, then it reboots.<br>
<br>After reboot i get a lot of these in /var/log/messages:<br><br>Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning<br>Mar 13 11:05:56 virtual init: libvirtd main process (13353) terminated with status 1<br>
Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning<br>Mar 13 11:05:56 virtual init: libvirtd main process (13360) terminated with status 1<br>Mar 13 11:05:56 virtual init: libvirtd respawning too fast, stopped<br>
Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave<br>Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too quickly, respawning slave<br><br>After that ovirt portal doesn't work.<br>
<br><div class="gmail_quote">2012/3/12 Randy Evans <span dir="ltr"><<a href="mailto:randy.evans@consumertesting.com">randy.evans@consumertesting.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Thank you very much!</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Randy</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a>
[mailto:<a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a>] <b>On Behalf Of </b>Elias
Abacioglu<br><b>Sent:</b> Sunday, March 11, 2012 1:44 PM<br><b>To:</b>
users<br><b>Subject:</b> [Users] Fwd: Re: installing ovirt engine on
CentOS<br></font><br></div><div><div class="h5">
<div></div>FYI, there is a repo for CentOS 6.<br><a href="http://www.dreyou.org/ovirt/" target="_blank">http://www.dreyou.org/ovirt/</a><br><br><br><br>--------
Ursprungligt meddelande --------
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<th align="right" nowrap valign="baseline">Ämne: </th>
<td>Re: [Users] installing ovirt engine on CentOS</td></tr>
<tr>
<th align="right" nowrap valign="baseline">Datum: </th>
<td>Sat, 10 Mar 2012 19:28:46 +0530</td></tr>
<tr>
<th align="right" nowrap valign="baseline">Från: </th>
<td>kumar shantanu <a href="mailto:k.shantanu2006@gmail.com" target="_blank"><k.shantanu2006@gmail.com></a></td></tr>
<tr>
<th align="right" nowrap valign="baseline">Till: </th>
<td>Elias Abacioglu <a href="mailto:elias.rabi@gmail.com" target="_blank"><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 href="http://www.dreyou.org/ovirt/" target="_blank">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 href="mailto:elias.rabi@gmail.com" target="_blank">elias.rabi@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">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 style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">I have gotten to this point during the RPM build
process:<br><br>[INFO]
------------------------------------------------------------------------<br>[ERROR]
FATAL ERROR<br>[INFO]
------------------------------------------------------------------------<br>[INFO]
<a 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 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 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 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 href="mailto:elias.rabi@gmail.com" target="_blank">elias.rabi@gmail.com</a> <mailto:<a 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 href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br><a 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></div></div></div>
<br><br>******************************************************************<br>This email and any files transmitted with it are confidential <br>and intended solely for the individual or entity to whom they are<br>addressed. If you have received this email in error destroy it <br>
immediately.<br>******************************************************************<br>Consumer Testing Laboratories, Inc., Confidential<br>******************************************************************<br>
</blockquote></div><br>