Manila shares set to 'error_deleting' with access rule removal failures during deletion

Solution Verified - Updated -

Issue

Manila shares stuck in error_deleting state and cannot be removed.

$ manila show  myshare
+---------------------------------------+---------------------------------------------------------------------------+
| Property                              | Value                                                                     |
+---------------------------------------+---------------------------------------------------------------------------+
| id                                    | 83b0772b-00ad-4e45-8fad-106b9d4f1719                                      |
| size                                  | 5                                                                         |
| availability_zone                     | nova                                                                      |
| created_at                            | 2022-12-06T12:31:40.000000                                                |
| status                                | error_deleting                                                            |
| name                                  | myshare                                  |
| description                           | provisioned-by=manila.csi.openstack.org                                   |
| project_id                            | d9932a60d9ee4087b6cff9ce6e9b4e3b                                         |
| snapshot_id                           | None                                                                      |
| share_network_id                      | None                                                                      |
| share_proto                           | NFS                                                                       |
| metadata                              | {'manila.csi.openstack.org/cluster': 'cicd-f58nc'}                        |
| share_type                            | af7b64ec-cdb3-4a5f-93c9-51672d72e172                                       |
| is_public                             | False                                                                     |
| snapshot_support                      | True                                                                      |
| task_state                            | None                                                                      |
| share_type_name                       | ceph                                                                      |
| access_rules_status                   | active                                                                    |
| replication_type                      | None                                                                      |
| has_replicas                          | False                                                                     |
| user_id                               | 2cebd96a794f431caa06ce5215e0da21         |
| create_share_from_snapshot_support    | False                                                                     |
| revert_to_snapshot_support            | False                                                                     |
| share_group_id                        | None                                                                      |
| source_share_group_snapshot_member_id | None                                                                      |
| mount_snapshot_support                | False                                                                     |
| share_server_id                       | None                                                                      |
| host                                  | hostgroup@cephfs#cephfs                                                   |
| export_locations                      |                                                                           |
|                                       | id = 908e5a28-c5ea-4627-b17c-1cfeb894ccd1                                  |
|                                       | path = 10.0.0.11:/sharevolumes_10034/share_83b0772b_00ad_4e45_8fad_106b9d4f1719_da404d59_4280_4b32_847f_6cfa4f730bbd | |
|                                       | preferred = False                                                         |
|                                       | share_instance_id = a257d35b-d254-4dff-9dac-657bcb1625fc                  |
|                                       | is_admin_only = False                                                     |
+---------------------------------------+---------------------------------------------------------------------------+
$ manila delete myshare
$ manila show  myshare
+---------------------------------------+---------------------------------------------------------------------------+
| Property                              | Value                                                                     |
+---------------------------------------+---------------------------------------------------------------------------+
| id                                    | 83b0772b-00ad-4e45-8fad-106b9d4f1719                                      |
| size                                  | 5                                                                         |
| availability_zone                     | nova                                                                      |
| created_at                            | 2022-12-06T12:31:40.000000                                                |
| status                                | error_deleting                                                            |
| name                                  | myshare                                  |
| description                           | provisioned-by=manila.csi.openstack.org                                   |
| project_id                            | d9932a60d9ee4087b6cff9ce6e9b4e3b                                         |
| snapshot_id                           | None                                                                      |
| share_network_id                      | None                                                                      |
| share_proto                           | NFS                                                                       |
| metadata                              | {'manila.csi.openstack.org/cluster': 'cicd-f58nc'}                        |
| share_type                            | af7b64ec-cdb3-4a5f-93c9-51672d72e172                                       |
| is_public                             | False                                                                     |
| snapshot_support                      | True                                                                      |
| task_state                            | None                                                                      |
| share_type_name                       | ceph                                                                      |
| access_rules_status                   | active                                                                    |
| replication_type                      | None                                                                      |
| has_replicas                          | False                                                                     |
| user_id                               | 2cebd96a794f431caa06ce5215e0da21         |
| create_share_from_snapshot_support    | False                                                                     |
| revert_to_snapshot_support            | False                                                                     |
| share_group_id                        | None                                                                      |
| source_share_group_snapshot_member_id | None                                                                      |
| mount_snapshot_support                | False                                                                     |
| share_server_id                       | None                                                                      |
| host                                  | hostgroup@cephfs#cephfs                                                   |
| export_locations                      |                                                                           |
|                                       | id = 908e5a28-c5ea-4627-b17c-1cfeb894ccd1                                  |
|                                       | path = 10.0.0.11:/sharevolumes_10034/share_83b0772b_00ad_4e45_8fad_106b9d4f1719_da404d59_4280_4b32_847f_6cfa4f730bbd | |
|                                       | preferred = False                                                         |
|                                       | share_instance_id = a257d35b-d254-4dff-9dac-657bcb1625fc                  |
|                                       | is_admin_only = False                                                     |
+---------------------------------------+---------------------------------------------------------------------------+

Environment

RHOSP 16.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content