Bug 1296520 - [engine-backup] Misleading error msg when log parameter is not passed
Summary: [engine-backup] Misleading error msg when log parameter is not passed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backup-Restore.Engine
Version: 3.6.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Yedidyah Bar David
QA Contact: Gonza
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-07 12:26 UTC by Gonza
Modified: 2016-07-05 07:53 UTC (History)
5 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:53:05 UTC
oVirt Team: Integration
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51510 0 master MERGED packaging: engine-backup: Fix notification on failure 2016-01-07 15:31:41 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.