Bug 1168405
Summary: | Error 500 from JBOSS engine API | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Anatoly Litovsky <tlitovsk> | ||||||||||||||||||||
Component: | ovirt-engine-api | Assignee: | Juan Hernández <juan.hernandez> | ||||||||||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Gonza <grafuls> | ||||||||||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||||||||||
Priority: | urgent | ||||||||||||||||||||||
Version: | 3.5 | CC: | bazulay, bugs, dougsland, ecohen, fdeutsch, gklein, grafuls, iheim, juan.hernandez, lsurette, pnovotny, rbalakri, rbarry, Rhev-m-bugs, sbonazzo, scohen, stirabos, tlitovsk, yeylon | ||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||
Target Release: | 3.5.0 | ||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||
Whiteboard: | integration | ||||||||||||||||||||||
Fixed In Version: | org.ovirt.engine-root-3.5.0-23 | Doc Type: | Bug Fix | ||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||
Clone Of: | |||||||||||||||||||||||
: | 1181729 (view as bug list) | Environment: | |||||||||||||||||||||
Last Closed: | 2015-02-16 08:18:26 UTC | Type: | Bug | ||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||
Bug Depends On: | |||||||||||||||||||||||
Bug Blocks: | 1164308, 1164311 | ||||||||||||||||||||||
Attachments: |
|
Description
Anatoly Litovsky
2014-11-26 20:21:46 UTC
Created attachment 961791 [details]
hosted engine setup log
Created attachment 961792 [details]
hosted engine setup answers
Created attachment 961803 [details]
first failed engine setup
Created attachment 961804 [details]
first fail engine setup conf
Created attachment 961805 [details]
second succefull engine setup
Created attachment 961806 [details]
second succefull engine setup conf
Hi Anatoly, Could you please provided the engine.log, server.log and others on /var/log/ovirt-engine/ ? Thanks! Created attachment 961889 [details]
ovirt engine log from ceperate centos install)
Created attachment 961890 [details]
ovirt engine server log from seperate centos7 install
The bug can also be reproduced by instaling ovirt-engine over plain centos7 and accesing it from http://<server>/ovirt-engine/api If needed have one installed and can share it over net. This is the relevant error message from server.log: Caused by: java.lang.ClassNotFoundException: org.apache.avalon.framework.configuration.ConfigurationException from [Module "org.apache.xmlgraphics.fop:main" from local module loader @516e9cbe (roots: /var/lib/ovirt-engine/jboss_runtime/modules/00-ovirt-engine-modules,/var/lib/ovirt-engine/jboss_runtime/modules/01-ovirt-engine-jboss-as-modules)] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) ... 31 more It means that the Avalon Framework module isn't defined correctly. It isn't because in RHEL6 and CentOS 6 it contains a single .jar file, but in Fedora it contains two files. We tweaked the .spec to take care of this difference, but didn't take into account that this tweak doesn't work for RHEL7 or CentOS7. To workaround the issue you can do the following: # cd /usr/share/ovirt-engine/modules/org/apache/avalon/framework/main # ln -sf /usr/share/java/avalon-framework-api.jar . # ln -sf /usr/share/java/avalon-framework-impl.jar . # systemctl restart ovirt-engine Just to be sure, is this issue only occuring when installing a hosted engine on RHEVH3.5 over el7 with a hosted engine based on Centos 7? Has anyone tried other scenarios? Regarding comment 10, is this also happening when installing the engine over el7? This happened when installing the engine on EL7 (RHEL7 or Centos7), no matter if it is hosted engine or plain vanilla engine. To verify this bug properly also in RHEVM, we need RHEL7 support for it, which is planned in RHEVM 3.6, according to RFE bug 920126. Juan, is it possible to re-target this bug also to 3.6? Because until then QA cannot verify it. This is a question for Sandro, but my understanding is that this must be targeted for 3.5.0 because we want EL7 support in ovirt-engine 3.5.1. Just to clarify, oVirt is meant to support EL7 in 3.5.1 using ovirt-engine-jboss-as. We're not supposed to verify this bug in RHEV-M 3.5. RFE bug 920126 is not yet approved so it may not make it for 3.6. This has been verified upstream oVirt with verions: ovirt-engine-3.5.1-0.0.master.20150107061804.git447ff70.el7.centos.noarch on rhel 7.1. (In reply to Sandro Bonazzola from comment #16) > Just to clarify, oVirt is meant to support EL7 in 3.5.1 using > ovirt-engine-jboss-as. > > We're not supposed to verify this bug in RHEV-M 3.5. RFE bug 920126 is not > yet approved so it may not make it for 3.6. Thanks for clarification. I am then removing depending bug 920126, because it's not relevant for oVirt. And cloning this bug to RHEVM product, so we have tracker for further testing once bug 920126 is solved. |