Open felipecruz91 opened 6 years ago
Can you try running Connect-ServiceFabricCluster from a new powershell window? Also while the cluster is being brought up, do you see Fabric.exe and FabricGateway.exe process running in taskmgr?
It happens the same to me!
@raunakpandya Running that from a new PS window didn't work. I don't see neither Fabric.exe
nor FabricGateway.exe
in the Task Manager. It only appears FabricHost
.
Can you please share the traces which will be under "FabricLogRoot" in the output of this command? reg query "HKLM\SOFTWARE\Microsoft\ServiceFabric" By default it should be here C:\SfDevCluster\Log\Traces
@raunakpandya
P.S: the Fabric.exe
process runs for 1 or 2 seconds at the very beginning when I run .\DevClusterSetup.ps1
and then exits immediately.
@raunakpandya
Following https://github.com/Azure/service-fabric-issues/issues/936#issuecomment-392726150, if I stop the Internet Connection Sharing (ICS)
service, then I can run the SF cluster locally...
However, the DNS Service does not seem to work correctly because it doesn't resolve my computer name into localhost:
@felipecruz91 can you also see if the workaround mentioned here works to resolve the issue? Let's separate out the DNS issue for now, if we can, and work on making sure the cluster setup works correctly first. (Edit: Ah, I see you already have: https://github.com/Azure/service-fabric-issues/issues/1144 Thanks! )
@masnider As per the workaround you mentioned, adding the line:
{ "name": "FabricContainerAppsEnabled", "value": "false" }
to the C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\NonSecure\OneNode\ClusterManifestTemplate.json
file and stopping the Internet Connection Sharing (ICS)
service seems to solve the original problem (for now).
@felipecruz91 Your workaround works fine. But be aware of modifing the right file as there are two separate folders for the ClusterManifestTemplate.json. One for the NonSecure Cluster (mentioned in your comment) And one for the Secure Cluster. I always just copied the path from your comment without regarding, that there is another file for the Secure Cluster, which I am using in my case.
Environment information OS: Windows 10 Pro Version: 10.0.16299 Build 16299 Microsoft Azure Service Fabric: 6.2.301.9494 Microsoft Azure Service Fabric SDK: 3.1.301.9494
When running
C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1
on my local machine, I get the following error: