VCF NSX-T Edge Cluster Deployment Removal Tool を使った Tier-0 ゲートウェイの削除に失敗する
search cancel

VCF NSX-T Edge Cluster Deployment Removal Tool を使った Tier-0 ゲートウェイの削除に失敗する

book

Article ID: 431316

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

免責事項:これは英文の記事「Failed to delete Tier-0 Gateway with VCF NSX-T Edge Cluster Deployment Removal Tool」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

  • VCF NSX-T Edge Cluster Deployment Removal Tool の remove_edge_cluster.sh を実行している
  • スクリプトの出力は次のようになっている:
    Delete attempt failed for tier-0 (<TIER-0-GATEWAY>) /policy/api/v1/infra/tier-0s/<TIER-0-GATEWAY>:
    {'error_code': 500030,
     'error_message': 'The object path=[/infra/tier-0s/<TIER-0-GATEWAY>] '
                      'cannot be deleted as either it has children or it is being '
                      'referenced by other objects '
                      'path=[/infra/tier-0s/<TIER-0-GATEWAY>/static-routes/<STATIC_ROUTE>]',
     'httpStatus': 'BAD_REQUEST',
     'module_name': 'Policy'}
    Cleaner is stopping now.

Environment

NSX 9.0

Cause

Tier-0 ゲートウェイを削除するには、静的ルートなどのゲートウェイを参照するオブジェクトを削除する必要があります。

VCF NSX-T Edge Cluster Deployment Removal Toolによれば Edge クラスタ上の構成は手動で削除する必要があります。

Any additional services, interfaces or segments created/deployed on top of the Edge cluster deployment should either be deleted or unlinked. 

Resolution

  1. NSX UI で、[ネットワーク] > [Tier-0 ゲートウェイ] に移動し、ターゲットの Tier-0 ゲートウェイを編集します。
  2. ROUTING セクションで、すべての静的ルートを削除します。
  3. 編集を完了し閉じてください。
  4. remove_edge_cluster.sh を再度実行します。

Additional Information

When deleting a Tier-1 or Tier-0 it cannot be deleted because of referenced objects