Glance image-download cli progress does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
MOS Glance |
Bug Description
Glance image-download command should display progress of operation if --progress option is specified.
root@node-1:~# glance help image-download
usage: glance image-download [--file <FILE>] [--progress] <IMAGE>
Download a specific image.
Positional arguments:
<IMAGE> Name or ID of image to download.
Optional arguments:
--file <FILE> Local file to save downloaded image data to. If this is not
--progress Show download progress bar.
Steps:
1. # glance image-download --file ~/image.iso --progress <IMAGE_ID>
Expected to have image downloaded to specified file.
Actual ouput:
# glance image-download --file ~/image.iso --progress 8da6def2-
object of type 'generator' has no len()
and download did not occurred.
Environement:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "432"
build_id: "2015-05-
nailgun_sha: "076566b5df37f6
python-
astute_sha: "cb655a9a9ad268
fuel-library_sha: "1621cb350af744
fuel-ostf_sha: "9ce18007490817
fuelmain_sha: "0e970647a83d9a
Deployment in VirtualBox. Ubuntu 14.04.1, Neutron VLAN, Cinder and Glance on LVM
1 Controller+Cinder
1 Compute+Cinder
1 Cinder
tags: | added: glance |
Changed in mos: | |
importance: | Undecided → Medium |
assignee: | nobody → MOS Glance (mos-glance) |
summary: |
- Glance cli progress does not work + Glance image-download cli progress does not work |
Changed in mos: | |
milestone: | none → 7.0 |
Changed in mos: | |
status: | New → Confirmed |
Seems that it's already fixed in upstream: https:/ /bugs.launchpad .net/python- glanceclient/ +bug/1384664