ECS: Cannot Delete Namespace as it is Not Empty

Summary: An ECS namespace cannot be deleted from UI when all the buckets under the namespace are already deleted and the object count and total object size is reported as zero under the namespace. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

The ECS namespace cannot be deleted until all the object users created under it are deleted.
 
Namespace Cannot Be Deleted As It Is Not Empty
Figure 1: Namespace Cannot Be Deleted As It Is Not Empty
 
admin@ecsnode2:~> svc_ns info example_ns
svc_ns v1.0.8 (svc_tools v2.10.0)                 Started 2023-03-30 14:34:26


Namespace ID                     example_ns

  Name                           example_ns
  Inactive                       False
  ADO Enabled                    True
  Compliance Enabled             False
  Encryption Enabled             True
  Default Replication Group      urn:storageos:ReplicationGroupInfo:d8d6eae7-4e9a-4cd1-8ac6-e85f060d2c3f:global        (RG1)
  URL                            /object/namespaces/namespace/example_ns

  Object count                   0
  Total Object Size              0
admin@ecsnode2:~>

Run the below command from ECS CLI to find out the object users associated with the namespace to be deleted. 
svc_user list | grep -i <namespace>
Example:
svc_user list | grep -i "example_ns."
Where we are listing object users associated with namespace "example_ns"

The namespace can be deleted once all object users under the namespace are successfully deleted.

Affected Products

ECS, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3

Products

ECS Appliance Hardware Gen3 EX5000, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series , ECS Appliance Hardware Gen2 D-Series, ECS Appliance Hardware Gen2 U-Series, ECS Appliance Hardware Gen3 EX500, ECS Appliance Hardware Gen3 EXF900, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, ECS Software ...
Article Properties
Article Number: 000211883
Article Type: How To
Last Modified: 26 Jun 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.