| 1 | --- |
| 2 | prelude: > |
| 3 | This was a quiet development cycle for the python-glanceclient. |
| 4 | There were several improvements made in the testing code, and the |
| 5 | documentation was reorganized in accord with the `new standard |
| 6 | layout |
| 7 | <http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html>`_ |
| 8 | for OpenStack projects. |
| 9 | |
| 10 | The main feature in this release is the addition of support for the |
| 11 | new image import functionality introduced into Glance during this |
| 12 | cycle. |
| 13 | features: |
| 14 | - | |
| 15 | Client support has been added for the new image import functionality |
| 16 | introduced into Glance in this cycle. This is a feature of the Images |
| 17 | API version 2 only, and it is disabled by default in Glance. The following |
| 18 | commands have been added to the command line interface: |
| 19 | |
| 20 | * ``import-info`` - gets information about the import configuration of |
| 21 | the target Glance |
| 22 | * ``image-stage`` - uploads image data to the staging area |
| 23 | * ``image-import`` - initiates the import process for a previously |
| 24 | created image record whose image data is currently in the staging area |
| 25 | * ``image-create-via-import`` - this is an EXPERIMENTAL command that compresses |
| 26 | the three-step import process of the Images API version 2 into a single call |
| 27 | from the command line, just as the current client ``image-create`` command |
| 28 | compresses a two-step process into one step. *It is EXPERIMENTAL because the |
| 29 | name of the command may change or it may be removed entirely in future |
| 30 | releases.* The intent is that as Glance image import is adopted by deployers, |
| 31 | this command may be renamed to ``image-create`` as it behaves exactly the same |
| 32 | from the user's point of view. It is included in this release so that the |
| 33 | Glance team can get feedback from deployers and end users. |
| 34 | |
| 35 | fixes: |
| 36 | - | |
| 37 | The following are some highlights of the bug fixes included in this |
| 38 | release. |
| 39 | |
| 40 | * Bug 1659010_: Help text inaccurate for container_format, disk_format |
| 41 | * Bug 1570766_: Fix 'UnicodeEncodeError' for unicode values in url |
| 42 | * Bug 1583919_: --no-ssl-compression is deprecated |
| 43 | |
| 44 | .. _1659010: https://code.launchpad.net/bugs/1659010 |
| 45 | .. _1570766: https://code.launchpad.net/bugs/1570766 |
| 46 | .. _1583919: https://code.launchpad.net/bugs/1583919 |
| 47 | |
| 48 | other: |
| 49 | - | |
| 50 | The deprecated ``--no-ssl-compression`` option to the python-glanceclient |
| 51 | command line interface has been removed_. The option has been inoperative_ |
| 52 | since the Liberty release. |
| 53 | |
| 54 | - | |
| 55 | An optimization_ was added in the case where an image download is requested |
| 56 | from the command line interface without specifying either a filename |
| 57 | destination for the data or output redirection. The optimization properly |
| 58 | delays opening a connection to the server until *after* the CLI has |
| 59 | verified that the user has specified a location for the downloaded data. |
| 60 | In the pre-optimized code, if a user did not have permission to download |
| 61 | the requested image or if the image had no data associated with it, the CLI |
| 62 | would fail with an appropriate message when the client attempted to create |
| 63 | the connection but before it had determined that there was no place to put |
| 64 | the data. With this optimization, a user will not be able to "probe" the |
| 65 | server to see whether image data is available without specifying either the |
| 66 | ``--file`` option or command line redirection. |
| 67 | |
| 68 | - | |
| 69 | The argument to the ``--profile`` option of the command line interface |
| 70 | may now be specified_ by setting the value of the ``OS_PROFILE`` environment |
| 71 | variable. |
| 72 | |
| 73 | .. _removed: https://opendev.org/openstack/python-glanceclient/commit/28c003dc1179ddb3124fd30c6f525dd341ae9213 |
| 74 | .. _inoperative: https://specs.openstack.org/openstack/glance-specs/specs/liberty/approved/remove-special-client-ssl-handling.html |
| 75 | .. _optimization: https://opendev.org/openstack/python-glanceclient/commit/1df55dd952fe52c1c1fc2583326d017275b01ddc |
| 76 | .. _specified: https://opendev.org/openstack/python-glanceclient/commit/c0f88d5fc0fd947319e022cfeba21bcb15635316 |