Azure DevOps项目-Service Fabric部署-示例失败

时间:2018-10-10 08:54:05

标签: azure continuous-integration azure-devops azure-service-fabric

我创建了一个新的Azure DevOps项目。 Asp.Net核心2.1,部署Service Fabric。

第一次部署进行得很好。没有任何更改,后续发行都会失败

警告和错误

2018-10-10T08:24:17.8368242Z ##[section]Starting: Deploy Service Fabric Application
2018-10-10T08:24:17.8375072Z ==============================================================================
2018-10-10T08:24:17.8375163Z Task         : Service Fabric Application Deployment
2018-10-10T08:24:17.8375234Z Description  : Deploy a Service Fabric application to a cluster.
2018-10-10T08:24:17.8375288Z Version      : 1.7.22
2018-10-10T08:24:17.8375356Z Author       : Microsoft Corporation
2018-10-10T08:24:17.8375410Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=820528)
2018-10-10T08:24:17.8375479Z ==============================================================================
2018-10-10T08:24:20.0073284Z Searching for path: D:\a\r1\a\**\drop\projectartifacts\**\PublishProfiles\Cloud.xml
2018-10-10T08:24:20.2879096Z Found path: D:\a\r1\a\Drop\drop\projectartifacts\Application\Voting\PublishProfiles\Cloud.xml
2018-10-10T08:24:20.3657104Z Searching for path: D:\a\r1\a\**\drop\applicationpackage
2018-10-10T08:24:20.4618957Z Found path: D:\a\r1\a\Drop\drop\applicationpackage
2018-10-10T08:24:20.7317155Z Imported cluster client certificate with thumbprint '25826D862588CBFA3D2113D882255156F7233F44'.
2018-10-10T08:25:02.0637557Z ##[warning]Failed to contact Naming Service. Attempting to contact Failover Manager Service...
2018-10-10T08:25:42.0730582Z ##[warning]Failed to contact Failover Manager Service, Attempting to contact FMM...
2018-10-10T08:26:22.0962942Z ##[warning]No such host is known
2018-10-10T08:26:22.2408731Z Service fabric SDK version: 3.2.176.9494.
2018-10-10T08:26:22.4279087Z ##[error]No cluster endpoint is reachable, please check if there is connectivity/firewall/DNS issue.
2018-10-10T08:26:22.4687237Z ##[section]Finishing: Deploy Service Fabric Application

所有其他devops项目版本也因相同的原因而失败。

任何有助于调试的帮助都很好

2 个答案:

答案 0 :(得分:0)

好吧,如果所有发行版都失败了,那么这显然与发行版无关。您的集群或服务端点发生了什么

您需要检查是否可以使用powershell手动连接到集群端点,例如(connect-servicefabricluster或类似的东西)。

答案 1 :(得分:0)

对内置发布任务的误解。 猜测集群是由DevOps项目创建创建的,而不是我认为的发布任务。