Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Local cluster installation .\DevClusterSetup.ps1 fails Waiting for Naming Service to be ready

When trying to set up the local cluster the powershell script I get the following error:

Screenshot of powershell responses

Is there any way of continuing the installation or fixing the cause of this error?

Cheers,

Mike


I have completely removed the SDK and started over but I am still having the same issues. Everything boils down to the 'Connect-ServiceFabricCluster' just doesn't work at all (I have followed all of the suggestions provided).

Surely the warnings about the naming services must point to something?

Each attempt I see the following:

WARNING: Failed to contact Naming Service. Attempting to contact Failover Manager Service... 2>WARNING: Failed to connect Failover Manager Service, Attempting to contact FMM... 2>Connect-ServiceFabricCluster : A communication error caused the operation to fail. 2>At D:\Source\Play\ServiceFabricApplication\ServiceFabricApplication\Scripts\Deploy-FabricApplication.ps1:158 char:16 2>+ ... [void](Connect-ServiceFabricCluster @ClusterConnectionParameters ... 2>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2> + CategoryInfo : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricTransientException 2> + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster

Attempting a reset from the tray: Tray output

like image 862
mikehole Avatar asked Nov 19 '15 09:11

mikehole


1 Answers

In my case the Cluster was not running (ie no Fabric.exe processes in Task Manager).

I was able to get things working again my opening a Powershell as Admin and running:

& "$ENV:ProgramFiles\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1"

After that close the powershell window and open a new one (as Admin). Then Connect-ServiceFabricCluster worked.

like image 169
Philip Pittle Avatar answered Sep 30 '22 23:09

Philip Pittle