Stale static route exists on Tier-0 Gateway of Global Manager
search cancel

Stale static route exists on Tier-0 Gateway of Global Manager

book

Article ID: 407135

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • You are using federation environment 
  • As part of DR activity or new changes in environment, new static routes has been added and deleted in later days.
  • After triggering delete operation from UI, the routes deletion stuck in progress.


  • The static routes shows as marked_for_delete as true while validating through API: 
    GET https://{mgrIP}/global-manager/api/v1/global-infra/tier-0s/{tier-0-id}/static-routes?include_mark_for_delete_objects=true

    "results": [

    "network": "10.##.##.##/32",
    "next_hops": [

    "ip_address": "10.##.#0.1",
    "admin distance": 1

    "enabled_on_secondary": false,
    "resource_type": "StaticRoutes",
    "id": "####0f70-####-49f2-88e1-25bdfa######",
    "display_name": "DR-10.##.##.##",
    "path": "/global-infra/tier-0s/{tier0_id}/static-routes/####0f70-####-49f2-####-25bdfa######",
    "relative_path": "####0f70-####-49f2-88e1-25bdfa######",
    "parent_path": "/global-infra/tier-0s/TO-Gateway",
    "unique_id": "####0024-####-4704-####-48f3a#######",
    "marked_for_delete": true,
    "overridden": false,
    " create time": 175########103,
    " create user": "[email protected]",
    " last_modified_time": 175########080,
    _last_modified_user": "[email protected]",
    "_system_owned": false,
    protection": "NOT_PROTECTED",
    _revision": 1

    "network": "10.##.##.##/32",
    "next_hops": [

    "ip_address": "10.##.##.1",
    "admin distance": 1



Environment

VMware NSX-T Data Center
VMware NSX

Cause

The Global Manager failed to fully complete the deletion of the static routes from its policy state, resulting stuck in a marked_for_delete status. 

Resolution

A cleanup is required and so reach out to Broadcom support.
See Creating and managing Broadcom support cases for details on opening a case. 

Additional Information

Impact/Risks:
There is no real impact however the deleted object is still seen in the UI and in the related API response.