Hi Alex,

I think the progress attribute should be there on the query api. i.e.
nova.images.get(uuid).
After the create command, you get the new image's id, then just query on it
on intervals that you see appropriate.



*YY Inc. is hiring openstack and python developers. Interested? Check
http://www.nsbeta.info/jobs <http://www.nsbeta.info/jobs>*

--
Thanks,
Yuanle


On Fri, Mar 7, 2014 at 7:23 AM, Alex L <buzz...@gmail.com> wrote:

> 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
>
>
_______________________________________________
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

Reply via email to