2016-11-06 84 views
0

我試圖在Windows Server 2016 Standard上創建本地開發(不安全)服務Fabric羣集。我遵循了this article中的說明。但是,我收到了一個相當有趣的錯誤,找不到任何東西來幫助我解決這個問題。無法在Windows Server 2016上創建開發服務Fabric羣集標準

FabricHostSvc was not installed by FabricInstallerSvc on machine localhost. FabricSetup may have failed. CreateCluster Error: System.AggregateException: One or more errors occurred. ---> System.Fabric.FabricServiceNotFoundExc eption: FabricHostSvc was not installed by FabricInstallerSvc on machine localhost. FabricSetup may have failed. at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.StartAndValidateInstallerServiceCompletion(Str ing machineName, ServiceController installerSvc) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0 1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object ) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallel Options, Action
1 body, Action 2 bodyWithState, Func 4 bodyWithLocal, Func 1 localInit, Action 1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable 1 source, ParallelOptions parallelOption s, Action 1 body, Action 2 bodyWithState, Action 3 bodyWithStateAndIndex, Func 4 bodyWithStateAndLocal, Func 5 bodyWithE verything, Func 1 localInit, Action 1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable 1 source, Action 1 body) at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.RunFabricServices(List 1 machines, FabricPacka geType fabricPackageType) at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.<CreateClusterAsyncInternal>d__7.MoveNext() ---> (Inner Exception #0) System.Fabric.FabricServiceNotFoundException: FabricHostSvc was not installed by FabricInstall erSvc on machine localhost. FabricSetup may have failed. at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.StartAndValidateInstallerServiceCompletion(Str ing machineName, ServiceController installerSvc) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0 1.b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---

Cleaning up faulted installation. FabricRoot not found in registry of target machine localhost. Create Cluster failed. For more information please look at traces in FabricLogRoot. Create Cluster failed with exception: System.AggregateException: One or more errors occurred. ---> System.AggregateExcep tion: One or more errors occurred. at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.ServiceFabric.DeploymentManager.DeploymentManager.d__0.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.ServiceFabric.Powershell.ClusterCmdletBase.NewCluster(String clusterConfigurationFilePath, String fabric PackageSourcePath, Boolean cleanupOnFailure) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. at Microsoft.ServiceFabric.DeploymentManager.DeploymentManagerInternal.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.ServiceFabric.DeploymentManager.DeploymentManager.d__0.MoveNext()<---

有沒有人遇到過這個錯誤,並修復它?這個錯誤是如何解決的?

側面說明:收到此錯誤後,我跑了CleanFabric PowerShell腳本和刪除服務器上的所有服務織物的文件,並試圖用相同的錯誤消息再次運行安裝。

另外,機器上沒有安裝Service Fabric SDK(您將在本地開發機器上使用的SDK)。這是由於微軟在下面陳述的官方先決條件所致。

Prerequisites for each machine that you want to add to the cluster: 

1. A minimum of 16 GB of RAM is recommended. 
2. A minimum of 40 of GB available disk space is recommended. 
3. A 4 core or greater CPU is recommended. 
4. Connectivity to a secure network or networks for all machines. 
5. Windows Server 2012 R2 or Windows Server 2012 (you need to 
    have KB2858668 installed). 
6. .NET Framework 4.5.1 or higher, full install. 
7. Windows PowerShell 3.0. The RemoteRegistry service should be running on all the machines. 

The cluster administrator deploying and configuring the cluster must have administrator privileges on each of the machines. You cannot install Service Fabric on a domain controller. 

我不禁感到有什麼明顯的缺失,但我已經非常接近,所以這是相當令人費解跟着文檔。

回答

1

Service Fabric驅動程序有一個簽名問題,阻止它們安裝在Windows Server 2016和Windows 10週年紀念版上。請等待下一個版本或嘗試使用版本5.2。

+0

正確,請稍等下一個版本或使用版本5.2。 – user7124622

+0

我很欣賞這些信息。我沒有看到那篇文章或文檔中指出驅動程序簽名問題的任何內容。希望他們更新它或者遇到類似問題的人看到你的答案,而不用花費太多時間撓撓頭,試圖弄清楚爲什麼事情不起作用。 –

+0

我編輯了你的答案,包括版本更正。此外,我無法找到任何地方下載v5.2除了在https://blogs.msdn.microsoft.com/azureservicefabric/2016/10/13/release-of-sdk-2-3-301-and-runtime- 5-3-301換窗/。在底部有適用於Windows 10週年紀念的下載鏈接,但我不確定它們是否與我在尋找Windows Server 2016相關,因爲這些文件使用PowerShell腳本並以此方式安裝二進制文件。有什麼想法嗎? –

相關問題