NSX-T "Plan & Troubleshoot" tab shows "Something went wrong" or NSX UI shows distorted wording after deletion or removal of the NAPP feature
search cancel

NSX-T "Plan & Troubleshoot" tab shows "Something went wrong" or NSX UI shows distorted wording after deletion or removal of the NAPP feature

book

Article ID: 371008

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

In VMware NSX-T 3.x and NSX 4.x, when NAPP were removed either through the UI or force deletion using vCenter. 

  • There may have an error message "Something went wrong" under "Plan & Troubleshoot".
  • There may have extra wordings under
    • "System" tab such as "Navigation" right next to "NSX intelligence" (See below screenshots)
    •  "Plan & Troubleshoot" tab right next to "Discover & Take Action" (See below screenshots)
    • "Security" tab right next to "Malware Prevention" (See below screenshots)

 

When using API call: GET  /policy/api/v1/infra/domains/default/groups/sites/napp/registration

A similar result may display as the following:

{"module_name" : "common-services",     "error_message" : "The requested URI: /api/v1/infra/domains/default/groups/sites/napp/registration could not be found.",     "error_code" : 258 }

Environment

VMware NSX-T 3.2.x and VMware NSX 4.x

Cause

This issue is usually accompanied by force deletion of the NAPP VMs, or a failure of deletion of NAPP feature from NSX UI when the cleanup process is not triggered for the stale web elements on the NSX UI. 

Resolution

Please consult this KB article on how to remove the NAPP feature: https://knowledge.broadcom.com/external/article?articleNumber=368795

 

To resolve this issue, use a REST API client to run the two following API calls, exactly as shown below, against one of the NSX managers:

Please add "X-Allow-Overwrite: true" to the header of the DELETE request if it shows 4xx errors. 

