2017-03-15 156 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的路径是空的,但是可能导致这种情况的原因是什么?

回答