Service Fabric Cluster Upgrade Failing

时间:2018-06-04 16:55:53

标签: azure-service-fabric

I've an on-premise, secure, development cluster that I wish to upgrade. The current version is 5.7.198.9494. I've followed the steps listed here.

At the time of writing, the latest version of SF is 6.2.283.9494. However, running Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion 5.7.198.9494 shows that I first must update to 6.0.232.9494, before upgrade to 6.2.283.9494.

I run the following in Powershell, and the upgrade does start:

Copy-ServiceFabricClusterPackage -Code -CodePackagePath .\MicrosoftAzureServiceFabric.6.0.232.9494.cab -ImageStoreConnectionString "fabric:ImageStore"
Register-ServiceFabricClusterPackage -Code -CodePackagePath MicrosoftAzureServiceFabric.6.0.232.9494.cab
Start-ServiceFabricClusterUpgrade -Code -CodePackageVersion 6.0.232.9494 -Monitored -FailureAction Rollback

However, after a few minutes the following happens:

  • Powershell IDE crashes
  • The Service Fabric Cluster becomes unreachable
  • Service Fabric Local Cluster Manager disappears from the task bar
  • Event Viewer will log the events, see below.
  • Quite some time later, the vm will reboot. Service Fabric Local Cluster Manager will only give options to Setup or Restart the local cluster.

Event viewer has logs in the under Applications and Services Logs -> Microsoft-Service Fabric -> Operational. Most are information about opening, closing, and aborting one of the upgrade domains. There are some warnings about a vm failing to open an upgrade domain stating error: Lease Failed.

This behavior happens consistently, and I've not yet been able to update the cluster. My guess is that we are not able to upgrade a development cluster, but I've not found an article that states that.

Am I doing something incorrectly here, or is it impossible to upgrade a development cluster?

1 个答案:

答案 0 :(得分:2)

我假设你有一个开发集群,在一个虚拟机中有一个节点或多个节点。

如您提供的相同链接的文档第一部分所述: service-fabric-cluster-upgrade-windows-server

  

只有在您使用的情况下,才能将群集升级到新版本   生产方式节点配置,其中每个Service Fabric节点都是   在单独的物理或虚拟机上分配。 如果你有   开发群集,其中有多个Service Fabric节点   单个物理或虚拟机,您必须重新创建群集   使用新版本。