将Azure Service Fabric Cluster与Connect-ServiceFabricCluster连接时出错

时间:2017-09-19 12:21:31

标签: powershell azure azure-service-fabric azure-powershell azure-deployment

下面是我用来连接azure fabric cluster的Cmdlet,它一直工作到昨天

Connect-ServiceFabricCluster -ConnectionEndpoint "FQDN:19000" -KeepAliveIntervalInSec 10 -X509Credential -ServerCertThumbprint $ClientCertificateThumbprint `
-FindType FindByThumbprint -FindValue $ClientCertificateThumbprint `
-StoreLocation CurrentUser -StoreName My

错误:

  

ErrorCode:未知消息:期间发生错误   这个操作。请查看跟踪日志以获取更多详细信息。数据
  :{} InnerException:System.Runtime.InteropServices.COMException   (0x8009030E):安全包中没有可用的凭据   (HRESULT异常:0x8009030E)                       在System.Fabric.Interop.NativeClient.IFabricClientSettings2.SetSecurityCredentials(FABRIC_SECURITY_CREDENTIALS   证书)                       在System.Fabric.FabricClient.SetSecurityCredentialsInternal(SecurityCredentials   证书)                       在System.Fabric.Interop.Utility.WrapNativeSyncInvoke [TResult](Func 1 func, String functionTag, String functionArgs) TargetSite : TResult RunInMTA[TResult](System.Func 1 [TResult])StackTrace:
  在System.Fabric.Interop.Utility.RunInMTA [TResult](Func`1 func)                       在System.Fabric.FabricClient.InitializeFabricClient(SecurityCredentials   credentialArg,FabricClientSettings newSettings,String []   hostEndpointsArg)                       在Microsoft.ServiceFabric.Powershell.ClusterConnection.FabricClientBuilder.Build()                       在Microsoft.ServiceFabric.Powershell.ClusterConnection..ctor(FabricClientBuilder   fabricClientBuilder,Boolean getMetadata)                       在Microsoft.ServiceFabric.Powershell.ConnectCluster.ProcessRecord()   HelpLink:来源:System.Fabric HResult:0

0 个答案:

没有答案