Bug 1077235

Summary: [RFE] add progress bar to image uploader
Product: Red Hat Enterprise Virtualization Manager Reporter: Ohad Basan <obasan>
Component: ovirt-image-uploaderAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Gonza <grafuls>
Severity: low Docs Contact:
Priority: medium    
Version: 3.5.0CC: bmcclain, eedri, gklein, iheim, jbuchta, mreid, perobins, rbalakri, Rhev-m-bugs, stirabos, yeylon
Target Milestone: ovirt-3.6.0-rcKeywords: FutureFeature
Target Release: 3.6.0Flags: sherold: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release adds a progress bar to the image uploader tool.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-09 20:01:07 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:
Bug Depends On:    
Bug Blocks: 1234840, 1234844    
Attachments:
Description Flags
All done! I guess? none

Description Ohad Basan 2014-03-17 14:38:34 UTC
Description of problem:
a run of image-uploader can take a considerable amount of time.
the user can't tell what's the progress or status of the process besides looking at the operating system resources consumption.
I think a progress bar could be nice here.

Comment 2 Sandro Bonazzola 2014-08-01 12:18:13 UTC
*** Bug 1023313 has been marked as a duplicate of this bug. ***

Comment 3 Matt Reid 2014-09-30 18:00:51 UTC
There really should be some sort of indication that something good is happening. The docs ended up recommending -v in their commands so that users can see any sort of activity. Having looked at -v output during an upload, it's simply comforting to see text displayed during the process, the output itself doesn't mean anything to me.

wget, sftp, scp, etc have progress indicators, it would be much nicer if we could do so with our uploader as well.

Comment 4 Matt Reid 2014-09-30 18:01:40 UTC
Created attachment 942825 [details]
All done! I guess?

Comment 5 Sandro Bonazzola 2014-10-01 06:17:49 UTC
(In reply to Matt Reid from comment #4)
> Created attachment 942825 [details]
> All done! I guess?

Yes... progress reporting need some work.

Comment 6 Sandro Bonazzola 2014-10-28 12:27:04 UTC
A good solution is to move to rsync for both ssh and nfs file transfer: we gain progress bar, unique command for both protocols, and sparse file handling.

Comment 8 Gonza 2015-04-16 15:36:07 UTC
Verified with: 
ovirt-image-uploader-3.6.0-0.0.master.20150128151752.git3f60704.el6.noarch

# engine-image-uploader -e export_domain upload rhevm-appliance-20150129.0-1.x86_64.rhevm.ova 
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
Uploading: [########################################] 100%

Comment 10 errata-xmlrpc 2016-03-09 20:01:07 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.

https://rhn.redhat.com/errata/RHEA-2016-0390.html