2025.1 Series Release Notes

2025.1-eom

Bug Fixes

  • Fixed Bug #2057951: The manila python client previously ignored the “region_name” parameter when initializing a client session. This caused the client to use wrong API endpoint in multi-region deployments. The client now correctly respects the “region_name” value ensuring requests are routed to the intended region

  • Fixed an issue while running ensure shares and getting a not found response. The command should now work properly.

  • Fixed an issue where the share group update command (and the underlying share_groups.update() python binding) was missing the experimental API flag. The client now correctly treats this action as experimental and sends the required headers. (Bug 2132937)

5.3.0

New Features

  • The access_level attributes of share access rule (of access type ip) can be updated with API version 2.88 and beyond.

5.2.0

New Features

  • Starting from API version 2.86, it is possible to run ensure shares on a given manila-share host, in order to update the shares information.

5.1.0

New Features

  • Adds support to set and unset share export location properties (only with the OpenStackClient).

Upgrade Notes

  • Support for Python 3.8 has been removed. Now the minimum python version supported is 3.9 .

5.0.0

New Features

  • The commands “share-replica-create”, “share-replica-promote”, and “share-replica-delete” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

  • The commands “share-group-snapshot-create” and “share-group-snapshot-delete” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

  • Support for identity v2 API has been removed.

Bug Fixes

  • The –metadata command should handle empty metadata in proper way. Introduced “None” metadata tag to filter list which have empty. Example: “list –metadata None” will return only elements with metadata={}

  • Share server list command now support filtering share servers by source share server IDs and identifiers. For more details, please refer to Launchpad bug #1896949.

4.9.1

Bug Fixes

  • Share network create command failed with 2.32 version of api, due to set availability zone argument for old version of create function, which doesn’t have this argument. The bug was fixed by adding a check that the user set the availability zone in query.

4.9.0

New Features

  • The commands “snapshot-create”, “snapshot-delete” and “revert-to-snapshot” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

  • The commands “snapshot-manage” and “snapshot-unmanage” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

  • In the 2.84 API version, a new option, mount_point_name, has been introduced to the share creation command. This option allow users to specify a more intuitive mount_point_name that will be reflected in the share’s export location. However, for this feature to be available to users, administrators must first enable an extra-spec in the share type. In addition, administrators need to set an extra-spec named provisioning:mount_point_prefix. The Manila service will combine this prefix with the mount point name that user provides during share creation. If the provisioning:mount_point_prefix is not set for a share type, but mount_point_name_support is enabled, the share’s export location will default to using the project_id as a prefix. Please note that shares created with a project_id prefix cannot be transferred. To move these shares to a different project, an admin must manually unmount them from the current project and mount them to the target project. A new capability, mount_point_name_support, allows the driver to inform the scheduler about its support for the mount_point_name feature.

Upgrade Notes

  • The --nova-net-id option has been removed from the manila CLI.

Bug Fixes

  • The format of the osc share network subnet create command output has been updated to return a list of hosts instead of a dictionary, as we do for other commands in the client.

4.8.0

New Features

  • Support add disabled reason to services command. See bug 2037700 for more details.

Bug Fixes

  • The openstack share quota set command has been fixed to not set per_share_gigabytes unless the user has specified the parameter, and unless the user requests, and the server supports API version 2.62.

  • Share force delete command was sending two REST requests, first force delete and then delete. Fixed it by removing delete request. For more details, please refer to launchpad bug 2051737

4.7.0

Bug Fixes

  • Fixed default share type lookup associated with the “openstack share create” command. The lookup now resolves default share types correctly even on environments where the default type isn’t named “default”. See launchpad bug #2030686 for more details.

4.6.0

Prelude

OpenStackClient is the preferred CLI client supported by this package. This CLI client has full feature parity to the legacy “manila” CLI client.

New Features

  • It is now possible to restrict the visibility of access rules’ sensitive fields, as well as lock the access rule deletion while allowing access to a share. A lock reason can also be provided.

  • It is now possible to filter access rules while listing them by its access_to, access_type, access_key and access_level.

  • Added count option in share snapshot’s list commands since 2.79.

  • Added SDK and OSC commands to create, view, update and delete resource locks, alongside support for API version 2.81.

  • Added support for share backup APIs in the SDK and the openstackclient plugin. You can use the openstack client to create a backup, restore a backup, delete a backup, list backups with filters, and update the name and description fields of a backup. Available from microversion 2.80.

Upgrade Notes

  • Usage of the “manila” CLI client is discouraged in favor of the “openstack” CLI. The “manila” CLI client will be removed in a future release.

Deprecation Notes

  • The “manila” CLI client is now deprecated. The python-manilaclient package provides an openstack CLI plugin. As a replacement, the “openstack” CLI must be used. No new features will be added to the “manila” CLI client. The “manilalient” SDK/python bindings are not affected by this deprecation.

4.5.0

New Features

  • Users are now able to set a default active directory site while creating security services by specifying ‘default_ad_site’. Refer Launchpad bug #1988146

  • Adds support to create share network subnet with properties and update the subnet properties with set and unset command (only with the OpenStackClient).

  • Support transferring shares between projects starting from API version 2.77.

Bug Fixes

  • The OpenStackClient plugin will now use most suitable version for openstack commmands client generation if user supplied version is above max version supported by server. For more details, please refer Launchpad bug #1960490

  • Fixed the use of the “–availability-zone” option with the “openstack share network create” command.

4.3.0

New Features

  • Added ‘quiesce_wait_time’ option to share replica promote API. This will be used by driver as quiesce wait time for specified replica promote operation instead of global config value. For more details, refer Launchpad bug #2000171

  • Adds support to set snapshot property on snapshot create, filter list on snapshot property, and snapshot property set and unset. Only in OSC.

Bug Fixes

  • Support –os-key option and OS_KEY environment variable which allows to provide client cert and its private key separately.

4.2.0

Bug Fixes

  • Create Share group from snapshot failed due to a bug in OSC. The issue is fixed and its working as expected.

4.1.0

Prelude

The manilaclient repository now includes a plugin to openstackclient. You can use the openstack share .. command line interface to administer the Shared File System service (manila) on any deployment alongside using it to provision and manage the life cycle of manila resources. Refer to the official documentation to find command syntax and usage information. You may also view this documentation directly in the CLI with openstack help share <subcommand>. For example, openstack help share create.

New Features

  • The command share-network-subnet-create-check was added. This command will check if the share network subnet can be created in a specific share network based on the cloud support. The OSC equivalent command is also added, run the subnet create with the new option –check-only.

Upgrade Notes

  • With the introduction of the openstackclient integration, we are also announcing our intent to deprecate the “manila” shell commands. These clients will emit a deprecation warning in a future release, and will eventually be removed. We recommend that you transition your workflows and tooling to use the “openstack” CLI when using the Shared File Systems service (manila) commands. The “manilaclient” SDK is unaffected by the introducion of OpenStackClient.

Bug Fixes

  • Launchpad bug 1909477 has been fixed by prevent sending the share creation request with any capitalization of the name “None”.

  • Bug #1925486 Share replica create command does not support share network option and manila internally uses parent share’s share network. Fixed it to allow any share network by providing option share-network starting with microversion ‘2.72’.

  • Launchpad bug 1959329 has been fixed for share server listing with network subnet id.

  • When creating a share from snapshot with ‘openstack share create’, the client no longer forces the use of a share type. See bug #1980985 for more information.

Other Notes

  • The openstack share .. CLI is usable only with the “v2” API. At this time, we have no plans to support its use with the deprecated “v1” API provided by the Shared File System service (manila).

  • The openstack share .. CLI does not yet support API microversion negotiation. This means that to use this release of the OpenStackClient with older Shared File System API service, users would have to set the API version in their environments. This can be done via cloud config (specify shared_file_system_api_version) or via shell environment OS_SHARE_API_VERSION or via the CLI overrride: --os-share-api-version. Without this override, the client will use a hard-coded API version to make API requests and this may fail in your deployment if the version is unsupported.

4.0.0

Deprecation Notes

  • Support for Python versions 3.6 and 3.7 was dropped. The minimum supported version is now Python 3.8.

Bug Fixes

  • Fixed a regression with the use of the “force” keyword in the “extend” API in the Share resource. See LP #1975488 for more details.

3.3.0

New Features

  • Added –scheduler_hints to the share-replica create command of manila shellclient. In case of OSC, –scheduler-hint is used. Scheduler hints in the share-replica create allow scheduler to select appropriate host using filters. For example, user needs to specify “only_host=host@backend#pool” when creating a manila share-replica in case of onlyhostFilter. Supported for microversion >= 2.67.

  • The commands “manila manage” and “manila unmanage” now accept an optional “–wait” flag that allows users to let the client poll for the completion of the operation.

  • Added CLI commands to soft delete share.

  • Added CLI commands to restore share.

  • Added CLI commands to query shares in recycle bin.

Bug Fixes

  • Launchpad bug 1960422 has been fixed by prevent sending the share creation request and provide early feedback to CLI users.

  • The following openstack subcommands no longer format the required_extra_specs field and the optional_extra_specs field unless the default table format is used.

    • openstack share type create

    • openstack share type list

    • openstack share type show

3.2.0

New Features

  • Share group types can now be filtered with their group_specs.

  • The command “manila share-server-manage” now accepts an optional “–wait” that allows users to let the client poll for the completion of the operation.

Bug Fixes

  • The commands “openstack share type list” and “openstack share access list” no longer support the “–columns” option. Use “–column” to filter the output.

  • Launchpad bug 1953670 has been fixed by updating the attribute name for the share group type access repr to be share_group_type_id.

3.1.0

New Features

  • Added –scheduler_hints to the share create command

Upgrade Notes

  • Scheduler hints in the share create command allow scheduler to select appropriate host using hard affinity and anti-affinity filters. User needs to specify affinity/anti-affinity share ids using keys “same_host” or “different_host” when creating a manila share.

Bug Fixes

  • Share group and share group snapshots quotas have been available in manila since API 2.40. With this change, we added the possibility for users to update share group and share group snapshots quotas via the quota class API to the manilaclient CLI. For more details, please refer to Launchpad bug 1871252.

3.0.0

New Features

  • The command “manila share-server-delete” now accepts an optional “–wait” that allows users to let the client poll for the completion of the operation.

  • The command “manila share-group-delete” now accepts an optional “–wait” that allows users to let the client poll for the completion of the operation.

  • The command “manila share-group-create” now accepts an optional “–wait” that allows users to let the client poll for the completion of the operation.

Upgrade Notes

  • manilaclient SDK no longer supports some options that were deprecated in version 2.0.0: ‘share_service_name’ (use ‘service_name’ instead), ‘proxy_tenant_id’, ‘proxy_token’, ‘os_cache’ (use ‘use_keyring’ instead) ‘api_key’(use ‘password’ instead). The client.authenticate() method has been removed as well, since authentication is performed automatically.

Bug Fixes

  • Fixed the issue in which users were unable to create a share from a snapshot, specifing the snapshot’s name. For more details, please refer to launchpad bug 1798229

2.7.0

New Features

  • Added support for per share gigabytes quotas.

Upgrade Notes

  • After addition of per share gigabytes quotas, it is now possible to get ‘over limit’ error while creating a share.

Bug Fixes

2.6.0

New Features

  • Added support for updating and adding security services to in use share networks. The command share-network-security-service-update was added to the client. Before each of these commands is executed, make sure to run the correspondent check command, being either share-network-security-service-add-check or share-network-security-service-update-check. These commands will check if the desired share network can have security services added or updated, based on the cloud support. Also, these commands can be used for both to request a check and to check the outcome. The command share-network-reset-state was also implemented in case there is need to update the share network status field.

2.5.0

New Features

  • OS profiler is now supported within the v2 client and the manilaclient shell.

  • The commands “manila extend” and “manila shrink” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

  • The commands “manila force-delete”, “manila snapshot-force-delete” and “manila share-instance-force-delete” now accept an optional “–wait” that allows administrator users to let the client poll for the completion of the operation.

2.4.0

New Features

  • The commands “manila create” and “manila delete” now accept an optional “–wait” option that allows users to let the client poll for the completion of the operation.

Bug Fixes

  • Bug #1902873: Fixed raw Python error message when using manila without a subcommand while passing an optional argument, such as --os-cache.

2.3.0

Prelude

  • Share replication APIs have graduated from their experimental feature state from API version 2.56. One or more share replicas can be created from a given share. They can also be promoted to be considered the active share, resynchronized and deleted. These actions no longer require the inclusion of X-OpenStack-Manila-API-Experimental header in the API requests.

New Features

  • Added support for performing the share server migration. The new commands are: share-server-migration-start, share-server-migration-complete, share-server-migration-cancel, share-server-migration-get-progress, share-server-migration-check and share-server-reset-task-state.

2.1.0

Prelude

Since the share group APIs have graduated from their experimental feature state in API version 2.55, the client was updated to fit into those changes, and the share group commands will no longer include the X-OpenStack-Manila-API-Experimental` header in the request. Share group types can be created to encompass one or more share types, share groups can be created, updated, snapshotted and deleted, and shares can be created within share groups.

New Features

  • Added support for two new quotas for share replicas: share_replicas and replica_gigabytes.

  • Added since and before to messages list API. User messages can be queried by stimestamp with API version 2.52 and beyond.

  • Added progress field for shares and share replicas. This field allows the user to check the progress of the create share from snapshot operation. The field will show a percentage of completion between 0 and 100 percent.

Upgrade Notes

  • Due to the new ‘share_replicas’ and ‘replica_gigabytes’ quotas for share replicas, it is now possible to hit an ‘over limit’ error while creating replicated shares and share replicas.

2.0.0

Upgrade Notes

  • Python 2.7 support has been dropped. The last release of openstack/python-manilaclient to support python 2.7 is OpenStack Train (python-manilaclient version 1.29.x). The minimum version of Python now supported by openstack/python-manilaclient is Python 3.6.

1.29.0

New Features

  • The name, description and/or share_type_access:is_public attributes of share types can be updated with API version 2.50 and beyond.

  • Added CLI commands to get, add and delete share network subnets.

  • Updated CLI command for managing share servers to accept share_network_subnet parameter.

  • Deprecated neutron_subnet_id parameter from CLI command to update a share network.

  • Updated CLI command for listing share servers to show a new column Share Network Subnet Id, and to accept a filter parameter share_network_subnet.

Bug Fixes

  • Fixed share replica create API to make the replica inherit parent share’s share network.

1.28.0

Bug Fixes

  • Launchpad bug 1830677 has been fixed and the client now correctly get description of share type instead of None.

1.27.0

New Features

  • Share replica export locations APIs are now supported within the v2 client and the manilaclient shell. These commands are available with API version 2.47 and beyond.

  • Added CLI commands to manage and unmanage share servers.

  • Updated CLI command for managing shares to accept share_server_id parameter.

Bug Fixes

  • Launchpad bug 1814094 has been fixed and the client now correctly parses the base URL from manila’s endpoint url, accounting for proxy URLs.

1.26.0

New Features

  • organizational unit (–ou) parameter support added in manila cli

Bug Fixes

  • Fix share_group_type_create returning is_default as a function object instead of value

  • The shell utility has been fixed to report errors correctly on python3 environments.

1.25.0

Bug Fixes

  • Fixed bugs 1777849 and 1779935. Name can be used for the sort option in the list command.

  • Fixed bug 1782672. Name can now be used in type-show command.

1.24.0

New Features

  • Added support to create share access rule metadata, update existing share access rule metadata and delete share access rule metadata. Also added a new shell command to show details of a share access rule.

Bug Fixes

  • Fix Manila pool-list –column reports nothing for capabilities, And also format the detail contents.

  • Allows the use of blank in user group name since the AD allow user group name to include blank.

  • The share type and share group type shell commands retrieve the ‘is_default’ value from the manila API where supported. This fix also addresses the blank ‘is_default’ field when creating share types and share group types.

1.23.0

New Features

  • Share types can now be filtered with its extra_specs.

Bug Fixes

  • Allow –help to print subcomands info. e.g. $ manila create --help

1.22.0

Bug Fixes

  • Fix endpoint not found error when only the manilav2 endpoint is configured.

1.21.0

New Features

  • Added with_count option in share’s list commands since 2.42.

  • Support show type details command.

Bug Fixes

  • Added description in list/create share type CLI.

1.20.0

Bug Fixes

  • Fixed bugs 1738917 and 1738918. Names can now be used in commands pertaining to share group types.

1.18.0

Deprecation Notes

  • v1.Client is deprecated and will be removed with the 2.0.0 release of python-manilaclient. Please use v2.Client.

  • Some kwargs when creating a Client instance (for v1.Client and v2.Client) are deprecated and will be removed with the 2.0.0 release of python-manilaclient. The arguments are ‘share_service_name’, ‘proxy_tenant_id’, ‘proxy_token’, ‘os_cache’ and ‘api_key’.

  • The method ‘authenticate()’ for a v1.Client and v2.Client instance is deprecated and will be removed with the 2.0.0 release of python-manilaclient.

Bug Fixes

  • The list command for –os-share-api-version <=2.34 has been fixed to not error out in case there are no search options/filters specified.

  • Added group specs in share group type create CLI.

  • Usernames can contain the $ symbol to allow for windows computer authentication in an Active Directory environment

1.17.0

New Features

  • Shares and share instances can now be filtered with their export location IDs or paths.

  • IPv6 ACL support has been added in manila. access-allow command now validates and allows access control to IPv6 clients.

  • Added support for matching filters (name~, description~) to filter results of the list commands for shares, snapshots, share-networks, and share-groups.

  • Added support for description as a filter to the list commands for shares, snapshots, share-networks, and share-groups.

  • Added new subcommands message-list, message-show and message-delete.

  • Added support for per-share-type quotas.

  • Added support for share group and share group snapshot quotas.

Upgrade Notes

  • After addition of share group and share group snapshot quotas, it is now possible to get ‘over limit’ error creating share groups and share group snapshots.

1.16.0

New Features

  • Beginning in version 2.33, share access list API returns “created_at” and “updated_at” for each access rule as part of the JSON response.

Bug Fixes

  • Remove unused sort key export_location from list CLI.

1.15.0

Bug Fixes

  • If using python3.5, a TypeError will raise if server returns a 4xx response. Below is the error message:

    TypeError: unorderable types: int() > NoneType()

    This error occurred because python-manilaclient tried to compare an integer with None. This is not a valid comparison starting from python3.5.

    See bug #1664877 for more details.

  • Changed user access name limit from 32 to 255 characters since there are security services that allow user names longer than 32 characters.

1.14.0

Bug Fixes

  • Manila now allows modifying the share instance statuses to “migrating” or “migrating_to”. Clarified the help text in the client to include these statuses.

1.13.0

New Features

  • Added share group support (replacing CG support).

  • Added support for the mountable snapshots feature to manila client.

Upgrade Notes

  • By adding share group support, the earlier support for CGs was removed. Preexisting CGs should be managed as share groups instead.

1.12.0

New Features

  • Added --detail argument to pool list command.

  • Added --share_type argument to pool list command.

  • Add support to check quota usage by ‘–detail’ in quota-show

  • Added ‘preserve-snapshots’ to migration-start command.

  • Manila exposes new transitional states for access rules and the collective “access_rules_status” fields for shares and share instances. The API request version in the client has been bumped to support these changes.

  • Added support for the revert-to-snapshot feature.

  • Support the new optional create_share_from_snapshot_support extra spec, and handle the newly-optional snapshot_support extra spec.

Upgrade Notes

  • Added new microversion in which nova-net-id option is no longer allowed for share-network create or update commands. Nova networking was deprecated in OpenStack in Newton and is no longer supported for general deployments in Ocata.

Deprecation Notes

  • Support for the experimental share migration APIs has been dropped for API microversions prior to 2.29.

Bug Fixes

  • Updated descriptions of migration-start parameters.

  • Added support for missing command to list manila service availability zones.

  • User can specify any number of extra-specs in type_create.

1.11.0

Prelude

  • Added new parameters to Share Migration experimental API.

New Features

  • Add list, show, and reset-status admin commands for snapshot instances.

  • Returns access_key as part of access_list API response for API microversions >= ‘2.21’.

  • Added parameter to change share type when performing migration.

  • Share Migration now has parameters to force share migration procedure to maintain the share writable, preserve its metadata and be non-disruptive when migrating.

  • Added parameter to change share network when performing migration.

Deprecation Notes

  • Renamed Share Migration ‘force_host_copy’ parameter to ‘force_host_assisted_migration’, to better represent the parameter’s functionality.

  • API version 2.22 is now required for all Share Migration APIs.

Bug Fixes

  • Added “–columns” support for share-replica-list command.

  • Use consistent environment variable naming. All old variables are still supported due to compatibility reasons.

  • Fix error handling for os-token and bypass-url.

1.10.0

Bug Fixes

  • Both ‘manila list –all-tenants’ and ‘manila list –public’ will show column Project ID. Same is the change in behavior of snapshot-list –all-tenants.

  • Added proper error handling for missing API minor version number.

1.9.0

New Features

  • Started using release notes to track changes to python-manilaclient.