Azure Service Fabric Troubleshooting: "ServiceType has not been registered within the set timeout period."

I deployed the web API written with .net Core to a local Azure Service Fabric cluster on my machine. I have a lot of disk space, memory, etc., And the application is deployed there. However, success is intermittent. Sometimes it does not deploy to all nodes, and now I deployed it to all nodes, but on the Azure Service Fabric Manager page, I see that each application in each node has the Error status with the message: "ServiceType has not been registered for the set time expectations. " I DO NOT THINK that I will need to uninstall and reinstall everything. Is there any way to make it "re-register" the installed type of service? Microsoft's documentation is really very thin at eliminating these clusters.

+6
source share
1 answer

Is there any way to make it "re-register" the installed type of service?

On your local computer, you can install the deployment to always uninstall the application when you are finished debugging. However, if it does not complete in the first place, I’m not sure that this workflow will work anyway. enter image description here

Since we are in the subject, in the cloud, I think you just need to use Powershell scripts to first compare the existing types and version of the application and delete them before the "upgrade". Since I like the complexity of this complex process, I use tools to manage it.

In VSTS, for example, there is the SameAppTypeAndVersion forwarding option.

enter image description here

And finally, if you are just tired of using the Service Fabric user interface to uninstall the application again and again in troubleshooting, it may be faster to use the system tray icon to reset the cluster to a new state.

0
source

Source: https://habr.com/ru/post/1011948/


All Articles