2016-11-03 37 views
1

Azureポータルからバニラサービスファブリッククラスタを作成した後、VM Scale Setでこのエラーが発生します。さまざまなクラスタ名、サイズ、VMタイプを使用していました。Azureサービスファブリックリソースデプロイメントの失敗終了コード-532462766

全エラー:私はクラスタに自分のユーザーコードを公開しようとしているので、これを原因とすることができます本当にわからないの前に

{ 
    "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 'Test_ServiceFabricNode' with terminal error code '1009' and error message: 'Enable failed for plugin (name: Microsoft.Azure.ServiceFabric.ServiceFabricNode, version 1.0.0.33) with exception Command C:\\Packages\\Plugins\\Microsoft.Azure.ServiceFabric.ServiceFabricNode\\1.0.0.33 \\ServiceFabricExtensionHandler.exe of Microsoft.Azure.ServiceFabric.ServiceFabricNode has exited with Exit code: -532462766'" 
     } 
    ] 
    } 
} 

です。ほとんどの場合、デフォルト設定を使用します。初期容量3(テストクラスタ)。ブロンズ耐久性/信頼性

編集: リモートデスクトップのいずれかのVMに接続しているときにこの問題が表示されます。

Application: ServiceFabricExtensionHandler.exe 
Framework Version: v4.0.30319 
Description: The process was terminated due to an unhandled exception. 
Exception Info: Microsoft.Azure.ServiceFabric.Extension.Core.AgentException 
    at Microsoft.Azure.ServiceFabric.Extension.Core.CertificateUtility.LoadClientCertificate(System.String, System.String) 
    at Microsoft.Azure.ServiceFabric.Extension.Core.CertificateUtility.LoadCertificateWrapper(Microsoft.Azure.ServiceFabric.Extension.Core.Models.CertificateSettings) 
    at Microsoft.Azure.ServiceFabric.Extension.Core.Models.HandlerSettings.AllowAccessToCerts() 
    at Microsoft.Azure.ServiceFabric.Extension.Core.VMExtensionHandler.ValidateDeployment(Microsoft.Azure.ServiceFabric.Extension.Core.Models.HandlerSettings) 
    at Microsoft.Azure.ServiceFabric.Extension.Core.VMExtensionHandler.InstallService() 
    at Microsoft.Azure.ServiceFabric.Extension.Core.VMExtensionHandler.InstallServiceWithRetry() 
    at Microsoft.Azure.ServiceFabric.Extension.Core.VMExtensionHandler.Enable() 
    at Microsoft.Azure.ServiceFabric.Extension.Handler.Program.Main(System.String[]) 

答えて

5

問題は、サービスファブリックが設定した証明書を見つけることができないことです。これにはいくつかの一般的な理由があります。

  1. 不適切な証明書の拇印が提供されています。 KeyVaultを使用している場合、KeyVault URLのID部分を証明書の拇印として使用していないことを確認してください。
  2. 証明書の拇印の冒頭に隠れたユニコード文字があります。これは、ダイアログボックスからコピー/貼り付けするときに最初に隠れた文字を挿入するときに、Windows certビューアのダイアログからサムプリントを取得する場合によく起こります。解決策は、最初にメモ帳(または他のASCIIエディタ)にコピーすることです。
    1. はCでアズールゲストエージェントのログを確認します:\ WindowsAzure \ログ\ WaAppAgent.logs

    あなたはVMのいずれかにRDPます場合は、これをtroulbeshootことができる2つの方法があります。 Microsoft.Azure.ServiceFabric.Extensionのインストールに関連するエントリを探し、「拇印で証明書が見つからない」xxxx「...」などのエントリを探します。拇印が期待どおりであり、拇印が隠れたユニコード文字を示す疑問符 "?xxx"で始まらないことを確認してください。

  3. サービスファブリック管理イベントログ(eventvwr - >アプリケーションとサービスログ - > Microsoft-ServiceFabric)を開きます。証明書を読み込めないことに関連するエラーエントリが表示されます。
+0

実際にこれを修正しなければならなかったが、あなたの答えはまったく同じだった。それを拡張するために、私は[azure guide](https://azure.microsoft.com/en-gb/documentation/articles/service-fabric-cluster-creation-via-arm/#add-証明書と鍵の保管場所)に証明書の形式に関する情報を提供します。彼らの[githubツール](https://github.com/ChackDan/Service-Fabric/tree/master/Scripts/ServiceFabricRPHelpers)を使用して動作しました。 – MetalMichael

+0

私のログには実際には拇印を見つけることができると言われていますが、私は拇印とkeyvaultのURLが間違っていたので爆発しました。本当にはっきりしませんでしたが、私がARMの値を二度チェックすると、そこに間違った情報があることに気付きました。あなたの価値を再確認してください! – Luke

関連する問題