8d118ccedc7e0544ec21e1fbb7f1b8b3a4f03715
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
Python bindings to the OpenStack Images API ============================================= This is a client library for Glance built on the OpenStack Images API. It provides a Python API (the ``glanceclient`` module) and a command-line tool (``glance``). This library fully supports the v1 Images API, while support for the v2 API is in progress. Development takes place via the usual OpenStack processes as outlined in the `developer guide <http://docs.openstack.org/infra/manual/developers.html>`_. The master repository is in `Git <https://git.openstack.org/cgit/openstack/python-glanceclient>`_. See release notes and more at `<http://docs.openstack.org/developer/python-glanceclient/>`_. * License: Apache License, Version 2.0 * Documentation: http://docs.openstack.org/developer/python-glanceclient * Source: http://git.openstack.org/cgit/openstack/python-glanceclient * Bugs: http://bugs.launchpad.net/python-glanceclient
Description
Languages
Python
99.4%
Shell
0.6%