Bug 785670 - [TEXT] engine-iso-uploader - small usage's output change is required
Summary: [TEXT] engine-iso-uploader - small usage's output change is required
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-iso-uploader
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact:
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-30 09:40 UTC by Rami Vaknin
Modified: 2014-01-12 23:53 UTC (History)
7 users (show)

Fixed In Version: ovirt-iso-uploader-3.2.1-1.fc18.noarch.rpm
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-25 20:50:21 UTC
oVirt Team: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12288 0 None None None Never
oVirt gerrit 12295 0 None None None Never

Description Rami Vaknin 2012-01-30 09:40:14 UTC
Version:
ovirt-engine-iso-uploader-3.0.0_0001-1.4.fc16.x86_64

1. The usage printed to the screen says that upload option does not require file as mandatory parameter.

It means that the line:
engine-iso-uploader [options] upload [file].[file]...[file]

should be replaced by:
engine-iso-uploader [options] upload FILE [FILE]...[FILE]


2. This one is an RFE - I think it will be better to notify the user that the upload process has started, because it's not understood that the authentication against REST-API has finished and is not stuck, except for the return code. The log file is also empty in the below case.

The current output:

[root@rami-fed16-6 ~]# engine-iso-uploader -i rvaknin_iso_domain upload Fedora-16-x86_64-Live-Desktop.iso 
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
[root@rami-fed16-6 ~]#

Comment 1 Itamar Heim 2012-12-17 07:26:10 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.

Comment 2 Yaniv Kaul 2012-12-17 08:05:55 UTC
Papercut, and I think it should be done. I wasn't thrilled about the help screen - it's difficult to find right away what needs to be the command line.

I'd also make sure that when entering 'rhevm-iso-uploader' without any parameters it'll display the help screen, and not just suggest to run with '-h'.

Comment 3 Sandro Bonazzola 2013-02-15 09:00:04 UTC
(In reply to comment #0)

> 2. This one is an RFE - I think it will be better to notify the user that
> the upload process has started, because it's not understood that the
> authentication against REST-API has finished and is not stuck, except for
> the return code. The log file is also empty in the below case.
> 
> The current output:
> 
> [root@rami-fed16-6 ~]# engine-iso-uploader -i rvaknin_iso_domain upload
> Fedora-16-x86_64-Live-Desktop.iso 
> Please provide the REST API password for the admin@internal oVirt Engine
> user (CTRL+D to abort): 
> [root@rami-fed16-6 ~]#

Maybe also an upload progress status (just a % or a progress bar or a ETA) could be useful here.

Comment 4 Sandro Bonazzola 2013-02-21 15:48:31 UTC
(In reply to comment #0)
> 1. The usage printed to the screen says that upload option does not require
> file as mandatory parameter.
> 
> It means that the line:
> engine-iso-uploader [options] upload [file].[file]...[file]
> 
> should be replaced by:
> engine-iso-uploader [options] upload FILE [FILE]...[FILE]

this one submitted for review with patch 12288.

Comment 5 Sandro Bonazzola 2013-02-21 17:01:23 UTC
(In reply to comment #0)

> 2. This one is an RFE - I think it will be better to notify the user that
> the upload process has started, because it's not understood that the
> authentication against REST-API has finished and is not stuck, except for
> the return code. The log file is also empty in the below case.

This one submitted for review fith patch 12295

(In reply to comment #3)
> Maybe also an upload progress status (just a % or a progress bar or a ETA)
> could be useful here.

Added a notification of starting upload for every FILE in argument list. On a fast network it seems enough.

Comment 6 Sandro Bonazzola 2013-02-22 07:41:35 UTC
patch 12288 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-iso-uploader.git;a=commit;h=ad005cc74f46cf1350aacf6796137a74c5ca255c

Comment 7 Sandro Bonazzola 2013-03-12 09:14:42 UTC
patch 12295 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-iso-uploader.git;a=commit;h=6d252e108d55d877ce227d0dcbb40c931380b191


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