2017-03-15 148 views
1

我在將羣集部署到Azure時遇到問題。我正在使用通過Visual Studio(2017)提供的模板here,通過here所述的服務器/羣集證書 來保護它。服務Fabric羣集部署失敗

我通過Visual Studio部署,模板似乎成功部署沒有任何錯誤。但是,在門戶中查看羣集時,它將陷入「部署」狀態,並且不會出現節點。 RDP:進入單個節點並查看事件查看器(Windows日誌/系統)可以發現,Azure服務結構節點引導代理服務陷入循環,似乎無限期地啓動/停止。

下Windows日誌/應用程序,我可以看到下面的(4)差錯/重複每個警告重新嘗試尋找:

無法在啓動服務,錯誤信息:System.ArgumentNullException:值不能爲空。 參數名稱:路徑 at System.IO.Path.GetFullPathInternal(String path) at Microsoft.Azure.ServiceFabric.Extension.Core.SetupHelper.ConfigNode(Byte [] clusterManifest,String nodeTypeRef,String machineName,String ipAddress,String faultDomain ,字符串upgradeDomain,字符串dataRoot) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.TryConfigNode(RuntimeCluster clusterConfig,nodeDescription nodeDescription) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.StartFabricHostService(布爾isBootstrapping)

錯誤:System.ArgumentNullException:值不能爲空。 參數名稱:路徑 at System.IO.Path.GetFullPathInternal(String path) at Microsoft.Azure.ServiceFabric.Extension.Core.SetupHelper.ConfigNode(Byte [] clusterManifest,String nodeTypeRef,String machineName,String ipAddress,String faultDomain ,字符串upgradeDomain,字符串dataRoot) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.TryConfigNode(RuntimeCluster clusterConfig,NodeDescription nodeDescription) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.StartFabricHostService(布爾isBootstrapping) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.d__d.MoveNext() ---在System.Runtime.CompilerServices.TaskAw從先前的位置堆棧跟蹤,其中引發異常--- 結束aiter.ThrowForNonSuccess(任務task) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任務task) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.d__0.MoveNext()

應用:ServiceFabricNodeBootstrapAgent.exe Framework版本:v4.0.30319 說明:由於未處理的異常,進程已終止。 異常信息:System.ArgumentNullException at System.IO.Path.GetFullPathInternal(System.String) at Microsoft.Azure.ServiceFabric.Extension.Core.SetupHelper.ConfigNode(Byte [],System.String,System.String,System .String,System.String,System.String,System.String) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.TryConfigNode(Microsoft.Azure.ServiceFabric.Extension.Core.RuntimeCluster,Microsoft.Azure.ServiceFabric.Extension .Core.NodeDescription) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent.StartFabricHostService(布爾) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent + d__d.MoveNext() 在System.Runtime.CompilerServices。 TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) 在System.Runtime.CompilerServices.TaskAwaiter。HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) 在Microsoft.Azure.ServiceFabric.Extension.Core.NodeBootstrapAgent + d__0.MoveNext() 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) 在Microsoft.Azure.ServiceFabric.Extension.Service.Service + d__0.MoveNext() 在System.Runtime.CompilerServices.AsyncMethodBuilderCore + <>ç在System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)上的.b__6_1(System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext ,System.Thr eading.ContextCallback,System.Object的,布爾值) 在System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 在System.Threading.ThreadPoolWorkQueue.Dispatch()

錯誤的應用程序名:ServiceFabricNodeBootstrapAgent.exe,版本:1.0.0.143,時間戳:0x58c87254 錯誤模塊名稱:KERNELBASE.dll,版本:6.3.9600.18340,時間戳:0x57366075 異常代碼:0xe0434352 故障偏移:0x0000000000008a5c 出錯進程ID:0x9b0 錯誤應用程序啓動時間:0x01d29d73912bda98 錯誤的應用程序路徑:C:\ Packages \ Plugins \ Microsoft.Azure.ServiceFabric.ServiceFabric節點\ 1.0.0.34 \服務\ ServiceFabricNodeBootstrapAgent.exe 錯誤模塊路徑:C:\ WINDOWS \ SYSTEM32 \ KERNELBASE.dll 報告編號:cf297669-0966-11e7-80c5-000d3a27d68c 斷裂作用包全名: 斷裂作用包相對應用程序ID:

重新啓動節點沒有幫​​助,我已驗證證書是否安裝在VM上。我沒有在門戶中記錄錯誤,只是集羣上的「部署」消息。節點是Windows Server R2。 任何想法?很明顯,給System.IO.Path.GetFullPathInternal的路徑是空的,但是可能導致這種情況的原因是什麼?

回答