尝试创建一个服务结构群集,其中包含3个运行windowsservercore
映像和iis
服务器的docker容器。
我已在所有容器上启用Remote Registry Service
,并且暴露的端口范围为135-20063。
创建群集时出现以下问题:
System.IO.IOException:找不到网络路径。
at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode,String str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey,String machineName,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner(String machineName) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) System.IO.IOException:找不到网络路径。
at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode,String str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey,String machineName,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner(String machineName) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) RPC无法访问机器172.24.186.140。检查网络连接。 HRESULT = 53 ERROR_BAD_NETPATH RPC无法访问机器172.28.166.142。检查网络连接。 HRESULT = 53 ERROR_BAD_NETPATH System.IO.IOException:找不到网络路径。
at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode,String str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey,String machineName,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner(String machineName) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) RPC无法访问机器172.25.205.155。检查网络连接。 HRESULT = 53 ERROR_BAD_NETPATH 创建群集失败。有关更多信息,请查看FabricLogRoot中的跟踪。 创建群集失败,异常:System.AggregateException:发生一个或多个错误。 ---> System.AggregateExcep :发生了一个或多个错误。 ---> System.IO.IOException:无法访问RPC的机器172.24.186.140。 CHEC k网络连接。 HRESULT = 53 ERROR_BAD_NETPATH 在System.Fabric.DeploymentManager.b__5f(字符串机器) 在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,Action2 bodyWithState, Func
4 bodyWithLocal,Func1 localInit, Action
1 localFinally) 在System.Threading.Tasks.Parallel.ForEachWorker [TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOption s, Action
1 body,Action2 bodyWithState, Action
3 bodyWithStateAndIndex,Func4 bodyWithStateAndLocal, Func
5 bodyWithE 非常,Func1 localInit, Action
1 localFinally) 在System.Threading.Tasks.Parallel.ForEach [TSource](IEnumerable1 source, Action
1 body) 在System.Fabric.DeploymentManager.CheckRPCAccess(IEnumerable1 machineNames) at System.Fabric.DeploymentManager.<CreateClusterAsyncInternal>d__a.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 System.Fabric.DeploymentManager.<CreateClusterAsync>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 rollbackOnFailure) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Machine 17 2.24.186.140 could not be reached for RPC. Check network connectivity. HRESULT=53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.<CheckRPCAccess>b__5f(String machine) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0
1.b__1() 在System.Threading.Tasks.Task.InnerInvokeWithArg(任务childTask) 在System.Threading.Tasks.Task。&lt;&gt; c__DisplayClass176_0.b__0(对象) ---内部异常堆栈跟踪结束--- 在System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 在System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,CancellationToken cancellationToken) 在System.Threading.Tasks.Parallel.ForWorker [TLocal](Int32 fromInclusive,Int32 toExclusive,ParallelOptions parallel 选项,操作1 body, Action
2 bodyWithState,Func4 bodyWithLocal, Func
1 localInit,Action1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable
1 source,ParallelOptions parallelOption s,Action1 body, Action
2 bodyWithState,Action3 bodyWithStateAndIndex, Func
4 bodyWithStateAndLocal,Func5 bodyWithE verything, Func
1 localInit,Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable
1 source,Action1 body) at System.Fabric.DeploymentManager.CheckRPCAccess(IEnumerable
1 machineNames) 在System.Fabric.DeploymentManager.d__a.MoveNext() ---从抛出异常的先前位置开始的堆栈跟踪结束--- 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) 在System.Fabric.DeploymentManager.d__0.MoveNext() ---&GT; (内部异常#0)System.IO.IOException:无法访问RPC的机器172.24.186.140。检查网络连接 ectivity。 HRESULT = 53 ERROR_BAD_NETPATH 在System.Fabric.DeploymentManager.b__5f(字符串机器) 在System.Threading.Tasks.Parallel。&lt;&gt; c__DisplayClass17_0`1.b__1() 在System.Threading.Tasks.Task.InnerInvokeWithArg(任务childTask) 在System.Threading.Tasks.Task。&lt;&gt; c__DisplayClass176_0.b__0(对象)&lt; ------&GT; (内部异常#1)System.IO.IOException:无法访问RPC的机器172.28.166.142。检查网络连接 ectivity。 HRESULT = 53 ERROR_BAD_NETPATH 在System.Fabric.DeploymentManager.b__5f(字符串机器) 在System.Threading.Tasks.Parallel。&lt;&gt; c__DisplayClass17_0`1.b__1() 在System.Threading.Tasks.Task.InnerInvokeWithArg(任务childTask) 在System.Threading.Tasks.Task。&lt;&gt; c__DisplayClass176_0.b__0(对象)&lt; ---
---&GT; (内部异常#2)System.IO.IOException:无法访问RPC的机器172.25.205.155。检查网络连接 ectivity。 HRESULT = 53 ERROR_BAD_NETPATH 在System.Fabric.DeploymentManager.b__5f(字符串机器) 在System.Threading.Tasks.Parallel。&lt;&gt; c__DisplayClass17_0`1.b__1() 在System.Threading.Tasks.Task.InnerInvokeWithArg(任务childTask) 在System.Threading.Tasks.Task。&lt;&gt; c__DisplayClass176_0.b__0(对象)&lt; --- &LT; ---
答案 0 :(得分:0)
它显示RPC已从您的控制器关闭到172.28.166.142。试试“test-netconnection 172.28.166.142 -port 135”