python-ironicclient/releasenotes/notes/implicit-version-warning-d34b99727b50d519.yaml
Mario Villaplana a99fbeeb1b Log warning when API version is not specified for the OSC plugin
At the Pike PTG, an issue was brought up regarding the use of an old API
version in the ironic OpenStack CLI plugin. [0]

It was suggested that we begin printing a warning whenever the default
OSC API version is used and later default to using the latest API
version when --os-baremetal-api-version is unspecified.

This patch adds the warning discussed above.

[0] https://etherpad.openstack.org/p/ironic-pike-ptg-operations L30

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Partial-Bug: #1671145
Change-Id: I0cf4e737595405b7f9beff76a72ffd26e07e6277
2017-06-19 16:46:56 +02:00

8 lines
297 B
YAML

---
deprecations:
- |
Currently, the default API version for the OSC plugin is fixed to be 1.9.
In the Queens release, it will be changed to the latest version understood
by both the client and the server. In this release a warning is logged, if
no explicit version is provided.