Hi all,
Is it possible to force uninstall NSX Application Platform from NSX Manager?
At one point, all Features down and I decided to remove them and reinstall them. But the removal process is stuck.
Followed the points of the manual (https://docs.vmware.com/en/VMware-NSX/4.0/nsx-application-platform/GUID-836D6E37-BA43-4FEE-A7C2-3146...) And now when I open the NSX Application Platform I get - "Something went wrong
Failed to load. Please try again or contact support, if the problem persists.
TRY AGAIN"
how can i reinstall napp without reinstalling manager?
Thanks.
First curl -sku admin:enterpassword -X PATCH 'https://nsxfqdn/policy/api/v1/infra/sites/default/napp/deployment/platform' -H "Content-Type: application/json" -d '{"deployment_action":{"action": "FORCE_UNDEPLOY"}}'
The same problem at my test environment. I lost my k8s cluster and can't disable NAPP
It's possible to disable napp from cli?
First curl -sku admin:enterpassword -X PATCH 'https://nsxfqdn/policy/api/v1/infra/sites/default/napp/deployment/upgrade-coordinator' -H "Content-Type: application/json" -d '{"deployment_action":{"action": "FORCE_UNDEPLOY"}}'
Then the same command but replace upgrade-coordinator with platform. You may only need the second command, you can try with it first, if it complains about upgrade coordinator then you can run the first one.
Got error when run this command:
{
"httpStatus" : "BAD_REQUEST",
"error_code" : 46054,
"module_name" : "NAPP",
"error_message" : "Deployment action FORCE_UNDEPLOY is not allowed as Upgrade Coordinator is NOT_DEPLOYED."
Looks like you tried to run the remove for upgrade coordinator, try to remove the platform directly.
how i can remove platform directly?
When i try it from UI i got error:
Something went wrong. Failed to load. Please try again or contact support, if the problem persists.
Is any way to make it via cli or api?
In my first response I mentioned how to do it. Run the exact same command but replace the part of the command from upgrade-coordinator with platform.
Thank you for response
Can you show me example for it?
First curl -sku admin:enterpassword -X PATCH 'https://nsxfqdn/policy/api/v1/infra/sites/default/napp/deployment/platform' -H "Content-Type: application/json" -d '{"deployment_action":{"action": "FORCE_UNDEPLOY"}}'
Thank you very match!!!!
It's resolve my problem
Thank you again