Bug 1029036

Summary: rhevm-setup fails do to missing 'file' tool
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engine-setupAssignee: Ofer Schreiber <oschreib>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3.0CC: acathrow, bazulay, iheim, oschreib, Rhev-m-bugs, sbonazzo, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: is23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:13:47 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: 1032811    

Description Roman Hodain 2013-11-11 14:19:50 UTC
Description of problem:
The minimal installation of RHEL system is missing file toll. This causes the rhevm-setup fail with the following ERROR:

 ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/create_schema.sh' failed to execute


2013-11-11 15:02:20 DEBUG otopi.plugins.ovirt_engine_setup.db.schema plugin.execute:446 execute-output: ['/usr/share/ovirt-engine/dbscripts/create_schema.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20131111145846.log', '-s
', 'localhost', '-p', '5432', '-d', 'engine', '-u', 'engine', '-g'] stderr:
./dbfunctions.sh: line 223: file: command not found
./dbfunctions.sh: line 223: file: command not found
./dbfunctions.sh: line 223: file: command not found
....

   

Version-Release number of selected component (if applicable):
rhevm-setup-3.3.0-0.30.beta1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
run rhevm-setup without 'fil' installed

Actual results:
 ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/create_schema.sh' failed to execute


Expected results:
RHEV-M is installed successfully

Additional info:
file rpm should be added as dependency to rhevm.

Comment 3 Sandro Bonazzola 2013-11-12 15:45:04 UTC
Patch merged on upstream master and 3.3 branch

Comment 4 sefi litmanovich 2013-11-14 15:58:53 UTC
Verified on RHEVM 3.3 IS23

Comment 5 Itamar Heim 2014-01-21 22:13:47 UTC
Closing - RHEV 3.3 Released

Comment 6 Itamar Heim 2014-01-21 22:21:35 UTC
Closing - RHEV 3.3 Released