"Win32Exception: The subsystem needed to support the image type is not present" 在 Nano Server 上部署 Fabric 集群时

"Win32Exception: The subsystem needed to support the image type is not present" when deploying Fabric Cluster on Nano Server

我正在使用 secure-cluster-5-node 模板在 Nano Server 上部署 Service Fabric 集群 (https://github.com/Azure/azure-quickstart-templates/tree/master/service-fabric-secure-cluster-5-node-1-nodetype)

我收到以下错误:

Operation xxx
Tracking xxx
StatusConflict
Provisioning StateFailed
Timestamp‎6‎/‎22‎/‎2017‎ ‎13‎:‎05‎:‎14
Duration6 minutes 11 seconds
TypeMicrosoft.Compute/virtualMachineScaleSets
Resource Id/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachineScaleSets/nt1vm
StatusMessage{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
  {
    "code": "VMExtensionHandlerNonTransientError",
    "message": "Handler 'Microsoft.Azure.ServiceFabric.ServiceFabricNode' has reported failure for VM Extension 'ServiceFabricNodeVmExt_vmNodeType0Name' with terminal error code '1007' and error message: 'Install failed for plugin (name: Microsoft.Azure.ServiceFabric.ServiceFabricNode, version 1.0.0.35). Exception:\nSystem.ComponentModel.Win32Exception: The subsystem needed to support the image type is not present\r\n   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)\r\n   at Microsoft.Azure.Agent.StateMachine.HandlerStateMachine.InvokeCommand(String command, PluginArtifacts pluginArtifact, String pluginVersion, String pluginFolder, String pluginLogFolder, Int32 processWaitTimeout, PluginEventType startType, PluginEventType endType)\r\n   at Microsoft.Azure.Agent.StateMachine.HandlerStateMachine.InstallHandler(PluginArtifacts artifact)'"
  }
]
}
}

os 的 ARM 模板中使用的设置是:

"vmImagePublisher": {
  "value": "MicrosoftWindowsServer"
},
"vmImageOffer": {
  "value": "WindowsServer"
},
"vmImageSku": {
  "value": "2016-Nano-Server"
},
"vmImageVersion": {
  "value": "latest"
},

知道如何解决这个问题吗?

目前,Service Fabric 群集不支持 Nano Server。请参考这个link.

You are able to create clusters on VMs running these operating systems:

Windows Server 2012 R2

Windows Server 2016

Linux Ubuntu 16.04(in public preview)

您也可以在 Azure 门户上查看。 2016-Nano-Server 无法选择。