Depending on where the distortion text is shown in the UI, run the following DELETE API calls matching the location.

  • Under "System" tab: 
    • DELETE https://nsx-manager-ip/policy/api/v1/ui-controller/remote-ui-plugins/platform-ui
    • DELETE https://nsx-manager-ip/policy/api/v1/ui-controller/remote-ui-plugins/upgrade-ui
  • Under "Security" tab: 
    • DELETE https://nsx-manager-ip/policy/api/v1/ui-controller/remote-ui-plugins/antimalware-ui
  • For all tabs:
    • DELETE https://nsx-manager-ip/policy/api/v1/ui-controller/remote-ui-plugins/pace-ui
    • PUT https://nsx-manager-ip/policy/api/v1/ui-controller/remote-ui-plugins/pace-ui
      • With the following in the body of the PUT request:
      • {
            "id": "pace-ui",
            "url": "/nsx/intelligence-ui/",
            "navItems": [
                {
                    "navId": "nsx-intelligence-ui-placeholder-home",
                    "title": "plugin.placeholder.title",
                    "parentModule": "tools",
                    "siblingNavItem": "troubleShootingTools",
                    "insertBeforeSibling": true,
                    "children": [
                        {
                            "navId": "nsx-intelligence-placeholder-home-security-posture",
                            "title": "plugin.placeholder.discoverandtakeaction",
                            "iconUrl": "assets/img/discover.svg",
                            "insertBeforeSibling": false,
                            "routerLink": "securityposture",
                            "childRoute": "/#/placeholder/visualization",
                            "rbacFeature": [
                                "policy_napp"
                            ],
                            "isCollapsible": false,
                            "childrenExpanded": false
                        },
                        {
                            "navId": "nsx-intelligence-placeholder-home-recommendations",
                            "title": "plugin.placeholder.recommendations",
                            "iconUrl": "assets/img/recommendations.svg",
                            "insertBeforeSibling": false,
                            "routerLink": "recommendations",
                            "childRoute": "/#/placeholder/recommendations",
                            "rbacFeature": [
                                "policy_napp"
                            ],
                            "isCollapsible": false,
                            "childrenExpanded": false
                        }
                    ],
                    "isCollapsible": false,
                    "childrenExpanded": false
                },
                {
                    "navId": "nsx-intelligence-anomaly-detection",
                    "title": "plugin.nav.title.threat.detections",
                    "iconUrl": "assets/img/anomaly.svg",
                    "parentModule": "security",
                    "siblingNavItem": "urlAnalysisUrls",
                    "insertBeforeSibling": true,
                    "routerLink": "anomalydetection",
                    "childRoute": "/#/placeholder/anomaly/home",
                    "rbacFeature": [
                        "policy_napp"
                    ],
                    "isCollapsible": false,
                    "childrenExpanded": false
                }
            ],
            "plugin_items": [
                {
                    "col_span": 12,
                    "child_route": "#/placeholder/anomaly/dashboard",
                    "min_height": "265px",
                    "item_id": "nsxi-ui-anomaly-security-dashboard-widget",
                    "item_type": "RemoteDashboardContainer",
                    "parent_item": "dashboard_security_insights",
                    "rbac_feature": [
                        "policy_napp"
                    ]
                }
            ],
            "featurePermissionUrl": "../../policy/api/v1/aaa/user-info/permissions",
            "translations": {
                "en-US": {
                    "plugin.placeholder.title": "Discover & Plan",
                    "plugin.placeholder.discoverandtakeaction": "Discover & Take Action",
                    "plugin.placeholder.recommendations": "Recommendations",
                    "plugin.nav.title.network.traffic.analysis": "Network Traffic Analysis",
                    "plugin.nav.title.threat.detections": "Suspicious Traffic"
                },
                "de-DE": {
                    "plugin.placeholder.title": "Erkennen und planen",
                    "plugin.placeholder.discoverandtakeaction": "Erkennen und aktiv werden",
                    "plugin.placeholder.recommendations": "Empfehlungen",
                    "plugin.nav.title.network.traffic.analysis": "Analyse des Netzverkehrs",
                    "plugin.nav.title.threat.detections": "Bedrohungserkennungen"
                },
                "es-ES": {
                    "plugin.placeholder.title": "Detectar y planificar",
                    "plugin.placeholder.discoverandtakeaction": "Detectar y actuar",
                    "plugin.placeholder.recommendations": "Recomendaciones",
                    "plugin.nav.title.network.traffic.analysis": "Análisis de tráfico de red",
                    "plugin.nav.title.threat.detections": "Detecciones de amenazas"
                },
                "fr-FR": {
                    "plugin.placeholder.title": "Découvrir et planifier",
                    "plugin.placeholder.discoverandtakeaction": "Découvrir et résoudre",
                    "plugin.placeholder.recommendations": "Recommandations",
                    "plugin.nav.title.network.traffic.analysis": "Analyse du trafic réseau",
                    "plugin.nav.title.threat.detections": "Détections des menaces"
                },
                "it-IT": {
                    "plugin.placeholder.title": "Scopri e pianifica",
                    "plugin.placeholder.discoverandtakeaction": "Scopri e intervieni",
                    "plugin.placeholder.recommendations": "Consigli",
                    "plugin.nav.title.network.traffic.analysis": "Rilevamento delle minacce e risposta",
                    "plugin.nav.title.threat.detections": "Traffico sospetto"
                },
                "ja-JP": {
                    "plugin.placeholder.title": "検出とプラン",
                    "plugin.placeholder.discoverandtakeaction": "検出とアクションの実行",
                    "plugin.placeholder.recommendations": "推奨事項",
                    "plugin.nav.title.network.traffic.analysis": "ネットワーク トラフィックの分析",
                    "plugin.nav.title.threat.detections": "脅威の検出"
                },
                "ko-KR": {
                    "plugin.placeholder.title": "검색 및 계획",
                    "plugin.placeholder.discoverandtakeaction": "검색 및 작업",
                    "plugin.placeholder.recommendations": "권장 사항",
                    "plugin.nav.title.network.traffic.analysis": "네트워크 트래픽 분석",
                    "plugin.nav.title.threat.detections": "위협 감지"
                },
                "zh-CN": {
                    "plugin.placeholder.title": "检测和规划",
                    "plugin.placeholder.discoverandtakeaction": "检测和采取措施",
                    "plugin.placeholder.recommendations": "建议",
                    "plugin.nav.title.network.traffic.analysis": "网络流量分析",
                    "plugin.nav.title.threat.detections": "威胁检测"
                },
                "zh-TW": {
                    "plugin.placeholder.title": "探索和計劃",
                    "plugin.placeholder.discoverandtakeaction": "探索和採取動作",
                    "plugin.placeholder.recommendations": "建議",
                    "plugin.nav.title.network.traffic.analysis": "網路流量分析",
                    "plugin.nav.title.threat.detections": "威脅偵測"
                }
            },
            "cachingEnabled": false
        }