【发布时间】:2016-12-06 15:42:32
【问题描述】:
我正在尝试从我刚刚设置的新 Azure 虚拟机连接到我的 Azure Service Fabric 群集。但是当我使用 Connect-ServiceFabricCluster cmdlet 时,会收到以下错误消息:
Connect-ServiceFabricCluster : An error occurred during this operation. Please check the trace logs for more details.
At line:1 char:1
+ Connect-ServiceFabricCluster -ConnectionEndpoint ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricException
+ FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster
我在 powershell 中使用的命令是(值被混淆了):
Connect-ServiceFabricCluster -ConnectionEndpoint {ENDPOINT ADDRESS} -FindType FindByThumbprint -FindValue {THUMBPRINT} -X509Credential -ServerCertThumbprint {THUMBPRINT} -StoreLocation CurrentUser -StoreName My
当我在我的开发 PC 上使用完全相同的命令时,它工作得很好。欢迎就出了什么问题以及如何调试它提出任何建议!
【问题讨论】:
-
您的客户端证书是否安装在 VM 上参数指示的位置?
-
@MattThalman 就是这样。谢谢!如果您可以将其添加为答案,我可以接受。
标签: azure azure-service-fabric