Bug 1023507

Summary: [engine-iso-uploader] INFO: Use the -h option to see usage - when put incorrect iso domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-iso-uploaderAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: medium    
Version: 3.3.0CC: aberezin, aburden, acathrow, dfediuck, gklein, iheim, lveyde, pstehlik, Rhev-m-bugs, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: rhevm-iso-uploader-3.4.0-3.el6ev Doc Type: Bug Fix
Doc Text:
* Previously, if a specific exception was raised for the engine-iso-uploader, a message to check the help for usage would follow the error message. This message has now been removed as it is redundant to specific exceptions when the error message itself contains the solution.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 14:15:58 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:

Description Jiri Belka 2013-10-25 15:01:24 UTC
Description of problem:
# engine-iso-uploader -i bjabljalfjalfjla upload ./usr/share/rhev-guest-tools-iso/RHEV-toolsSetup_3.2_16.iso 
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
ERROR: An ISO storage domain with a name of bjabljalfjalfjla was not found.
INFO: Use the -h option to see usage.

the problem here is incorrect storage domain name, not syntax. so why to tell the user to see help? he won't find the name of valid domain there :)


Version-Release number of selected component (if applicable):
rhevm-iso-uploader-3.3.0-1.el6ev.noarch (is20)

How reproducible:
100%

Steps to Reproduce:
1. put invalid storage domain
2.
3.

Actual results:
useless info line

Expected results:
a user should see only error message

Additional info:

Comment 3 Jiri Belka 2014-05-13 11:39:16 UTC
ok, rhevm-iso-uploader-3.4.0-3.el6ev.noarch

[root@jb-rhevm34 ~]# engine-iso-uploader -i bjabljalfjalfjla upload ./usr/share/rhev-guest-tools-iso/RHEV-toolsSetup_3.4_4.el6ev.iso 
ERROR: An ISO storage domain with a name of bjabljalfjalfjla was not found.
[root@jb-rhevm34 ~]# rpm -qa rhevm-iso-uploader\*
rhevm-iso-uploader-3.4.0-3.el6ev.noarch

Comment 5 errata-xmlrpc 2014-06-09 14:15:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0666.html