Backwards Incompatible Changes¶
Despite our best efforts, sometimes the OpenStackClient team may introduce a backwards incompatible change. For user convenience we are tracking any such changes here (as of the 1.0.0 release).
Should positional arguments for a command need to change, the OpenStackClient team attempts to make the transition as painless as possible. Look for deprecation warnings that indicate the new commands (or options) to use.
Commands labeled as a beta according to Command Beta are exempt from this backwards incompatible change handling.
Backwards Incompatible Changes¶
Release 4.0¶
Remove
ip fixed add|removecommands. Useserver add|remove fixed ipcommands instead.
Removed in: 4.0
Remove
ip floating add|removecommands. Useserver add|remove floating ipcommands instead.
Removed in: 4.0
Remove
service createoption--type. Service type is a positional argument.
Removed in: 4.0
Remove
role listoptions--projectand--user. Userole assignment listoptions--projectand--userinstead.
Removed in: 4.0
Remove
user role listcommand. Userole assignment listoptions--projectand--userinstead.
Removed in: 4.0
Remove
image create|setoption--owner. Use--projectoption instead.
Removed in: 4.0
Remove
port create|setoptions--device-idand--host-id. Use--deviceand--hostinstead.
Removed in: 4.0
Remove
router setoption--clear-routes. Useno-routeoption instead.
Removed in: 4.0
Remove
security group rule createoptions--src-ipand--src-group. Use--remote-ipand--remote-groupoptions instead.
Removed in: 4.0
Remove
backupcommands. Usevolume backupcommands instead.
Removed in: 4.0
Remove
snapshotcommands. Usevolume snapshotcommands instead.
Removed in: 4.0
Remove
volume createoptions--project,--user,--multi-attach.
Removed in: 4.0
Change
volume transfer request acceptto use new option--auth-keyrather than a second positional argument.
Removed in: 4.0
Remove ‘Token/Endpoint’ auth plugin support (type
token_endpoint). This remained as a compatibility for theadmin_tokenauth type to support the--urlglobal option. That option is also now removed, use--endpointinstead.
Removed in: 4.0
Commit: https://review.opendev.org/<tbd>
Release 3.12¶
Replace
Display NamebyNamein volume list.
Change column name
Display NametoNameinvolume listoutput. Currentvolume list --namecommand usesdisplay_nameas search_opts to send to cinder API, and show the result table withDisplay Nameas column title. Replace allDisplay NamebyNameto be consistent with other list commands.Support a mapping for volume list -c
Display Name(Volume v1 and v2) and volume create/show -cdisplay_name(Volume v1) to maintain backward compatibility until the next major release.
In favor of:
openstack volume list -c NameAs of: 3.12.0
Removed in: n/a
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1657956
Release 3.10¶
The
network createcommand now requires the--subnetoption when used with Nova-network clouds.
As of: 3.10
The positional argument
<snapshot-name>of thevolume snapshot createcommand is no longer optional.Previously when the
--volumeoption was present<snapshot-name>defaulted to the--volumevalue. When the--volumeoption is not present now it defaults to the value of<snapshot-name>.
As of: 3.10
Bug: 1659894
Release 3.0¶
Remove the
osc_passwordauthentication plugin.
This was the ‘last-resort’ plugin default that worked around an old default Keystone configuration for the
admin_endpointandpublic_endpoint.
In favor of:
passwordAs of: 3.0
Removed in: n/a
Bug: n/a
Releases Before 3.0¶
Rename command openstack project usage list
The project part of the command was pointless.
In favor of: openstack usage list instead.
As of: 1.0.2
Removed in: TBD
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1406654
<type> should not be optional for command openstack service create
Previously, the command was openstack service create <name> –type <type>, whereas now it is: openstack service create <type> –name <name>. This bug also affected python-keystoneclient, and keystone.
In favor of: making <type> a positional argument.
As of: 1.0.2
Removed in: TBD
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1404073
Command openstack security group rule delete now requires rule id
Previously, the command was openstack security group rule delete –proto <proto> [–src-ip <ip-address> –dst-port <port-range>] <group>, whereas now it is: openstack security group rule delete <rule>.
In favor of: Using openstack security group rule delete <rule>.
As of: 1.2.1
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1450872
Command openstack image create does not update already existing image
Previously, the image create command updated already existing image if it had same name. It disabled possibility to create multiple images with same name and lead to potentially unwanted update of existing images by image create command. Now, update code was moved from create action to set action.
In favor of: Create multiple images with same name (as glance does).
As of: 1.5.0
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1461817
Command openstack network list –dhcp has been removed
The –dhcp option to network list is not a logical use case of listing networks, it lists agents. Another command should be added in the future to provide this functionality. It is highly unlikely anyone uses this feature as we don’t support any other agent commands. Use neutron dhcp-agent-list-hosting-net command instead.
In favor of: Create network agent list command in the future
As of: 1.6.0
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/472613
Plugin interface change for default API versions
Previously, the default version was set in the parsed arguments, but this makes it impossible to tell what has been passed in at the command line, set in an environment variable or is just the default. Now, the module should have a DEFAULT_API_VERSION that contains the value and it will be set after command line argument, environment and OCC file processing.
In favor of: DEFAULT_API_VERSION
As of: 1.2.1
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1453229
image set commands will no longer return the modified resource
Previously, modifying an image would result in the new image being displayed to the user. To keep things consistent with other set commands, we will no longer be showing the modified resource.
In favor of: Use set then show
As of: NA
Removed in: NA
Bug: NA
Commit: NA
region commands no longer support url
The Keystone team removed support for the url attribute from the client and server side. Changes to the create, set and list commands for regions have been affected.
In favor of: NA
As of 1.9.0
Removed in: NA
flavor set/unset commands will no longer return the modified resource
Previously, modifying a flavor would result in the new flavor being displayed to the user. To keep things consistent with other set/unset commands, we will no longer be showing the modified resource.
In favor of: Use set/unset then show
As of: NA
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1546065
security group set commands will no longer return the modified resource
Previously, modifying a security group would result in the new security group being displayed to the user. To keep things consistent with other set commands, we will no longer be showing the modified resource.
In favor of: Use set then show
As of: NA
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1546065
compute agent set commands will no longer return the modified resource
Previously, modifying an agent would result in the new agent being displayed to the user. To keep things consistent with other set commands, we will no longer be showing the modified resource.
In favor of: Use set then show
As of: NA
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1546065
<version> <url> <md5hash> should be optional for command openstack compute agent set
Previously, the command was openstack compute agent set <id> <version> <url> <md5hash>, whereas now it is: openstack compute agent set <id> –version <version> –url <url> –md5hash <md5hash>.
In favor of: making <version> <url> <md5hash> optional.
As of: NA
Removed in: NA
Bug: NA
aggregate set commands will no longer return the modified resource
Previously, modifying an aggregate would result in the new aggregate being displayed to the user. To keep things consistent with other set commands, we will no longer be showing the modified resource.
In favor of: Use set then show
As of: NA
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1546065
Output of ip floating list command has changed.
When using Compute v2, the original output is:
# ip floating list +----+--------+------------+----------+-------------+ | ID | Pool | IP | Fixed IP | Instance ID | +----+--------+-----------------------+-------------+ | 1 | public | 172.24.4.1 | None | None | +----+--------+------------+----------+-------------+Now it changes to:
# ip floating list +----+---------------------+------------------+-----------+--------+ | ID | Floating IP Address | Fixed IP Address | Server ID | Pool | +----+---------------------+------------------+-----------+--------+ | 1 | 172.24.4.1 | None | None | public | +----+---------------------+------------------+-----------+--------+When using Network v2, which is different from Compute v2. The output is:
# ip floating list +--------------------------------------+---------------------+------------------+------+ | ID | Floating IP Address | Fixed IP Address | Port | +--------------------------------------+---------------------+------------------+------+ | 1976df86-e66a-4f96-81bd-c6ffee6407f1 | 172.24.4.3 | None | None | +--------------------------------------+---------------------+------------------+------+
In favor of: Use ip floating list command
As of: NA
Removed in: NA
Bug: https://bugs.launchpad.net/python-openstackclient/+bug/1519502
For Developers¶
If introducing a backwards incompatible change, then add the tag:
BackwardsIncompatibleImpact to your git commit message, and if possible,
update this file.
To review all changes that are affected, use the following query: