Problem

The NSX Application Platform UI fails to load due to an incomplete cleanup of the previous deployment.

Cause

Due to an incomplete cleanup of the previous NSX Application Platform deployment, the NSX Manager attempts to load a stale NSX Application Platform deployment.

Solution

  1. Initiate the force delete NSX Application Platform API to fix the NSX Application Platform UI.
    PATCH: https://<nsx_ip>/policy/api/v1/infra/sites/default/napp/deployment/platform
    {"deployment_action":
        {
            "action": "FORCE_UNDEPLOY"
        }
    }
    The response is 200 OK, and the NSX Application Platform UI loads successfully.
    If the UI fails to load and displays an error message,
    Please delete Upgrade Coordinator before deleting NSX Application Platform.
    proceed to the next step to troubleshoot the error.
  2. Run the delete the upgrade coordinator command, remove the NSX Application Platform, and rerun the force delete API.
    PATCH : https://<nsx_ip>/policy/api/v1/infra/sites/default/napp/deployment/upgrade-coordinator 
    {"deployment_action":
        {
            "action": "FORCE_UNDEPLOY"
        }
    }
    The response is 200 OK, and the NSX Application Platform UI loads successfully.

    If the NSX Application Platform upgrade UI fails to load, proceed to the next step for further troubleshooting.

  3. Initiate the NSX Application Platform plug-in deletion to fix the upgrade UI.
    DELETE: https://<nsx_ip>/policy//api/v1/ui-controller/remote-ui-plugins/upgrade-ui
    and  
    DELETE: https://<nsx_ip>/policy/api/v1/ui-controller/remote-ui-plugins/platform-ui
    The response is 200 OK, and the NSX Application Platform UI loads successfully.