Bug 1296520

Summary: [engine-backup] Misleading error msg when log parameter is not passed
Product: [oVirt] ovirt-engine Reporter: Gonza <grafuls>
Component: Backup-Restore.EngineAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.2CC: amureini, bugs, gklein, sbonazzo, ylavi
Target Milestone: ovirt-4.0.0-alphaFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:53:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gonza 2016-01-07 12:26:21 UTC
Description of problem:
When no log parameter is passed to the engine-backup, irrelevant error messages are displayed.

Version-Release number of selected component (if applicable):
rhevm-3.6.2-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. engine-backup --file=f1 --mode=backup

Actual results:
# engine-backup --file=f1 --mode=backup
FATAL: --log is missing
readlink: missing operand
Try `readlink --help' for more information.
/usr/bin/engine-backup: line 1405: : No such file or directory
Notifying engine
/usr/bin/engine-backup: line 1472: : No such file or directory
/usr/bin/engine-backup: line 1405: : No such file or directory
FATAL: Failed notifying engine


Expected results:
# engine-backup --file=f1 --mode=backup
FATAL: --log is missing

Comment 1 Red Hat Bugzilla Rules Engine 2016-01-07 15:58:55 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 2 Red Hat Bugzilla Rules Engine 2016-01-07 15:59:19 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 3 Gonza 2016-06-24 07:00:56 UTC
Verified with:
rhevm-4.0.0.6-0.1.el7ev.noarch

# engine-backup --file=f1 --mode=backup
FATAL: --log is missing

Comment 4 Sandro Bonazzola 2016-07-05 07:53:05 UTC
oVirt 4.0.0 has been released, closing current release.