Bug 919816

Summary: RFE: no size/percentage of image already being saved in Glance
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: python-glanceclientAssignee: Flavio Percoco <fpercoco>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: low Docs Contact:
Priority: low    
Version: 2.0 (Folsom)CC: abaron, eglynn, fpercoco, hateya, jruzicka, mlopes, sgordon, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-glanceclient-0.10.0-1.el6ost Doc Type: Enhancement
Doc Text:
The Image Service CLI now displays a progress bar for image upload and download activity. Prior to this enhancement, progress feedback of Image Service CLI activity was not available.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 23:59:32 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 975499    
Attachments:
Description Flags
example for glance images none

Description Ofer Blaut 2013-03-10 08:56:32 UTC
Created attachment 707809 [details]
example for glance images

Description of problem:

When user  creating image via glane using copy-from option.

He can't know size/percentage of image already being saved  ( and the ETA for that )

nothing in the logs 





Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.create new glance image
glance image-create --name Fedora17-image --disk-format=qcow2 --container-format=bare --is-public=True --copy-from  http://berrange.fedorapeople.org/images/2012-11-15/f17-x86_64-openstack-sda.qcow2

2. check glance image-list
3. check there is not update in the size or ETA , only the size of image from meta data 
  
Actual results:


Expected results:


Additional info:

Comment 2 Eoghan Glynn 2013-03-18 18:48:45 UTC
FYI this was implemented in the old deprecated native glance CLI:

  https://blueprints.launchpad.net/glance/+spec/progressbar-upload-image

and was not a universally loved feature.

Comment 4 Flavio Percoco 2013-05-14 09:26:52 UTC
There are some discussions upstream wrt copy_from, policies and async workers. It makes sense to introduce this feature as part of those discussions. 

As Eoghan pointed out, it was implemented in the old Glance CLI and got lost somewhere.

I'll post new info as soon as we agree on something upstream.

Comment 11 Yogev Rabl 2013-12-03 07:28:26 UTC
Bug verified. 

As said, the progress does work for image-create, image-update, image-download, but doesn't work for --location and --copy-from.

Comment 14 errata-xmlrpc 2013-12-19 23:59:32 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/RHEA-2013-1859.html