Bug 1073548

Summary: Engine requires /etc/mime.types
Product: [Retired] oVirt Reporter: Alexander Wels <awels>
Component: ovirt-engine-coreAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: low    
Version: 3.4CC: acathrow, alonbl, gklein, iheim, knesenko, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-engine-3.4.0_rc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:26:16 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: 1024889    

Description Alexander Wels 2014-03-06 16:47:47 UTC
Description of problem:
If the system running the engine doesn't have /etc/mime.types there is a file not found exception in the engine log and the oVirt branding is not applied to any of the pages.

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


How reproducible:
100%

Steps to Reproduce:
1. Rename /etc/mime.types, or somehow make it unavailable.
2. Start the engine.
3. Go to the welcome page.

Actual results:
Exception in log and unstyled page.

Expected results:
Warning in log and style page.

Additional info:

Comment 1 Alon Bar-Lev 2014-03-06 17:06:44 UTC
This is nice one!

Comment 2 Alon Bar-Lev 2014-03-06 17:10:41 UTC
Explicitly access at ServletUtils.java

Comment 3 Sandro Bonazzola 2014-03-07 07:39:04 UTC
Moving back to POST, please cherry pick the fix on 3.4 branch too.

Comment 4 Pavel Stehlik 2014-03-18 11:11:47 UTC
ok - av3 (rhevm d/s)

Comment 5 Sandro Bonazzola 2014-03-31 12:26:16 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released