Bug 1340419

Summary: engine-backup confusing output
Product: [oVirt] ovirt-engine Reporter: Michal Skrivanek <michal.skrivanek>
Component: Backup-Restore.EngineAssignee: Yedidyah Bar David <didi>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, didi, gklein, lveyde, stirabos
Target Milestone: ---Flags: rule-engine: planning_ack?
michal.skrivanek: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-29 13:01:02 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 Michal Skrivanek 2016-05-27 11:10:57 UTC
when engine-backup is called without all the parameters it prints out errors. Also they are defined as optional but they seem to be mandatory

[root@rhel6-engine ~]# engine-backup
FATAL: --mode=<backup|restore> is missing

[root@rhel6-engine ~]# engine-backup --mode=backup
FATAL: --file is missing
readlink: missing operand
Try `readlink --help' for more information.
/usr/bin/engine-backup: line 1616: : No such file or directory
Notifying engine
/usr/bin/engine-backup: line 1683: : No such file or directory
/usr/bin/engine-backup: line 1616: : No such file or directory
FATAL: Failed notifying engine

[root@rhel6-engine ~]# engine-backup --mode=backup --file=f
FATAL: --log is missing
readlink: missing operand
Try `readlink --help' for more information.
/usr/bin/engine-backup: line 1616: : No such file or directory
Notifying engine
/usr/bin/engine-backup: line 1683: : No such file or directory
/usr/bin/engine-backup: line 1616: : No such file or directory
FATAL: Failed notifying engine

then once --log is added it finally works

Comment 1 Red Hat Bugzilla Rules Engine 2016-05-29 05:50:00 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Yedidyah Bar David 2016-05-29 13:01:02 UTC

*** This bug has been marked as a duplicate of bug 1300947 ***