Bug 919816 - RFE: no size/percentage of image already being saved in Glance
Summary: RFE: no size/percentage of image already being saved in Glance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-glanceclient
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M3
: 4.0
Assignee: Flavio Percoco
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks: RHOS40RFE
TreeView+ depends on / blocked
 
Reported: 2013-03-10 08:56 UTC by Ofer Blaut
Modified: 2016-04-26 16:28 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-12-19 23:59:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
example for glance images (1.06 KB, text/plain)
2013-03-10 08:56 UTC, Ofer Blaut
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 26955 0 None None None Never
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

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


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