Hide Forgot
Description of problem: When verifying the RFE: https://bugzilla.redhat.com/show_bug.cgi?id=919816 the image-create action failed when trying to create an image with an image should download from a web resource. for an example: glance image-create --name Fedora17-image --disk-format=qcow2 --container-format=bare --is-public=True --location http://download.lab.bos.redhat.com/composes/latest-RHEL6/6.5/Server/x86_64/iso/RHEL6.5-20131009.0-Server-x86_64-DVD1.iso --progress 'data' The output is informative and there's no trace of the action in the log. Version-Release number of selected component (if applicable): python-glanceclient-0.10.0-1.el6ost.noarch python-glance-2013.2-3.el6ost.noarch openstack-glance-2013.2-3.el6ost.noarch How reproducible: evevry time Steps to Reproduce: 1. Run the command: glance image-create --name Fedora17-image --disk-format=qcow2 --container-format=bare --is-public=True --location http://download.lab.bos.redhat.com/composes/latest-RHEL6/6.5/Server/x86_64/iso/RHEL6.5-20131009.0-Server-x86_64-DVD1.iso --progress Actual results: A new line with the output 'data'. Expected results: if the action fails then an error output to the console and log. But the action should succeed. Additional info:
Closing since there's not enough info to debug this. Please, provide more info along with the bug report (CLI / Server debug output). Feel free to file it if it's still valid and you've more info about the actual error. Thanks!
Reopned as it's 100% reproducible. Semi dist setup openstack-glance-2013.2.1-3.el6ost.noarch Using --location or --copy file with --progress -> no image created, only get 'data' on cli prompt.
Thanks Tzach for re-opening and the access to the test environment. That was helpful. This is a glanceclient bug. The `--progress` flag tries to get the data from the parsed CLI fields but there's not such a field there. http://git.openstack.org/cgit/openstack/python-glanceclient/tree/glanceclient/v1/shell.py#n229
Patch was merged upstream, backport is needed.
Patch was merged internally, but a build was needed before the deadline. We could ask Lon for an exception but I don't think this bug is important enough for that. Pushing to A5.
verified on version: python-glanceclient-0.12.0-2.el6ost.noarch python-glance-2013.2.3-2.el6ost.noarch openstack-glance-2013.2.3-2.el6ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0577.html