我们有一个 ServiceFabric 服务,它运行最新的 .NET Core 3.1。我们将其发布和部署为独立的 x64 应用程序。在最近的更新之后,我们无法再部署它。ServiceFabric 提供的信息很少。这就是我们所看到的:
Service package for manifest 'XXXX' and service package activation ID 'XXXX' is in Error.
'System.Hosting' reported Error for property 'ServiceTypeRegistration:XXX'.
The ServiceType was disabled on the node.
它尝试了几次然后放弃了。通过深入研究 SF 事件,我也发现了这一点:
There was an error during CodePackage activation.The process/container terminated with exit code:2147516556.
使用本地 Service Fabric 群集时,一切都部署得很好。
有人知道谁可以从部署过程中获得更多信息吗?更多日志。一些线索将帮助我们部署到底出了什么问题。