Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1101124

Summary: image-create fails --location / --copy-from when adding --progress flag
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: python-glanceclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: eglynn, fpercoco, jruzicka, yeylon
Target Milestone: ---   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard: Storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-26 09:39:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
api.log none

Description Tzach Shefi 2014-05-26 08:12:55 UTC
Created attachment 899214 [details]
api.log

Description of problem: Image-create from CLI fails, returns 'data'  if source if location or copy-from while adding --progress flag.  

[root@puma31 ~(keystone_admin)]# glance image-create --name cirros2 --disk-format qcow2 --container-format bare --location http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img  --progress
'data'

Nothing related to this shows up on api.log

Version-Release number of selected component (if applicable):
RHEL7
python-glanceclient-0.12.0-1.el7ost.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Image-create with --copy-from or --location while adding --progress
2.
3.

Actual results:
Image not created, returns 'data' 
No info shows up on api.logs

Expected results:
Image should be created in any case, including progress indication bar (if possible) 

Additional info:
Regression, bug verified on RHOS4 BZ1037449

On LP1259357, noticed fix commit (27-02-2014), yet RHOS current code still doesn't include commit, shouldn't have this been committed into RHOS by now?

Comment 1 Flavio Percoco 2014-05-26 09:39:17 UTC
This has been fixed upstream. It'll be part of the rpm package as soon as a new version is released upstream.

Although I don't have an exact date for this, I expect it to happen soon.