Go to file
Louis Taylor af29e0a1b0 Show error on trying to upload to non-queued image
Previously, attempting to upload data to an image which has a status
which is not 'queued' would appear to succeed, when the data has
actually never been sent to the glance server. To the user, it appeared
that their request was successful. This patch adds a check for incoming
image data on the 'image-update' command, and exits with an error if the
specified image does not have the status 'queued'.

Examples:

    $ cat os.img | glance image-update d50b0236-b27c-412a-91b9-18ceafa9cc5a
    Unable to upload image data to an image which is active.

    $ glance image-update --file os.img d50b0236-b27c-412a-91b9-18ceafa9cc5a
    Unable to upload image data to an image which is killed.

Change-Id: I91bbd7f86d5851a5e35946c711dba1932283ed79
Closes-Bug: #1395084
2015-02-19 10:40:12 +00:00
2013-02-06 16:47:06 +02:00
2014-07-24 17:44:37 -04:00
2012-04-03 20:50:44 -06:00
2013-01-16 18:39:18 -05:00
2014-07-01 15:01:36 +08:00
2013-11-11 10:52:07 -08:00
2012-03-26 22:48:48 -07:00
2013-02-07 05:10:08 -06:00
2013-06-22 16:00:26 +02:00
2014-06-30 08:53:29 +02:00
2014-04-30 02:46:18 +00:00

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 OpenStack wiki. The master repository is on GitHub.

See release notes and more at http://docs.openstack.org/developer/python-glanceclient/.

Description
OpenStack Image Management (Glance) Client
Readme 18 MiB
Languages
Python 99.7%
Shell 0.3%