Comment 3 for bug 1309272

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/163584
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=8d118ccedc7e0544ec21e1fbb7f1b8b3a4f03715
Submitter: Jenkins
Branch: master

commit 8d118ccedc7e0544ec21e1fbb7f1b8b3a4f03715
Author: Gorka Eguileor <email address hidden>
Date: Fri Mar 13 17:47:09 2015 +0100

    Require disk and container format on image-create

    Currently glanceclient doesn't enforce disk-format or container-format
    presence in the command line on image-create when providing image data
    (with --file, --location, --copy-from), which means that the POST
    request is made with the whole image and error is reported by Glance
    API.

    This post enforces presence of those arguments when image data is
    provided so we can get the error quicker and avoid sending unnecessary
    data over the network.

    Change-Id: I5914fa9cfef190a028b374005adbf3a804b1b677
    Closes-Bug: #1309272