You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Service Fabric证书更新后Octopus连接失败,求跟踪日志位置

Service Fabric集群证书更新后Octopus连接失败:跟踪日志位置说明

问题背景

我已完成Service Fabric集群的证书更新操作,证书已添加至机器及用户证书存储,可正常访问Service Fabric门户。在同一机器上,通过命令行执行以下命令能正常连接集群:

Connect-ServiceFabricCluster -ConnectionEndpoint "MyMachine.test.local:19000" -X509Credential -ServerCertThumbprint "ABCE35ECEDDEB4BB81039BC1745BA7087EBB8123" -FindType FindByThumbprint -FindValue "ABCE35ECEDDEB4BB81039BC1745BA7087EBB8123" -StoreLocation LocalMachine -StoreName My

但通过Octopus执行时出现如下错误,想知道详细跟踪日志的位置:

Loading connection parameters for the 'Client Certificate' security mode.
17:05:18   Verbose  |       Authenticating with Service Fabric.
17:05:18   Verbose  |       Using ConnectionParameters:
17:05:18   Verbose  |       ConnectionEndpoint=MyMachine.test.local:19000
17:05:18   Verbose  |       StoreLocation=LocalMachine
17:05:18   Verbose  |       FindType=FindByThumbprint
17:05:18   Verbose  |       ServerCertThumbprint=ABCE35ECEDDEB4BB81039BC1745BA7087EBB8123
17:05:18   Verbose  |       FindValue=ABCE35ECEDDEB4BB81039BC1745BA7087EBB8123
17:05:18   Verbose  |       X509Credential=True
17:05:18   Verbose  |       StoreName=MY
17:05:18   Error    |       Connect-ServiceFabricCluster : An error occurred during this operation.
17:05:18   Error    |       Please check the trace logs for more details.
17:05:18   Error    |       At C:\Octopus\Work\20221004160424-291654-3733\staging\Octopus.AzureServiceFabri
17:05:18   Error    |       cContext.ps1:210 char:16
17:05:18   Error    |       + ...      [void](Connect-ServiceFabricCluster @ClusterConnectionParameters ...
17:05:18   Error    |       +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17:05:18   Error    |       + CategoryInfo          : InvalidOperation: (:) [Connect-ServiceFabricClus
17:05:18   Error    |       ter], FabricException
17:05:18   Error    |       + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.Service
17:05:18   Error    |       Fabric.Powershell.ConnectCluster

跟踪日志位置

Service Fabric相关日志

  • 本地客户端日志:位于执行Octopus部署的机器上,路径为 C:\Users\<Octopus服务运行账户>\AppData\Local\ServiceFabric\log\Traces。需替换为实际运行Octopus服务的账户名,若使用系统账户,日志路径为 C:\Windows\System32\config\systemprofile\AppData\Local\ServiceFabric\log\Traces。
  • 集群节点日志:若需要集群端的详细错误,登录Service Fabric集群节点后,日志路径为 C:\ProgramData\SF\Cluster\<Cluster ID>\Fabric\log\Traces。

Octopus相关日志

  • 任务执行日志:在Octopus门户进入对应失败任务详情页,点击「Raw Log」可查看完整的任务执行日志,包含Octopus层面的调试信息。
  • Octopus服务日志:机器上Octopus服务的日志默认路径为 C:\Octopus\Logs,可查看服务运行过程中的相关报错信息。

内容的提问来源于stack exchange,提问作者Andrew

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.17 08:35:24