Wallaby Series Release Notes¶
5.5.1-16¶
New Features¶
Add support for compute API microversion 2.47, which changes how flavor details are included in server detail responses. In 2.46 and below, only the flavor ID was shown in the server detail response. Starting in 2.47, flavor information is embedded in the server response. The newer behavior is now supported.
Bug Fixes¶
Filtering servers by tags (
server list --tag,server list --not-tag) now works correctly. [Bug 1946816]
Fixed create image from volume command. If user wants to pass
visibilityandprotectedfields, they need to specify volume microversion 3.1 or greater by passingos-volume-api-version 3.1with the command.
Fixed a bug in “access rule” subcommands where the client logic incorrectly assumed that access rules have a “name” property which resulted in unpredictable behaviors. e.g. “access rule delete {non-existent-id}” now results in a not-found error instead of sometimes deleting an unrelated rule.
5.5.0¶
New Features¶
Add
--progressoption toimage createcommand to enable a progress bar when creating and uploading an image.
Add
--projectand--project-domain``options to ``image listcommand to filter by owner.
It is now possible to list the keypairs for all users in a project using the
--projectparameter. This is an admin-only action by default and requires Compute API microversion 2.10 or later.
It is now possible to list the keypairs for a specific user using the
--userparameter. This is an admin-only action by default and requires Compute API microversion 2.10 or later.
Add
--limitand--markeroptions tohypervisor listcommand, to configure pagination of results.
Add
--limitand--markeroptions tokeypair listcommand, to configure pagination of results.
Add a number of additional options to the
server createcommand:--snapshot--ephemeral--swap--block-device
Add
--forceoption toserver deletecommand, allowing users to force delete a server. This is admin-only by default.
Add
--limitand--offsetoptions toserver group listcommand, to configure pagination of results.
Add
--limit,--marker,--change-sinceand--changes-beforeoptions toserver group listcommand, to configure pagination of results and filter results by last modification, respectively.
Add
--propertyoption toserver image createcommand, allowing users to record arbitrary key/value metadata tometa_data.jsonon the metadata server.
Add a number of additional options to the
server listcommand:--availability-zone--key-name--config-drive,--no-config-drive--progress--vm-state--task-state--power-state
Add a number of additional options to the
server rebuildcommand:--name--preserve-ephemeral,--no-preserve-ephemeral--user-data,--no-user-data--trusted-image-cert,--no-trusted-image-certs
Add
--no-passwordoption toserver setcommand, allowing users to clear the admin password from the metadata service. Note that this does not actually change the server password.
Add support for project cleanup based on the OpenStackSDK with create/update time filters. In the long run this will replace openstack project purge command.
Add
server evacuatecommand. This command will recreate an instance from scratch on a new host and is intended to be used when the original host fails.
Add
server migration showcommands. This can be used to show detailed information about an ongoing server migration.
The
--nicoption of theserver createcommand now supports an optionaltag=<tag>key-value pair. This can be used to set a tag for the interface in server metadata, which can be useful to maintain persistent references to interfaces during various operations.
Add
server volume listcommand, to list the volumes attached to an instance.
Add
server volume updatecommand, to update the volumes attached to an instance.
Add support for
--offloadand--waitoptions forserver shelve.--offloadallows users to explicitly request offloading of a shelved server in environments where automatic offloading is not configured, while--waitallows users to wait for the shelve and/or shelve offload operations to complete.
Add support
--waitoption forserver shelve.
Add
--tagoption toserver add fixed ipcommand when adding a fixed IP to server. Only available starting with--os-compute-api-version 2.49.
Add
--tagoption toserver add networkcommand when add network to server. Only available starting with--os-compute-api-version 2.49.
Add
--tagoption toserver add portcommand when add a port to server. Only available starting with--os-compute-api-version 2.49.
Add
--tagoption toserver add volumecommand when add a volume to server. Only available starting with--os-compute-api-version 2.49.
Add
--idand--enabledoption toidentity provider listcommand.
Add
--nameand--domainoption todomain listcommand.
By default listing security group rules now shows the direction. The
--longargument is now redundant and is now ignored as it was only used to display the direction.
The
server migratecommand will now automatically determine whether to use block or shared migration during a live migration operation. This requires Compute API microversion 2.25 or greater.
Add
server migration listcommand. This command allows users to list the status of ongoing server migrations.
Add
--remote-address-groupoption tosecurity group rule createcommand for using an address group as the source/destination in security group rules. Also add fieldremote_address_group_idto the output ofsecurity group rule showand add columnRemote Address Groupto the output ofsecurity group rule list. [Blueprint address-groups-in-sg-rules]
Add
address group create,address group delete,address group list,address group set,address group showandaddress group unsetcommands to support Neutron address group CRUD operations. [Blueprint address-groups-in-sg-rules]
Add
--passwordoption toserver createcommand, allowing users to set the admin password when creating a new instance.
Add
server migration abortcommand to abort ongoing live migrations.
Add
server migration force completecommand to force complete ongoing live migrations.
The
openstack flavor listcommand now accepts two additional options,--min-diskand--min-ram, to filter flavor by minimum disk and minimum RAM, respectively.
Add
--key-typeoption tokeypair createcommand to set keypair type. Can be ssh or x509. Note that--os-compute-api-version 2.2or later is required.
Add
--useroption to thekeypair create,keypair delete, andkeypair showcommands. Only available starting with--os-compute-api-version 2.10.
Add device profile to
port createcommand.
Add
address_groupas a valid--typevalue for thenetwork rbac createandnetwork rbac listcommands.
Add
--tagoption toserver createcommand to add tags when creating a server. Only available starting with--os-compute-api-version 2.52.
Add
--tagoption toserver setcommand to add a tag to an existing server. Only available starting with--os-compute-api-version 2.26.
Add
--tagoptions toserver unsetcommand to remove a tag from an existing server. Only available starting with--os-compute-api-version 2.26.
Add
--tagsand--not-tagsoptions toserver listcommand to list instances with and without the specified tag(s), respectively. Only available starting with--os-compute-api-version 2.26.
Add support for
--ruleoption forserver group create.
Add
--c project_id | user_id | created_attoopenstack server listcommand to get these columns as an output.
The
server delete,server startandserver stopcommands now support the--all-projectsoption. This allows you to perform the specified action on a server in another project using the server name. This is an admin-only action by default.
Add support for
openstack server show --topologyflag, which will include NUMA topology information in the output.
Switch aggregate operations to use SDK
Adds ‘aggregate cache image’ operation
Switch console logs operation to use SDK
Switch compute.flavor operations from direct API calls (novaclient) to OpenStackSDK.
Upgrade Notes¶
The
openstack server list --statusparameter will now validate the requested status.
The
--key-unsetoption of theserver rebuildcommand has been replaced by--no-key-name. An alias is provided.
The
server set --root-passwordoption has been deprecated in favour of a non-interactive--passwordoption.
The
server createcommand will now error out if the--fileoption is specified alongside--os-compute-api-versionof2.57or greater. This reflects the removal of this feature from the compute service in this microversion.
The deprecated
--liveoption of theserver migratecommand has been removed. This was problematic as it required a host argument and would result in a forced live migration to a host, bypassing the scheduler. It has been replaced by a--live-migrationoption and optional--hostoption.
The
server migrate confirmandserver migrate revertcommands, introduced in OSC 5.0, have been deprecated in favour ofserver migration confirmandserver migration revertrespectively. The deprecated commands will be removed in a future major version.
A warning will now be emitted when using the
--disk-overcommitor--no-disk-overcommitflags of theserver migratecommand on Compute API microversion 2.25 or greater. This feature is only supported before this microversion and previously the flag was silently ignored on newer microversions. This warning will become an error in a future release.
Deprecation Notes¶
The
--block-device-mappingoption of theserver createcommand has been deprecated in favour of--block-device. The format of the--block-device-mappingoption is based on the limited “BDM v1” format for block device maps introduced way back in the v1 nova API. The--block-deviceoption instead exposes the richer key-value based “BDM v2” format.
Deprecate the
--longoption for thesecurity group listcommand. This is no longer needed to display all columns.
The
--config-driveoption on theopenstack server createcommand has been deprecated in favour of the--use-config-driveand--no-config-drivearguments. The--config-driveoption expected either a string or bool-like argument, but the nova API has only supported boolean values since API v2.1 was introduced.
Bug Fixes¶
Fix ‘-f json’ output of the flavor properties to return valid json object instead of stringying it.
Stream image download to avoid buffering data in memory which rapidly exhausts memory resulting in OOM kill or system crash for all but the smallest of images. Fixes https://storyboard.openstack.org/#!/story/2007672
Restore default behavior of ‘openstack image save’ to send data to stdout Relates to https://storyboard.openstack.org/#!/story/2007672.
The
addressesandflavorfields of theserver showcommand will now be correctly rendered as a list of objects and an object, respectively.
The
networksandpropertiesfields of theserver listcommand will now be rendered as objects. In addition, thepower_statefield will now be humanized and rendered as a string value when using the table formatter.
The
usage listandusage showcommands will now display the name of the project being queried rather than the ID when using the table formatter. In addition, theserver_usages,total_memory_mb_usage,total_vcpus_usageandtotal_local_gb_usagevalues will only be humanized when using the table formatter.
The
policies(orpolicy, on newer microversions) andmembersfields of theserver group listandserver group showcommands will now be rendered correctly as lists.
The
cpu_infofield of thehypervisor showoutput is now correctly decoded and output as an object.
Fixes default behaviour of openstack image create in allowing images with the same name. In version 5.2.0 this changed to not allow duplicates by default.
Associating a floating IP with a server using the
server add floating ipcommand requires the server have at least one port associated with it. Previously, this was not validated, meaning the operation would silently fail. This has been resolved.
The
openstack server group createcommand will now validate the policy value requested with--policy, restricting it to the valid values allowed by given microversions.
Add missing
openstack subnet unset --gateway <subnet-id>.
Other Notes¶
Remove deprecated neutron-lbaas results from
quota showcommand.