Bug 1041837

Summary: [RFE][python-glanceclient]: Show pretty progressbar when uploading
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/python-glanceclient/+spec/progressbar-when-uploading
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 16:51:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 19:33:50 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/python-glanceclient/+spec/progressbar-when-uploading.

Description:

It'd be neat if glance client could show a progress bar while uploading. Anvil has something like this and its pretty nifty to have. Obviously it shouldn't be enabled when there is no tty.

Anvil has some code that might be useful...

https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/utils.py#L314 (can be used to show the bar) and https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/shell.py#L220 (can be used to show the transfers that are occurring in junks from one file handle to another - ie a url handle)...



Specification URL (additional information):

None