How can we force remove an application stuck in a deleting state with services in an unknown state

Ben Way 0 Reputation points
2024-09-03T15:42:13.8966667+00:00

We have an application that is stuck in a deleting state in Service Fabric.

The application started out with 4 running services all in an Ok state.

1 was successfully removed, 2 are in an unknown state, and one seems to be undead and cannot be stopped.

We have tried running powershell commands to remove the application, services, and replicas with and without the -ForceRemove option. Nothing has worked.

When running Remove-ServiceFabricReplica on the one running service it does remove the service temporarily, but it immediately starts up again on a different node.

When running powershell commands against the service in the unknown status we get a "Service does not exist." error.

How can we get Service Fabric to actually force delete this application so we can redeploy a fresh application and services?Service Fabric

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
261 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.