2016-09-01 81 views
0

我试图创建一个服务结构集群,其中包含3个运行windowsservercore图像的Docker容器和iis服务器。带有windowsservercore和iis服务器的Docker容器的服务结构集群

我已在所有容器上启用Remote Registry Service并且暴露的端口范围从135-20063。

我得到了以下问题在创建集群:

System.IO.IOException:网络路径没有被发现。

在Microsoft.Win32.RegistryKey.Win32ErrorStatic(的Int32的errorCode,字符串str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive的hKey,字符串MACHINENAME,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner( String machineName) at System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) System.IO.IOException:未找到网络路径。

在Microsoft.Win32.RegistryKey.Win32ErrorStatic(的Int32的errorCode,字符串str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive的hKey,字符串MACHINENAME,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner( String machineName) at 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:未找到网络路径。

在Microsoft.Win32.RegistryKey.Win32ErrorStatic(的Int32的errorCode,字符串str) 在Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive的hKey,字符串MACHINENAME,RegistryView视图) 在System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPathInner( String machineName) at System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) RPC 172.25.205.155无法访问。检查网络连接。 HRESULT = 53L ERROR_BAD_NETPATH 创建集群失败。有关更多信息,请查看FabricLogRoot中的痕迹。 创建群集失败,出现异常:System.AggregateException:发生一个或多个错误。 ---> System.AggregateExcep tion:发生一个或多个错误。 ---> System.IO.IOException:RPC无法访问机器172.24.186.140。 Chec k网络连接。 HRESULT = 53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.b__5f(String machine) 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身体,动作2 bodyWithState, Func 4 bodyWithLocal,函数功能1 localInit, Action 1 localFinally) 在System.Threading.Tasks.Parallel.ForEachWorker [TSource,TLocal](IEnumerable的1 source, ParallelOptions parallelOption s, Action 1身体,动作2 bodyWithState, Action 3 bodyWithStateAndIndex,函数功能4 bodyWithStateAndLocal, Func 5 bodyWithE verything ,函数功能1 localInit, Action 1 localFinally) 在System.Threading.Tasks.Parallel.ForEach [TSource](IEnumerable的1 source, Action 1体) 在System.Fabric.DeploymentManager.CheckRPCAccess(IEnumerable的1 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(Task childTask) at System.Threading.Tasks.Task。<> c__DisplayClass176_0。b__0(Object) ---在System.Threading.Tasks.Task.ThrowIfExceptional(布尔includeTaskCanceledExceptions) 在System.Threading.Tasks.Task.Wait(Int32毫秒时间,CancellationToken的消除标记) 在System.Threading.Tasks.Parallel.ForWorker [TLocal](的Int32 fromInclusive,的Int32 toExclusive,ParallelOptions平行 选项,动作1 body, Action 2 bodyWithState,函数功能4 bodyWithLocal, Func 1个localInit,动作1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable 1种源,ParallelOptions parallelOption S,行动1 body, Action 2 bodyWithState ,动作3 bodyWithStateAndIndex, Func 4 bodyWithStateAndLocal,功能5 bodyWithE verything, Func 1 localInit,动作1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable 1源,动作1 body) at System.Fabric.DeploymentManager.CheckRPCAccess(IEnumerable 1 machineNam es) at System.Fabric.DeploymentManager.d__a.MoveNext() ---以前位置抛出异常的堆栈跟踪结束--- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) at System.Fabric.DeploymentManager.d__0.MoveNext() --->(内部异常#0)System.IO.IOException:机器172.24.186.140不能达到了RPC。检查网络连接 活动。 HRESULT = 53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.b__5f(String machine) 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(对象)< ---

--->(内部异常#1)System.IO.IOException:机器172.28.166.142无法达成的RPC。检查网络连接 活动。 HRESULT = 53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.b__5f(String machine) 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)< ---

--->(内部异常#2)System.IO.IOException:RPC无法访问机器172.25.205.155。检查网络连接 活动。 HRESULT = 53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.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。 <> c__DisplayClass176_0.b__0(对象)< --- < ---

回答

0

它显示从控制器到172.28.166.142关闭RPC。试试“test-netconnection 172.28.166.142 -port 135”