Bug 1340419 - engine-backup confusing output
Summary: engine-backup confusing output
Keywords:
Status: CLOSED DUPLICATE of bug 1300947
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backup-Restore.Engine
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-27 11:10 UTC by Michal Skrivanek
Modified: 2016-05-29 13:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-29 13:01:02 UTC
oVirt Team: Integration
Embargoed:
rule-engine: planning_ack?
michal.skrivanek: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1300947 0 low CLOSED engine-backup user experience need to be improved 2021-02-22 00:41:40 UTC

Internal Links: 1300947

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 ***


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