Re: [Users] engine-setup fails in database creation
Ok, it worked better. Except now in the ovirt-engine web portal, when trying to add a host. It does not allow me to use CentOS as host. Failed to install Host virtual.unixwarez.net. Step: INSTALLER; Details: Unsupported platform: CentOS. It's almost like someone doesn't want this to work on anything other than Fedora :( 2012/3/12 Elias Abacioglu elias.r...@gmail.com Sure I can try to do that.. 2012/3/12 Ofer Schreiber oschr...@redhat.com It's probably a bug in the EL support (systemd vs. sysV init scripts). iirc, this was already fixed in master. What about trying to build rpms from git (master branch)? -- 1. yes. 2. CentOS 6.2. 3. 3.0.0_0001. Basically I took the ovirt-engine-3.0.0_0001-1.6.fc16.src.rpm and rebuilt it for CentOS 6.2. If this don't work I'm going to try the RPMS at http://www.dreyou.org/ovirt/ which is also built for EL6. But it feels kind of strange that it can't create the DB. 2012/3/12 Ofer Schreiber oschr...@redhat.com few questions: 1. Does /sbin/service postgresql works for you? 2. Which OS are you using? 3. Which version of ovirt-engine? Thanks, Ofer. -- Yes I tried to install that date. And that is from the beginning of the file. I have a log from Friday as well. # cat postgresql-Fri.log LOG: database system was shut down at 2012-03-09 15:43:14 CET LOG: database system is ready to accept connections LOG: autovacuum launcher started ERROR: database engine does not exist STATEMENT: DROP DATABASE engine; WARNING: nonstandard use of escape in a string literal at character 46 HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. WARNING: column status has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column owner has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_id has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_name has type unknown DETAIL: Proceeding with relation creation anyway. Also I just ran a engine-cleanup and check what was added to todays log. Then I did a engine-setup. All it did was that it added one line FATAL: database engine does not exist to the log. /Raboo 2012/3/11 Yair Zaslavsky yzasl...@redhat.com On 03/11/2012 09:32 PM, Elias Abacioglu wrote: 2012/3/11 Yair Zaslavsky yzasl...@redhat.com mailto: yzasl...@redhat.com On 03/11/2012 05:48 PM, Elias Abacioglu wrote: Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky: On 03/11/2012 05:24 PM, Elias Abacioglu wrote: Hi, I can postgresql is running and I can access it using psql -U postgres What happens when you type psql engine postgres ? psql: FATAL: database engine does not exist Ok, postgres service is up, but something went wrong in the creation. Can you please provide the postgres log? It should be located at /var/lib/pgsql/data/pg_log/postgresql-Sun.log (if you tried installing it today). Please notice that on my environment this directory is accessible from root (and not my regular user). Here is the log from yesterday. LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 12:44:46 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 14:29:30 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist Also it contains many more 'FATAL: database engine does not exist'. Almost 70.000. Thanks for the log, Is this the date when you installed? Are these the first entries you have in the log? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Re: installing ovirt engine on CentOS
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.ev...@consumertesting.com ** Thank you very much! Randy -- *From:* users-boun...@ovirt.org [mailto:users-boun...@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.shantanu2...@gmail.com k.shantanu2...@gmail.com Till: Elias Abacioglu elias.r...@gmail.com elias.r...@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.r...@gmail.comwrote: 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
Re: [Users] engine-setup fails in database creation
1. yes. 2. CentOS 6.2. 3. 3.0.0_0001. Basically I took the ovirt-engine-3.0.0_0001-1.6.fc16.src.rpm and rebuilt it for CentOS 6.2. If this don't work I'm going to try the RPMS at http://www.dreyou.org/ovirt/which is also built for EL6. But it feels kind of strange that it can't create the DB. 2012/3/12 Ofer Schreiber oschr...@redhat.com few questions: 1. Does /sbin/service postgresql works for you? 2. Which OS are you using? 3. Which version of ovirt-engine? Thanks, Ofer. -- Yes I tried to install that date. And that is from the beginning of the file. I have a log from Friday as well. # cat postgresql-Fri.log LOG: database system was shut down at 2012-03-09 15:43:14 CET LOG: database system is ready to accept connections LOG: autovacuum launcher started ERROR: database engine does not exist STATEMENT: DROP DATABASE engine; WARNING: nonstandard use of escape in a string literal at character 46 HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. WARNING: column status has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column owner has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_id has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_name has type unknown DETAIL: Proceeding with relation creation anyway. Also I just ran a engine-cleanup and check what was added to todays log. Then I did a engine-setup. All it did was that it added one line FATAL: database engine does not exist to the log. /Raboo 2012/3/11 Yair Zaslavsky yzasl...@redhat.com On 03/11/2012 09:32 PM, Elias Abacioglu wrote: 2012/3/11 Yair Zaslavsky yzasl...@redhat.com mailto: yzasl...@redhat.com On 03/11/2012 05:48 PM, Elias Abacioglu wrote: Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky: On 03/11/2012 05:24 PM, Elias Abacioglu wrote: Hi, I can postgresql is running and I can access it using psql -U postgres What happens when you type psql engine postgres ? psql: FATAL: database engine does not exist Ok, postgres service is up, but something went wrong in the creation. Can you please provide the postgres log? It should be located at /var/lib/pgsql/data/pg_log/postgresql-Sun.log (if you tried installing it today). Please notice that on my environment this directory is accessible from root (and not my regular user). Here is the log from yesterday. LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 12:44:46 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 14:29:30 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist Also it contains many more 'FATAL: database engine does not exist'. Almost 70.000. Thanks for the log, Is this the date when you installed? Are these the first entries you have in the log? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-setup fails in database creation
Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky: On 03/11/2012 05:24 PM, Elias Abacioglu wrote: Hi, I can postgresql is running and I can access it using psql -U postgres What happens when you type psql engine postgres ? psql: FATAL: database engine does not exist ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[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.shantanu2...@gmail.com Till: Elias Abacioglu elias.r...@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.r...@gmail.com mailto:elias.r...@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
Re: [Users] engine-setup fails in database creation
2012/3/11 Yair Zaslavsky yzasl...@redhat.com On 03/11/2012 05:48 PM, Elias Abacioglu wrote: Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky: On 03/11/2012 05:24 PM, Elias Abacioglu wrote: Hi, I can postgresql is running and I can access it using psql -U postgres What happens when you type psql engine postgres ? psql: FATAL: database engine does not exist Ok, postgres service is up, but something went wrong in the creation. Can you please provide the postgres log? It should be located at /var/lib/pgsql/data/pg_log/postgresql-Sun.log (if you tried installing it today). Please notice that on my environment this directory is accessible from root (and not my regular user). Here is the log from yesterday. LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 12:44:46 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 14:29:30 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist Also it contains many more 'FATAL: database engine does not exist'. Almost 70.000. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-setup fails in database creation
Yes I tried to install that date. And that is from the beginning of the file. I have a log from Friday as well. # cat postgresql-Fri.log LOG: database system was shut down at 2012-03-09 15:43:14 CET LOG: database system is ready to accept connections LOG: autovacuum launcher started ERROR: database engine does not exist STATEMENT: DROP DATABASE engine; WARNING: nonstandard use of escape in a string literal at character 46 HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. WARNING: column status has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column owner has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_id has type unknown DETAIL: Proceeding with relation creation anyway. WARNING: column storage_pool_name has type unknown DETAIL: Proceeding with relation creation anyway. Also I just ran a engine-cleanup and check what was added to todays log. Then I did a engine-setup. All it did was that it added one line FATAL: database engine does not exist to the log. /Raboo 2012/3/11 Yair Zaslavsky yzasl...@redhat.com On 03/11/2012 09:32 PM, Elias Abacioglu wrote: 2012/3/11 Yair Zaslavsky yzasl...@redhat.com mailto: yzasl...@redhat.com On 03/11/2012 05:48 PM, Elias Abacioglu wrote: Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky: On 03/11/2012 05:24 PM, Elias Abacioglu wrote: Hi, I can postgresql is running and I can access it using psql -U postgres What happens when you type psql engine postgres ? psql: FATAL: database engine does not exist Ok, postgres service is up, but something went wrong in the creation. Can you please provide the postgres log? It should be located at /var/lib/pgsql/data/pg_log/postgresql-Sun.log (if you tried installing it today). Please notice that on my environment this directory is accessible from root (and not my regular user). Here is the log from yesterday. LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 12:44:46 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2012-03-10 14:29:30 CET LOG: autovacuum launcher started LOG: database system is ready to accept connections FATAL: database engine does not exist FATAL: database engine does not exist FATAL: database engine does not exist Also it contains many more 'FATAL: database engine does not exist'. Almost 70.000. Thanks for the log, Is this the date when you installed? Are these the first entries you have in the log? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installing ovirt engine on CentOS
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.r...@gmail.com mailto:elias.r...@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
[Users] engine-setup fails in database creation
Hi, I'm unable to complete engine-setup: Installing: Configuring oVirt-engine... [ DONE ] Creating CA... [ DONE ] Editing JBoss Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ ERROR ] Database creation failed Please check log file /var/log/ovirt-engine/engine-setup_2012_03_10_14_12_43.log for more information I have both engine-setup log and engine-db-install logs here: http://fpaste.org/8dcu/ http://fpaste.org/ZUXL/ Any idea whats wrong and how I can fix it? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installing ovirt engine on CentOS
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
Re: [Users] installing ovirt engine on CentOS
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.r...@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
[Users] Make dependant on git
Hi, I wanna create rpms from the source, latest stable tarball. [root@virtual ovirt-engine]# make rpm tar zcf ovirt-engine-3.0.0_0001.tar.gz `git ls-files` fatal: Not a git repository (or any of the parent directories): .git tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. make: *** [ovirt-engine-3.0.0_0001.tar.gz] Error 2 [root@virtual ovirt-engine]# make srpm tar zcf ovirt-engine-3.0.0_0001.tar.gz `git ls-files` fatal: Not a git repository (or any of the parent directories): .git tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. make: *** [ovirt-engine-3.0.0_0001.tar.gz] Error 2 Problem is I did not fetch ovirt git repo. Shouldn't tar populate the files it should tar in some other way perhaps? /Raboo ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installing ovirt engine on CentOS
2012/3/8 Nathan Stratton nat...@robotics.net On Thu, 8 Mar 2012, Elias Abacioglu wrote: Hi, I want to install oVirt on a one-node-CentOS. So I found these two guides that I wanted to follow: http://www.ovirt.org/wiki/**Installing_ovirt-engine_from_**rpmhttp://www.ovirt.org/wiki/Installing_ovirt-engine_from_rpm http://www.ovirt.org/wiki/**Installing_VDSM_from_rpmhttp://www.ovirt.org/wiki/Installing_VDSM_from_rpm But then I got stuck on this step: # yum install -y ovirt-engine The errors I received was some packages had to low version number, and some was missing. snip Error: Package: ovirt-engine-jboss-deps-3.0.0_**0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: hsqldb = 1:1.8.0.10-9 Available: 1:hsqldb-1.8.0.10-8.el6.x86_64 (base) hsqldb = 1:1.8.0.10-8.el6 Error: Package: ovirt-engine-log-collector-3.**0.0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: python(abi) = 2.7 Installed: python-2.6.6-29.el6.x86_64 (@anaconda-CentOS-**201112091719.x86_64/6.2) python(abi) = 2.6 Error: Package: ovirt-engine-jboss-deps-3.0.0_**0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: jakarta-commons-discovery = 1:0.4-7 Available: 1:jakarta-commons-discovery-0.**4-5.4.el6.noarch (base) jakarta-commons-discovery = 1:0.4-5.4.el6 Error: Package: ovirt-engine-tools-common-3.0.**0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: jakarta-commons-configuration Error: Package: ovirt-engine-tools-common-3.0.**0_0001-1.6.fc16.x86_64 (ovirt-engine-stable) Requires: jakarta-commons-jxpath Error: Package: ovirt-engine-3.0.0_0001-1.6.**fc16.x86_64 (ovirt-engine-stable) Requires: libc.so.6(GLIBC_2.14)(64bit) snip Is there a way to install oVirt on CentOS 6.2 or RHEL 6.2? Has it been done with the latest stable release? Currently I have CentOS 6.2 installed with CentOS-Base, CentOS-Updates, CentOS-Extras and EPEL repositories installed. I would rather run CentOS than Fedora on this Virtualization Server since CentOS feels a bit more stable than Fedora. Not today, ovirt requires some newer libs then available with Centos, I think your best bet is to stick with Fedora or if you need someting more hardened look at a commercial Red Hat Solution. I was hoping to have something in the middle cause I have no budget. I'm going to use this server to host my own test virtual guests. Basically to build and test packages on different flavours of Linux.. I'm a bit stubborn, so I guess next step for me is to try to build these newer packages for EL6 and the missing ones a swell unless anyone has a better idea.. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] installing ovirt engine on CentOS
Will jpackage help? http://www.jpackage.org/installation.php Yes, It solves many of the problems but I still need to build a python-2.7 rpm package for EL6. After that I would reckon the next step would be to build ovirt packages for EL6. Fedora 16 uses a newer glibc. Trey, did you have a Python 2.7 RPM or SRPM for EL6? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users