Does the glanceclient expose any kind of 'status listener', something that is called every X bytes uploaded? My guess is the underlying client uses something like this to do its own progress bar, probably can just hook into that (if its exposed). If not, then could be a useful patch (and makes me wonder if it's not exposed how the --progress works).
From: Alex L <buzz...@gmail.com<mailto:buzz...@gmail.com>> Date: Thursday, March 6, 2014 at 3:23 PM To: "openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>" <openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>> Subject: [Openstack] Progress bar for image create in python-glanceclient Hello, I know that on the command line you can use $ glance image-create ... --progress to show your current progress when creating an image. I want to be able to do something similar but inside my python program using the python-glanceclient tool. There seems to be no 'progress' attribute in the ImageManager object when creating images, so I'm not sure how you could get a progress bar with the python-glanceclient. Thanks for any help! Alex
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack