Errors — python-manilaclient — branch stable/2026.2
Branch
stable/2026.2@d18a7e966(6.3.0+ 2 maintenance commits) — repository https://opendev.org/openstack/python-manilaclient — analysed on 2026-11-01
The package is a client, so there are no HTTP statuses to return. A user sees a line on stderr and an exit code. [observed] means reproduced against the local stub; each case is recorded with its requests in [_rewrite/defects-observed_stable-2026.2.json](_rewrite/defects-observed_stable-2026.2.json) and can be replayed with [_rewrite/defects_stable-2026.2.py](_rewrite/defects_stable-2026.2.py). The stub is not Manila: a case shows what the client does with an answer, not that Manila gives this answer.
1. Exit codes
| Code | Situation | Example [observed] | Source |
|---|---|---|---|
| 0 | success | cliff:cliff/command.py:196 | |
| 0 | failure only logged | share backup unset with a 403 on the PUT, share create --wait on a share in error | manilaclient/osc/v2/share_backups.py:492, manilaclient/osc/v2/share.py:351 |
| 0 | nothing asked, nothing sent | share service set h b, share lock set <id> | manilaclient/osc/v2/services.py:71, manilaclient/osc/v2/resource_locks.py:417 |
| 1 | any exception from the command | CommandError, HttpError, TypeError, KeyError | cliff:cliff/app.py:294 |
| 2 | invalid arguments or unknown command | --os-share-api-version 2.99 | manilaclient/osc/plugin.py:128-135 |
No command of this package returns a value from command.Command, which cliff would treat as the exit code. static_scan_stable-2026.2.py checks this, along with parsed_args attributes that the parser does not define, and found neither.
2. How a service failure reaches the user
SessionClient.request asks keystoneauth not to raise, then calls exceptions.from_response for any status >= 400 (manilaclient/common/httpclient.py:97-99).
| Step | Rule | Source |
|---|---|---|
| Class | by status, from the http_status of the classes; unknown 5xx gives HttpServerError, unknown 4xx HTTPClientError | manilaclient/common/apiclient/exceptions.py:468, manilaclient/common/apiclient/exceptions.py:515 |
| Message | JSON body: the first key's value, field message, else faultstring. Only when Content-Type starts with application/json | manilaclient/common/apiclient/exceptions.py:505-510 |
| Text bodies | text/* goes to details, so the user only sees the class default | manilaclient/common/apiclient/exceptions.py:511-512 |
| Printed | <message> (HTTP <status>), with (Request-ID: <id>) when x-openstack-request-id or x-compute-request-id is present | manilaclient/common/apiclient/exceptions.py:152-155, manilaclient/common/apiclient/exceptions.py:485-488 |
| Answer | Printed [observed] | Case |
|---|---|---|
404 {"itemNotFound": {"code": 404, "message": "stub: not found"}} | stub: not found (HTTP 404) | disc-404 |
409 {"error": "nope"} | Conflict (HTTP 409) | error-no-message |
| 404 HTML | Not Found (HTTP 404) | html-404 |
500 {} | list index out of range | error-empty-json |
| 200 HTML | 'NoneType' object is not subscriptable | html-200 |
200 {} on a list | 'shares' | list-no-key |
200 {} on a show by ID | 'share' | show-no-key |
A 404 during a name lookup does not reach the user as a 404. apiutils.find_resource catches it and prints No share with a name or ID of 'x' exists. (manilaclient/common/apiclient/utils.py:68-74). A multiple match prints Multiple share matches found for 'x', use an ID to be more specific. (manilaclient/common/apiclient/utils.py:76-83).
Other answers are also swallowed: osc_lib.utils.find_resource catches every exception of its first get (osc-lib:osc_lib/utils/__init__.py:236). **A 500 or a 403 on GET /share-backups/{id} therefore looks like a missing resource**, or leads to a listing [inferred from the code; the 404 path was observed].
3. Discovery, version and connection failures [observed]
| Situation | Message | Exit | Case |
|---|---|---|---|
| no share service in the catalog | public endpoint for shared-file-system service in RegionOne region not found | 1 | catalog-none |
| discovery 404 | the 404 message | 1 | disc-404 |
no versions key, no CURRENT entry, or empty version | Invalid share client version '1.0'. must be one of: 2.0, 2.1, … from osc-lib; "microversions not supported" falls back to 1.0, which this plugin does not accept | 1 | disc-empty, disc-html, disc-bad-version; manilaclient/api_versions.py:280-286, osc-lib:osc_lib/utils/__init__.py:467 |
| requested below the server minimum | The specified version isn't supported by server. The valid version range is '2.10' to '2.50' | 1 | disc-requested-below, manilaclient/api_versions.py:331-340 |
| server entirely above the client | same message; Server's version is too new at manilaclient/api_versions.py:373 is not reached, because the requested version is checked first | 1 | disc-server-newer |
--os-share-api-version 2.99 | argparse: invalid choice | 2 | version-refused |
OS_SHARE_API_VERSION=2 | Invalid format of client version '2'. Expected format 'X.Y', …, after an OSC warning | 1 | env-version-major, manilaclient/api_versions.py:59-67 |
OS_SHARE_API_VERSION=2.99 | Invalid share client version '2.99'. must be one of: … | 1 | env-version-above |
Note that OS_SHARE_API_VERSION=2, a natural setting for a major version, breaks every share command with this plugin. OSC's own default for its unloaded copy is the string 2 (openstackclient:openstackclient/share/client.py:30).
4. Defects found
All reproduced on the stub, unless the row says otherwise. Severity is my reading of the impact.
| # | Severity | Command | Behaviour [observed] | Cause | Case |
|---|---|---|---|---|---|
| 1 | high | share set, with any option | sends POST /shares/{id}/action {"reset_task_state": {"task_state": null}} after the real change. With a 403 on that action: the name is changed, then One or more of the set operations failed, exit 1. Below 2.22: same failure, always | hasattr(parsed_args, 'task_state') is always true, because the parser defines the option with default=None (manilaclient/osc/v2/share.py:958, manilaclient/osc/v2/share.py:895-898) | set-task-state, set-task-state-forbidden, set-task-state-old |
| 2 | high | share server set --status | same second action. Below 2.57: the status is reset, then Setting the state of a share server is only available with manila API version >= 2.57 | same pattern (manilaclient/osc/v2/share_servers.py:530) | server-set-task-state, server-set-status-old |
| 3 | high | share server migration start --check-only | if the check answer is empty, it starts the real migration: POST …/action {"migration_check": …}, then {"migration_start": …}, exit 0 | if result: … else: migration_start tests the answer, not the option (manilaclient/osc/v2/share_servers.py:740-757) | server-migration-check-empty |
| 4 | medium | share snapshot create, 2.0 to 2.72 | cannot access local variable 'property' where it is not associated with a value, after the share lookup, no POST | property is set only from 2.73 (manilaclient/osc/v2/share_snapshots.py:86-99) | snapshot-create-old, version sweep |
| 5 | medium | share network set, below 2.63 | every call fails, even --name alone: Use of check_only restart_check is only available for API microversions >= 2.63. | the raise is unconditional; check_only defaults to False, not None (manilaclient/osc/v2/share_networks.py:560-575) | network-set-old |
| 6 | medium | share network subnet create, 2.0 to 2.77 | ShareNetworkSubnetManager.create() got an unexpected keyword argument 'metadata', no POST | always passes metadata (manilaclient/osc/v2/share_network_subnets.py:201); that variant starts at 2.78 (manilaclient/v2/share_network_subnets.py:91) | subnet-create-old, version sweep |
| 7 | medium | share server adopt, 2.49 and 2.50 | ShareServerManager.manage() got an unexpected keyword argument 'share_network_subnet_id', no POST | always passes it (manilaclient/osc/v2/share_servers.py:351) | server-adopt-249, version sweep |
| 8 | medium | share adopt --public | ShareManager.manage() got an unexpected keyword argument 'public'. Did you mean 'is_public'?, no POST, at every version from 2.8 | wrong keyword (manilaclient/osc/v2/share.py:1238, manilaclient/v2/shares.py:530) | adopt-public |
| 9 | medium | share quota set --class --encryption-keys | Failed to set quotas for class 'default': 'QuotaClassSetManager.update() got an unexpected keyword argument 'encryption_keys'' | the class variant has no such argument (manilaclient/osc/v2/quotas.py:255, manilaclient/v2/quota_classes.py:177) | quota-class-encryption |
| 10 | medium | share access list --properties with --access-type, --access-to, and so on | the other filters are dropped: the request has metadata and share_id only | search_opts is replaced, not extended (manilaclient/osc/v2/share_access_rules.py:351) | access-list-filters |
| 11 | medium | share restore <name> | help says Name or ID, yet POST /shares/myshare/action goes out with the name | no lookup (manilaclient/osc/v2/share.py:1807, manilaclient/osc/v2/share.py:1818); this class is also the only one with no unit test | restore-name |
| 12 | medium | share access create --wait, below 2.45 | the rule is created, then the command fails with API version '2.44' is not supported…, exit 1 | the wait uses a manager that starts at 2.45, with no gate (manilaclient/osc/v2/share_access_rules.py:173-175) | access-create-old-wait |
| 13 | low | share backup unset | a failed PUT is logged and exits 0 | no raise (manilaclient/osc/v2/share_backups.py:492-498) | backup-unset-failure |
| 14 | low | share create, no default type | stub: not found (HTTP 404); the helpful There is no default share type available… cannot appear for a 404 | only CommandError is caught (manilaclient/osc/v2/share.py:245) | create-no-default-type |
| 15 | low | share server set, status failure | the message is a Python tuple: ("Failed to set status '%(status)s': %(exception)s", {'status': 'active', 'exception': BadRequest(…)}) | a tuple is built instead of a formatted string (manilaclient/osc/v2/share_servers.py:523-528) | server-set-tuple |
| 16 | low | share type create --extra-specs bad | not enough values to unpack (expected 2, got 1) | the split runs before the validator that has the right message (manilaclient/osc/v2/share_types.py:198, manilaclient/osc/utils.py:92-94) | type-create-specs |
| 17 | low | --wait on creates | exit 0 on an error status, while share resize --wait and share revert --wait exit 1. Status waits have no time limit | manilaclient/osc/v2/share.py:346-351, manilaclient/osc/v2/share.py:1112-1119, osc-lib:osc_lib/utils/__init__.py:805 | wait-error-state, resize-wait-error, wait-no-timeout |
| 18 | low | requested version above the server's | lowered without a word, then a gate may print a message about a version the user believes is in use | LOG.debug only (manilaclient/api_versions.py:322-329) | disc-requested-above |
| 19 | low | from_response | list index out of range on an empty JSON error body | list(body)[0] with an empty dict (manilaclient/common/apiclient/exceptions.py:505) | error-empty-json |
Impact of defects 1 and 2 on a real Manila [inferred, read in the Manila code, not run]: reset_task_state needs the admin role (manila:manila/policies/shares.py:564-566), and Manila accepts a null task state (manila:manila/common/constants.py:265, manila:manila/api/openstack/wsgi.py:1209). So a project member running share set --name x should get a renamed share, a 403, and exit 1. An admin running the same command clears any task state on the share, including during a migration. Unit tests cannot show this: FakeShareClient is a mock (manilaclient/tests/unit/osc/v2/fakes.py:27), and they assert that reset_task_state is called with None for the explicit option only (manilaclient/tests/unit/osc/v2/test_share.py:1472).
Impact of defect 3 on a real Manila [inferred]: Manila's check is expected to return a populated dict (manila:manila/api/v2/share_servers.py:479), so this needs an empty answer. A compatible service must never answer {} to migration_check.
Not a defect, for the record: the probe's first runs reported Type names and field names must be valid identifiers on share access list below 2.45. That came from a colon in a key of the stub's body, read by a namedtuple (manilaclient/v2/shares.py:1080). Manila does send only plain keys there [inferred].
5. Fields a command needs in an answer [observed]
Missing fields raise on the client. These are hard requirements for a compatible service.
| Field | Command | Printed when absent | Source | Case |
|---|---|---|---|---|
collection key (shares, snapshots, …) | every list and name lookup | 'shares' | manilaclient/base.py:95 | list-no-key |
| resource key | every show | 'share' | manilaclient/base.py:187 | show-no-key |
size | share resize | 'size' | manilaclient/osc/v2/share.py:1082 | resize-no-size |
required_extra_specs | share type show, list, create | required_extra_specs | manilaclient/osc/v2/share_types.py:48 | type-no-required |
is_public | share group type show, list, create | 'is_public' | manilaclient/osc/utils.py:115 | group-type-no-public |
backend_details | share server show, by the get of the manager; osc_lib hides the KeyError | No shareserver with a name or ID of … exists. | manilaclient/v2/share_servers.py:120 | server-no-backend-details |
id on a name-lookup match; name to match it | every lookup | No share with a name or ID… | manilaclient/base.py:270-277 | name-lookup |
A service that ignores is_soft_deleted=True breaks every name lookup of a share from 2.69: Multiple share matches found for 'x' (case name-lookup-nofilter, manilaclient/base.py:264-269).
6. Exception classes
The package defines 49 classes (_inventory/inventory_stable-2026.2.json). Commands raise osc_lib.exceptions.CommandError for their own checks, and let these pass through.
| Family | Classes | Status | Defined at |
|---|---|---|---|
| Client | ClientException, ValidationError, UnsupportedVersion, CommandError, AuthorizationFailure, ConnectionError, ConnectionRefused, AuthPluginOptionsMissing, AuthSystemNotFound, NoUniqueMatch, EndpointException, EndpointNotFound, AmbiguousEndpoints | none | manilaclient/common/apiclient/exceptions.py:42 |
| HTTP base | HttpError, HTTPRedirection, HTTPClientError, HttpServerError, MultipleChoices | 300 and classes | manilaclient/common/apiclient/exceptions.py:129 |
| 4xx | BadRequest 400, Unauthorized 401, PaymentRequired 402, Forbidden 403, NotFound 404, MethodNotAllowed 405, NotAcceptable 406, ProxyAuthenticationRequired 407, RequestTimeout 408, Conflict 409, Gone 410, LengthRequired 411, PreconditionFailed 412, RequestEntityTooLarge 413, RequestUriTooLong 414, UnsupportedMediaType 415, RequestedRangeNotSatisfiable 416, ExpectationFailed 417, UnprocessableEntity 422 | as named | manilaclient/common/apiclient/exceptions.py:193 |
| 5xx | InternalServerError 500, HttpNotImplemented 501, BadGateway 502, ServiceUnavailable 503, GatewayTimeout 504, HttpVersionNotSupported 505 | as named | manilaclient/common/apiclient/exceptions.py:403 |
| Other | MissingArgs, ManilaclientException, ResourceInErrorState, TimeoutException, NoTokenLookupException, VersionNotFoundForAPIMethod | none | manilaclient/common/cliutils.py:32, manilaclient/exceptions.py:24 |
One trap for code that catches these: find_resource matches exceptions.NotFound from manilaclient, while the python-keystoneclient lookups go through osc-lib, which compares class names (osc-lib:osc_lib/utils/__init__.py:258).
7. Asynchronous errors
There is no background process, so the client knows about an asynchronous failure only by polling. See 05. Manila's user messages are readable with share message list, and with --resource-id for one share (manilaclient/osc/v2/messages.py:156). The client does not read them by itself.
8. Key log messages
| Level | Message | Situation | Source |
|---|---|---|---|
| error | Failed to delete share with name or ID '%(share)s': %(e)s | one target failed; the summary comes later | manilaclient/osc/v2/share.py:441 |
| error | ERROR: Share is in error state. | --wait ended on an error status; exit 0 | manilaclient/osc/v2/share.py:351 |
| error | Security service %s can be added to share network %s. and similar | result of --check-only, printed as an error on purpose | manilaclient/osc/v2/share_networks.py:653 |
| error | Failed to update share task state %s | second action of share set, see defect 1 | manilaclient/osc/v2/share.py:965 |
| debug | Server does not support microversions. Changing server version to %(min_version)s. | no usable version document | manilaclient/api_versions.py:281 |
| debug | Requested version %(requested_version)s is not supported. Downgrading… | requested above the server maximum | manilaclient/api_versions.py:317 |
9. Catalogue of messages raised by the commands
176 distinct messages at 199 sites, read from the source by extract_plugin_stable-2026.2.py. Most are client-side checks: no request is needed to raise them, unless the check follows a lookup. Variables keep their template form.
| Message (template) | Exception | Raised at | Commands |
|---|---|---|---|
| %(number_of_deletion_failures)s of %(total_of_instances)s instances failed to delete. | CommandError | manilaclient/osc/v2/share_instances.py:86 | share instance delete |
| %(result)s of %(total)s backups failed to delete. | CommandError | manilaclient/osc/v2/share_backups.py:142 | share backup delete |
| %(result)s of %(total)s qos types failed to delete. | CommandError | manilaclient/osc/v2/qos_types.py:142 | share qos type delete |
| %(result)s of %(total)s replicas failed to delete. | CommandError | manilaclient/osc/v2/share_replicas.py:227 | share replica delete |
| %(result)s of %(total)s share group types failed to delete. | CommandError | manilaclient/osc/v2/share_group_types.py:174 | share group type delete |
| %(result)s of %(total)s share groups failed to delete. | CommandError | manilaclient/osc/v2/share_groups.py:223 | share group delete |
| %(result)s of %(total)s share types failed to delete. | CommandError | manilaclient/osc/v2/share_types.py:269 | share type delete |
| %(result)s of %(total)s shares failed to delete. | CommandError | manilaclient/osc/v2/share.py:455 | share delete |
| %(result)s of %(total)s snapshots failed to abandon. | CommandError | manilaclient/osc/v2/share_snapshots.py:750 | share snapshot abandon |
| %(result)s of %(total)s snapshots failed to delete. | CommandError | manilaclient/osc/v2/share_snapshots.py:179 | share snapshot delete |
| 'driver_handles_share_servers' is already set via positional argument. | CommandError | manilaclient/osc/v2/share_types.py:204 | share type create |
| 'encryption keys' quotas are available only starting with '2.90' API microversion. | CommandError | manilaclient/osc/v2/quotas.py:249 | share quota set |
| 'per share gigabytes' quotas are available only starting with '2.62' API microversion. | CommandError | manilaclient/osc/v2/quotas.py:240 | share quota set |
| 'quiesce-wait-time' option is available only starting with '2.75' API microversion. | CommandError | manilaclient/osc/v2/share_replicas.py:607 | share replica promote |
| 'share group snapshots' quotas are available only starting with '2.40' API microversion. | CommandError | manilaclient/osc/v2/quotas.py:212 | share quota set |
| 'share group' quotas are available only starting with '2.40' API microversion. | CommandError | manilaclient/osc/v2/quotas.py:203 | share quota set |
| 'share type' quotas are available only starting with '2.39' API microversion. | CommandError | manilaclient/osc/v2/quotas.py:194, manilaclient/osc/v2/quotas.py:385 | share quota set, share quota show |
| 'share type' quotas are available only starting with API microversion '2.39'. | CommandError | manilaclient/osc/v2/quotas.py:462 | share quota delete |
| 'share-network' option is available only starting with '2.72' API microversion. | CommandError | manilaclient/osc/v2/share_replicas.py:134 | share replica create |
| A status or a task state should be provided for this command. | CommandError | manilaclient/osc/v2/share_servers.py:510, manilaclient/osc/v2/share_servers.py:528 | share server set |
| Adding description to share type is only available with API microversion >= 2.41 | CommandError | manilaclient/osc/v2/share_types.py:185 | share type create |
| Adding properties to access rules is supported only with API microversion 2.45 and beyond | CommandError | manilaclient/osc/v2/share_access_rules.py:160 | share access create |
| arg '--property' is available only starting with API microversion '2.95'. | CommandError | manilaclient/osc/v2/share_replicas.py:117, manilaclient/osc/v2/share_replicas.py:539 | share replica create, share replica unset |
| arg '--scheduler_hint' is available only starting with API microversion '2.67'. | CommandError | manilaclient/osc/v2/share_replicas.py:94 | share replica create |
| args force is available only for API microversion >= 2.64 | CommandError | manilaclient/osc/v2/share.py:1095 | share resize |
| Argument '{key}' is of boolean type and has invalid value: {str(value)} | CommandError | manilaclient/osc/utils.py:88 | share group type create, share group type list, share group type set (+3) |
| Argument '{key}' is specified twice. | CommandError | manilaclient/osc/utils.py:59 | share access create, share access list, share adopt (+2) |
| Argument '{key}' value specified twice. | CommandError | manilaclient/osc/utils.py:79 | share group type create, share group type list, share group type set (+3) |
| Argument spec_driver_handles_share_servers argument is not valid: {str(e)} | CommandError | manilaclient/osc/v2/share_types.py:177 | share type create |
| Availability zone can be specified only with manila API version >= 2.51 | CommandError | manilaclient/osc/v2/share_networks.py:373 | share network create |
| Both neutron_net_id and neutron_subnet_id should be specified. Alternatively, neither of them should be specified. | CommandError | manilaclient/osc/v2/share_network_subnets.py:140 | share network subnet create |
| Cannot create security service because both server and 'default_ad_site' were provided. Specify either server or 'default_ad_site'. | CommandError | manilaclient/osc/v2/security_services.py:143 | share security service create |
| Cannot set security service because both server and 'default_ad_site' were provided. Specify either server or 'default_ad_site'. | CommandError | manilaclient/osc/v2/security_services.py:339 | share security service set |
| Cannot specify option --disable-reason without --disable specified. | CommandError | manilaclient/osc/v2/services.py:67 | share service set |
| Check only can be specified only with manila API version >= 2.70. | CommandError | manilaclient/osc/v2/share_network_subnets.py:113 | share network subnet create |
| Count can only be printed when using '--format table' | CommandError | manilaclient/osc/v2/share_snapshots.py:577 | share snapshot list |
| Defining a security service Default AD site is available only for microversion >= 2.76 | CommandError | manilaclient/osc/v2/security_services.py:134, manilaclient/osc/v2/security_services.py:330 | share security service create, share security service set |
| Defining a security service Organizational Unit is available only for microversion >= 2.44 | CommandError | manilaclient/osc/v2/security_services.py:126 | share security service create |
| Displaying share access rule details is only available with API microversion 2.45 and higher. | CommandError | manilaclient/osc/v2/share_access_rules.py:427 | share access show |
| Displaying total number of share snapshots is only available with manila API version >= 2.79 | CommandError | manilaclient/osc/v2/share_snapshots.py:572 | share snapshot list |
| Either name or description must be provided. | CommandError | manilaclient/osc/v2/share_backups.py:488 | share backup unset |
| Ensure shares API is only available in manila API version >= 2.86 | CommandError | manilaclient/osc/v2/services.py:213 | share service ensure shares |
| Failed to abandon %(result)s of %(total)s servers. | CommandError | manilaclient/osc/v2/share_servers.py:439 | share server abandon |
| Failed to abandon %(result)s out of %(total)s shares. | CommandError | manilaclient/osc/v2/share.py:1333 | share abandon |
| Failed to add access to share type : {e} | CommandError | manilaclient/osc/v2/share_type_access.py:53 | share type access create |
| Failed to allow access to %(result)s of %(total)s projects | CommandError | manilaclient/osc/v2/share_group_type_access.py:87 | share group type access create |
| Failed to create access to share '{share}': {e} | CommandError | manilaclient/osc/v2/share_access_rules.py:197 | share access create |
| Failed to create access to share snapshot '{snapshot_obj}': {e} | CommandError | manilaclient/osc/v2/share_snapshots.py:796 | share snapshot access create |
| Failed to delete %(result)d servers out %(total)d | CommandError | manilaclient/osc/v2/share_servers.py:81 | share server delete |
| Failed to delete access to a share snapshot for %(result)s out of %(total)s access rule ID's | CommandError | manilaclient/osc/v2/share_snapshots.py:851 | share snapshot access delete |
| Failed to delete share access rule %(id)s for share %(share)s: %(e)s | CommandError | manilaclient/osc/v2/share_access_rules.py:262 | share access delete |
| Failed to deny access to %(result)s of %(total)s projects | CommandError | manilaclient/osc/v2/share_group_type_access.py:187 | share group type access delete |
| Failed to disable service: %(e)s | CommandError | manilaclient/osc/v2/services.py:100 | share service set |
| Failed to enable service: %(e)s | CommandError | manilaclient/osc/v2/services.py:78 | share service set |
| Failed to ensure shares: %(e)s | CommandError | manilaclient/osc/v2/services.py:222 | share service ensure shares |
| Failed to find the share group type with name or ID '%(share_group_type)s': %(e)s | CommandError | manilaclient/osc/v2/share_group_types.py:316, manilaclient/osc/v2/share_group_types.py:367 | share group type set, share group type unset |
| Failed to find the share type with name or ID '%(share_type)s': %(e)s | CommandError | manilaclient/osc/v2/share_group_types.py:99 | share group type create |
| Failed to promote replica to 'active': %(e)s | CommandError | manilaclient/osc/v2/share_replicas.py:626 | share replica promote |
| Failed to remove access from share type : {e} | CommandError | manilaclient/osc/v2/share_type_access.py:124 | share type access delete |
| Failed to remove qos type spec: %s | CommandError | manilaclient/osc/v2/qos_types.py:254 | share qos type unset |
| Failed to remove share type extra spec: {e} | CommandError | manilaclient/osc/v2/share_types.py:412 | share type unset |
| Failed to remove share type group extra spec: {e} | CommandError | manilaclient/osc/v2/share_group_types.py:376 | share group type unset |
| Failed to restore %(failure_count)s out of %(total)s shares. | CommandError | manilaclient/osc/v2/share.py:1833 | share restore |
| Failed to resync share replica: %(e)s | CommandError | manilaclient/osc/v2/share_replicas.py:656 | share replica resync |
| Failed to revert share to snapshot: %(e)s | CommandError | manilaclient/osc/v2/share.py:1591 | share revert |
| Failed to set access level to share access rule with ID '{access_rule.id}': {e} | CommandError | manilaclient/osc/v2/share_access_rules.py:513 | share access set |
| Failed to set export location property '%(properties)s': %(e)s | CommandError | manilaclient/osc/v2/share.py:1459 | share export location set |
| Failed to set properties to share access rule with ID '{access_rule.id}': {e} | CommandError | manilaclient/osc/v2/share_access_rules.py:502 | share access set |
| Failed to set qos type description: %s | CommandError | manilaclient/osc/v2/qos_types.py:191 | share qos type set |
| Failed to set qos type spec: %s | CommandError | manilaclient/osc/v2/qos_types.py:201 | share qos type set |
| Failed to set quotas for class '%(project)s': '%(e)s' | CommandError | manilaclient/osc/v2/quotas.py:282 | share quota set |
| Failed to set quotas for project '%(project)s': '%(e)s' | CommandError | manilaclient/osc/v2/quotas.py:304 | share quota set |
| Failed to set share group type key: {e} | CommandError | manilaclient/osc/v2/share_group_types.py:328 | share group type set |
| Failed to set share type key: {e} | CommandError | manilaclient/osc/v2/share_types.py:376 | share type set |
| Failed to set subnet property '%(properties)s': %(e)s | CommandError | manilaclient/osc/v2/share_network_subnets.py:357 | share network subnet set |
| Failed to unset name or description for share group snapshot : {e} | CommandError | manilaclient/osc/v2/share_group_snapshots.py:322 | share group snapshot unset |
| Failed to unset properties for share access rule with ID '{access_rule.id}': {e} | CommandError | manilaclient/osc/v2/share_access_rules.py:560 | share access unset |
| Failed to unset qos type description: %s | CommandError | manilaclient/osc/v2/qos_types.py:245 | share qos type unset |
| Failed to unset share_group name or description: %(e)s | CommandError | manilaclient/osc/v2/share_groups.py:583 | share group unset |
| Failed to unset snapshot display name or display description: %(e)s | CommandError | manilaclient/osc/v2/share_snapshots.py:403 | share snapshot unset |
| Failed to unset snapshot property '%(key)s': %(e)s | CommandError | manilaclient/osc/v2/share_snapshots.py:412 | share snapshot unset |
| Failed to update share snapshot instance status: %(e)s | CommandError | manilaclient/osc/v2/share_snapshot_instances.py:164 | share snapshot instance set |
| Filtering access rules by access_type, access_key, access_to and access_level is available starting from API version 2.82. | CommandError | manilaclient/osc/v2/share_access_rules.py:337 | share access list |
| Filtering access rules by properties is supported only with API microversion 2.45 and beyond. | CommandError | manilaclient/osc/v2/share_access_rules.py:360 | share access list |
| Filtering by 'extra_specs' is available only with API microversion '2.43' and above. | CommandError | manilaclient/osc/v2/share_types.py:453 | share type list |
| Filtering by export location is only available with manila API version >= 2.35 | CommandError | manilaclient/osc/v2/share.py:742, manilaclient/osc/v2/share_instances.py:126 | share instance list, share list |
| Filtering by identifier is only allowed with manila API version >= 2.49. | CommandError | manilaclient/osc/v2/share_servers.py:200 | share server list |
| Filtering by source_share_server_id is only allowed with manila API version >= 2.57. | CommandError | manilaclient/osc/v2/share_servers.py:216 | share server list |
| Filtering messages by 'since' and 'before' is possible only with Manila API version >=2.52 | CommandError | manilaclient/osc/v2/messages.py:171 | share message list |
| Filtering results by security service Default AD site is available only for microversion >= 2.76 | CommandError | manilaclient/osc/v2/security_services.py:630 | share security service list |
| Filtering results by security service Organizational Unit is available only for microversion >= 2.44 | CommandError | manilaclient/osc/v2/security_services.py:617 | share security service list |
| Filtering results by share type is only available with manila API version >= 2.23 | CommandError | manilaclient/osc/v2/share_pools.py:84 | share pool list |
| Filtering services whether they are running ensure shares or not is only supported by manila API version >= 2.93 | CommandError | manilaclient/osc/v2/services.py:162 | share service list |
| Filtering shares by availability zone is only available with manila API version >= 2.97 | CommandError | manilaclient/osc/v2/share.py:758 | share list |
| Filtering shares by encryption key ref is only available with manila API version >= 2.90 | CommandError | manilaclient/osc/v2/share.py:750 | share list |
| Filtering soft deleted shares is only available with manila API version >= 2.69 | CommandError | manilaclient/osc/v2/share.py:734 | share list |
| Following options were duplicated: {duplicate_str} | CommandError | manilaclient/osc/utils.py:40 | share backup create, share create, share list (+2) |
| Forbidden to get access list for public share group type. | CommandError | manilaclient/osc/v2/share_group_type_access.py:112 | share group type access list |
| Forbidden to get access list for public share type. | CommandError | manilaclient/osc/v2/share_type_access.py:80 | share type access list |
| Invalid format of client version '%s'. Expected format 'X.Y', where X is a major part and Y is a minor part of version. | UnsupportedVersion | manilaclient/api_versions.py:67 | share access create, share access delete, share access list (+49) |
| Lock reason can only be set while locking the deletion or visibility. | CommandError | manilaclient/osc/v2/share_access_rules.py:150 | share access create |
| Must provide new security service with --check-only and --restart-check. | CommandError | manilaclient/osc/v2/share_networks.py:581 | share network set |
| Neutron network '{neutron_net_id}' not found. | CommandError | manilaclient/osc/v2/share_network_subnets.py:152 | share network subnet create |
| Neutron network '{parsed_args.neutron_net_id}' not found. | CommandError | manilaclient/osc/v2/share_networks.py:353 | share network create |
| Neutron subnet '{neutron_subnet_id}' not found. | CommandError | manilaclient/osc/v2/share_network_subnets.py:162 | share network subnet create |
| Neutron subnet '{parsed_args.neutron_subnet_id}' not found. | CommandError | manilaclient/osc/v2/share_networks.py:363 | share network create |
| Nothing to set. New quota must be specified to at least one of the following resources: 'shares', 'snapshots', 'gigabytes', 'snapshot-gigabytes', 'share-networks', 'share-type', 'share-groups', 'share-group-snapshots', ' | CommandError | manilaclient/osc/v2/quotas.py:258 | share quota set |
| Nothing to set. Please define a '--status'. | CommandError | manilaclient/osc/v2/share_instances.py:197 | share instance set |
| Nothing to set. Please define either '--replica_state' or '--status' or '--property'. | CommandError | manilaclient/osc/v2/share_replicas.py:495 | share replica set |
| One or more of the reset operations failed | CommandError | manilaclient/osc/v2/share_servers.py:552 | share server set |
| One or more of the set operations failed | CommandError | manilaclient/osc/v2/share.py:969, manilaclient/osc/v2/share_backups.py:446, manilaclient/osc/v2/share_group_snapshots.py:272 (+4) | share backup set, share group set, share group snapshot set (+4) |
| One or more of the unset operations failed | CommandError | manilaclient/osc/v2/share.py:1040, manilaclient/osc/v2/share_networks.py:813, manilaclient/osc/v2/share_replicas.py:559 | share network unset, share replica unset, share unset |
| One or more set operations failed: {e} | CommandError | manilaclient/osc/v2/security_services.py:347 | share security service set |
| One or more unset operations failed: {e} | CommandError | manilaclient/osc/v2/security_services.py:471 | share security service unset |
| Option to unset properties of access rule is available only for API microversion 2.45 and higher | CommandError | manilaclient/osc/v2/share_access_rules.py:570 | share access unset |
| Parsing error, expected format 'key=value' for | CommandError | manilaclient/osc/utils.py:65 | share access create, share access list, share adopt (+2) |
| Pattern based filtering (name~ and description~) is only available with manila API version >= 2.36 | CommandError | manilaclient/osc/v2/share.py:771 | share list |
| Pattern based filtering (name~, description~ and description) is only available with manila API version >= 2.36 | CommandError | manilaclient/osc/v2/share_groups.py:419, manilaclient/osc/v2/share_networks.py:208, manilaclient/osc/v2/share_snapshots.py:565 | share group list, share network list, share snapshot list |
| performing targeted restores is only available for API microversion >= 2.91 | CommandError | manilaclient/osc/v2/share_backups.py:343 | share backup restore |
| Please specify '--property <key>' to unset a property. | CommandError | manilaclient/osc/v2/share_replicas.py:563 | share replica unset |
| Please specify '--property <key>' to unset a property. | CommandError | manilaclient/osc/v2/share_access_rules.py:565 | share access unset |
| Property based filtering is only available with manila API version >= 2.95 | CommandError | manilaclient/osc/v2/share_replicas.py:267 | share replica list |
| Property can be specified only with manila API version >= 2.78. | CommandError | manilaclient/osc/v2/share_network_subnets.py:130, manilaclient/osc/v2/share_network_subnets.py:340, manilaclient/osc/v2/share_network_subnets.py:399 | share network subnet create, share network subnet set, share network subnet unset |
| Property can be specified only with manila API version >= 2.87. | CommandError | manilaclient/osc/v2/share.py:1446, manilaclient/osc/v2/share.py:1506 | share export location set, share export location unset |
| Property cannot be specified with check operation. | CommandError | manilaclient/osc/v2/share_network_subnets.py:172 | share network subnet create |
| Provide resource ID or specify --resource-type. | CommandError | manilaclient/osc/v2/resource_locks.py:323 | share lock list |
| Restart check can be specified only with manila API version >= 2.70. | CommandError | manilaclient/osc/v2/share_network_subnets.py:121 | share network subnet create |
| Restoring a share from the recycle bin is only available with manila API version >= 2.69 | CommandError | manilaclient/osc/v2/share.py:1841 | share restore |
| Restricted access rules are only available starting from API version 2.82. | CommandError | manilaclient/osc/v2/share_access_rules.py:141, manilaclient/osc/v2/share_access_rules.py:243 | share access create, share access delete |
| Selecting a share server ID is available only for API microversion >= 2.49 | CommandError | manilaclient/osc/v2/share.py:1249 | share adopt |
| Service disable reason can be specified only with manila API version >= 2.83 | CommandError | manilaclient/osc/v2/services.py:83 | share service set |
| Set operation failed | CommandError | manilaclient/osc/v2/share_instances.py:194 | share instance set |
| Setting (new) description to share type is only available with API microversion >= 2.50 | CommandError | manilaclient/osc/v2/share_types.py:352 | share type set |
| Setting (new) name to share type is only available with API microversion >= 2.50 | CommandError | manilaclient/osc/v2/share_types.py:344 | share type set |
| Setting a security service Organizational Unit is available only for microversion >= 2.44 | CommandError | manilaclient/osc/v2/security_services.py:320 | share security service set |
| Setting access level to access rule is supported only with API microversion 2.88 and higher | CommandError | manilaclient/osc/v2/share_access_rules.py:488 | share access set |
| Setting metadtaa is only available with manila API version >= 2.73 | CommandError | manilaclient/osc/v2/share_snapshots.py:89 | share snapshot create |
| Setting properties in share replicas is available only starting with API microversion '2.95'. | CommandError | manilaclient/osc/v2/share_replicas.py:472 | share replica set |
| Setting properties to access rule is supported only with API microversion 2.45 and higher | CommandError | manilaclient/osc/v2/share_access_rules.py:479 | share access set |
| Setting share encryption key reference is available only for API microversion >= 2.90 | CommandError | manilaclient/osc/v2/share.py:287 | share create |
| Setting share mount point name is available only for API microversion >= 2.84 | CommandError | manilaclient/osc/v2/share.py:277 | share create |
| Setting share mount point name is available only for API microversion >= 2.92 | CommandError | manilaclient/osc/v2/share.py:1258 | share adopt |
| Setting share scheduler hints for a share is available only for API microversion >= 2.65 | CommandError | manilaclient/osc/v2/share.py:297 | share create |
| Setting share visibility while adopting a share is available only for API microversion >= 2.8 | CommandError | manilaclient/osc/v2/share.py:1240 | share adopt |
| setting the capacity of share replicas in total is available only starting with API microversion '2.53'. | CommandError | manilaclient/osc/v2/quotas.py:230 | share quota set |
| setting the number of 'share replicas' is available only starting with API microversion '2.53'. | CommandError | manilaclient/osc/v2/quotas.py:221 | share quota set |
| Setting the state of a share server is only available with manila API version >= 2.57 | CommandError | manilaclient/osc/v2/share_servers.py:532 | share server set |
| Setting visibility to share type is only available with API microversion >= 2.50 | CommandError | manilaclient/osc/v2/share_types.py:362 | share type set |
| Share name cannot be with the value 'None' | CommandError | manilaclient/osc/v2/share.py:231 | share create |
| Share network subnet can be specified only with manila API version >= 2.51 | CommandError | manilaclient/osc/v2/share_servers.py:208, manilaclient/osc/v2/share_servers.py:337 | share server adopt, share server list |
| Share not available after resize attempt. | CommandError | manilaclient/osc/v2/share.py:1117 | share resize |
| Share not available after revert attempt. | CommandError | manilaclient/osc/v2/share.py:1598 | share revert |
| Share resize failed: %(e)s | CommandError | manilaclient/osc/v2/share.py:1090, manilaclient/osc/v2/share.py:1107 | share resize |
| Share Server Migration cancel is only available with manila API version >= 2.57 | CommandError | manilaclient/osc/v2/share_servers.py:583 | share server migration cancel |
| Share Server Migration complete is only available with manila API version >= 2.57 | CommandError | manilaclient/osc/v2/share_servers.py:611 | share server migration complete |
| Share Server Migration is only available with manila API version >= 2.57 | CommandError | manilaclient/osc/v2/share_servers.py:760 | share server migration start |
| Share Server Migration show is only available with manila API version >= 2.57 | CommandError | manilaclient/osc/v2/share_servers.py:647 | share server migration show |
| Share size is already at %(new_size)s GiBs | CommandError | manilaclient/osc/v2/share.py:1110 | share resize |
| Soft Deleting shares is only available with manila API version >= 2.69 | CommandError | manilaclient/osc/v2/share.py:427 | share delete |
| The only valid key supported with the --scheduler-hint argument is 'only_host'. | CommandError | manilaclient/osc/v2/share_replicas.py:103 | share replica create |
| There is no default share type available. You must pick a valid share type to create a share. | CommandError | manilaclient/osc/v2/share.py:250 | share create |
| timed out while waiting for deletion | Exception | manilaclient/osc/v2/share_access_rules.py:256 | share access delete |
| Unable to delete some or all of the specified locks. | CommandError | manilaclient/osc/v2/resource_locks.py:140 | share lock delete |
| Unable to delete some or all of the specified messages. | CommandError | manilaclient/osc/v2/messages.py:73 | share message delete |
| Unable to delete some or all of the specified transfers. | CommandError | manilaclient/osc/v2/share_transfers.py:109 | share transfer delete |
| Unsetting a security service Default AD site is available only for microversion >= 2.76 | CommandError | manilaclient/osc/v2/security_services.py:461 | share security service unset |
| Unsetting a security service Organizational Unit is available only for microversion >= 2.44 | CommandError | manilaclient/osc/v2/security_services.py:447 | share security service unset |
| Unsupported resource type | CommandError | manilaclient/osc/v2/resource_locks.py:316, manilaclient/osc/v2/resource_locks.py:92 | share lock create, share lock list |
| Use of {' '.join(invalid_args)} is only available for API microversions >= 2.63. | CommandError | manilaclient/osc/v2/share_networks.py:572 | share network set |
| Wrong format: specs should be key=value pairs. | CommandError | manilaclient/osc/utils.py:93 | share group type create, share group type list, share group type set (+3) |
| {result} of {total} export location properties failed to be unset. | CommandError | manilaclient/osc/v2/share.py:1529 | share export location unset |
| {result} of {total} security services failed to be deleted. | CommandError | manilaclient/osc/v2/security_services.py:194 | share security service delete |
| {result} of {total} share group snapshots failed to delete. | CommandError | manilaclient/osc/v2/share_group_snapshots.py:154 | share group snapshot delete |
| {result} of {total} share network subnets failed to be deleted. | CommandError | manilaclient/osc/v2/share_network_subnets.py:250 | share network subnet delete |
| {result} of {total} share networks failed to be deleted. | CommandError | manilaclient/osc/v2/share_networks.py:451 | share network delete |
| {result} of {total} subnet properties failed to be unset. | CommandError | manilaclient/osc/v2/share_network_subnets.py:425 | share network subnet unset |
Source: reverse-spec-python-manilaclient/02-errors_stable-2026.2.md. The _rewrite/ and _inventory/ files are not published on the site.