ECS:エラー40019(http: 409): ネームスペースが空ではありません。ネームスペースは空でないため削除できません

Summary: このナレッジベース記事では、ユーザーがネームスペースを削除できない理由について説明します。

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.

Symptoms

UIからネームスペースを削除すると、次のアラートが表示されます。
Error 40019 (http: 409): Namespace not empty. Namespace cannot be deleted as its not empty. Please make sure all users and buckets are deleted from the namespace.

Cause

シナリオ1
ユーザーはレガシー オブジェクト ユーザーを使用しており、IDおよびアクセス マネジメント(IAM)を使用していません。また、ネームスペースに関連づけられているすべてのユーザーとバケットを削除しませんでした。

シナリオ2
ユーザーはIAMエンティティーをレガシー オブジェクト ユーザーとともに使用しており、ネームスペースに関連づけられているすべてのIAMエンティティー(IAMユーザー、ロール、グループ、ポリシー)を削除しませんでした。

Resolution

シナリオ1
1: コマンド svc_bucket list | grep <namespace name> をクリックすると、このネームスペースに関連付けられているバケットがないことがわかります。
2: コマンド svc_user list | grep <namespace name> このネームスペースにまだ関連づけられているユーザーがいないことを確認します
3: ネームスペースからすべてのレガシー オブジェクト ユーザーとバケットを削除したら、UIで削除を続行します

シナリオ2
1: コマンド svc_bucket list | grep <namespace name>  をクリックすると、このネームスペースに関連付けられているバケットがないことがわかります。
2: コマンド svc_user list | grep <namespace name> このネームスペースにまだ関連づけられているユーザーがいないことを確認します
3: ログで以下のエラーを検索して、ユーザーがIAMエンティティーを使用していることを確認します。
# svc_log -f "Error 40019" -sr all -n all -sf -start "1 day ago"

169.254.1.1 ecsportalsvc.log.20221209-123634.gz 2022-12-27 09:32:59,779 [play-thread-11] ERROR  Logger.java (line 608) Error 40019 (http: 409): Namespace not empty. Namespace cannot be deleted as its not empty. Please make sure all users and buckets are deleted from the namespace
com.emc.ecs.client.exceptions.ServiceErrorException: Error 40019 (http: 409): Namespace not empty. Namespace cannot be deleted as its not empty. Please make sure all users and buckets are deleted from the namespace

# svc_log  -f "namespace1" -sr objcontrolsvc -n all -sf | grep ERROR -A5 -B5

169.254.1.1 objcontrolsvc.log 2022-12-27T12:33:18,628 [qtp483722291-1018448-d4714582:17dcfd4591d:76a8b:1b1] ERROR  ResourceClient.java (line 331) request id d4714582:17dcfd4591d:76a8b:1bc, command type REQUEST_NAMESPACE_DELETE failed with error code ERROR_NAMESPACE_NOT_EMPTY and message 'Namespace schemaType NAMESPACE_KEY namespaceId namespace1 has iam entities associated with it'

4:このエラーが見つかると、ユーザーはこのネームスペースでIAMエンティティーを使用しています。ユーザーは、UIでrootユーザーを使用して、このネームスペースに関連づけられているすべてのIAMエンティティーを削除する必要があります(ユーザー、ロール、グループ、ユーザー定義ポリシー)。

5: すべてのレガシー オブジェクト ユーザー、バケット、IAMエンティティーがネームスペースから削除されたら、UIで削除に進みます。

Affected Products

ECS
Article Properties
Article Number: 000207050
Article Type: Solution
Last Modified: 26 Sept 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.