Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1114921

Summary: ovirt-engine depends on batik but xmlgraphics-batik is installed instead
Product: [Retired] oVirt Reporter: Martin Perina <mperina>
Component: ovirt-engine-installerAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.5CC: acathrow, bugs, didi, gklein, iheim, lveyde, stirabos, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-22 08:07:29 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:
Attachments:
Description Flags
ovirt-engine logs none

Description Martin Perina 2014-07-01 09:31:37 UTC
Description of problem:

After installation engine service refuses to start, there's an exception in server.log:

Failed to add resource root 'batik-awt-util.jar' at path 'batik-awt-util.jar'


Looking at installed packages, batik package is not installed, when trying to install it, this error appears:

Package batik-1.7-8.5.el6.x86_64 is obsoleted by xmlgraphics-batik-1.7-14.jpp6.noarch which is already installed


Version-Release number of selected component (if applicable):

ovirt-engine-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch

How reproducible:

100%

Steps to Reproduce:
1. Install ovirt-engine on Centos 6.5
2. Check server log after successful installation 
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Perina 2014-07-01 09:36:43 UTC
Problem can be fixed until proper solutions by creating a link:

  cd /usr/share java
  ln -s xmlgraphics-batik batik

Comment 2 Martin Perina 2014-07-01 09:40:54 UTC
Created attachment 913715 [details]
ovirt-engine logs

Comment 3 Sandro Bonazzola 2014-07-22 08:07:29 UTC
 # yum localinstall http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm
 # yum install ovirt-engine

Dependencies Resolved

 =================================================================================================================================================================================
  Package                                                Arch            Version                                                    Repository                               Size
 =================================================================================================================================================================================
 Installing:
  ovirt-engine                                           noarch          3.5.0-0.0.master.20140629172257.git0b16ed7.el6             ovirt-3.5-pre                           2.3 M
 Installing for dependencies:
  avalon-framework                                       x86_64          4.1.4-7.el6                                                base                                    127 k
  batik                                                  x86_64          1.7-8.5.el6                                                base                                    6.8 M
 ...

Note that xmlgraphics-batik-1.7-14.jpp6.noarch is provided by jpackage repo.
We provide ovirt-3.5-jpackage-6.0-generic filtering rpms, so xmlgraphics-batik is not included.

We can't provide solutions for any custom repository setup, so I'm going to close this as not a bug since using the repository we provide on a clean system works as expected.