none
HPC Pack 2016 Installation error RRS feed

  • Question

  • I am installing 2016 pack on a brand new 2016 server. During installation the followin error appears.

    Component Microsoft Service Fabric Cluster cannot be installed with error code 1. If a different version of Service Fabric runtime or SDK had already been installed in this machine, uninstall them and rerun setup . For more details, please check the Service Fabric deployment logs in the folders setup\DeploymentTraces and C:\ProgramData\SF\Log\Traces.

    ServiceFabricCluster.err contains:

     

    New-ServiceFabricCluster : One or more errors occurred.
    At line:1 char:126
    + ... bric.psd1'; New-ServiceFabricCluster -ClusterConfigurationFilePath 'C ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [New-ServiceFabricCluster], AggregateException
        + FullyQualifiedErrorId : ConfigureNodeErrorId,Microsoft.ServiceFabric.Powershell.NewCluster

    chainer contains:

    15:01:13.794 - Command arguments : 
    15:01:23.948 - Setting LocalDbInstanceName to COMPUTECLUSTER
    15:01:31.123 - [CheckRule] Checking rule OS -- Check if the installed operating system is supported for the selected role.
    15:01:31.138 - [CheckRule] Checking rule InstalledHpcVersion -- Check if an earlier or the same version of HPC Pack programs or features is installed.
    15:01:31.138 - [CheckRule] Checking rule WDS -- Check that the Deployment Server role service of the Windows Deployment Services role is not installed.
    15:01:31.138 - [CheckRule] Checking rule DomainUser -- Check if the account running setup is a domain account.
    15:01:31.154 - [CheckRule] Checking rule Firewall -- Check if the firewall service is running.
    15:01:31.185 - [CheckRule] Checking rule ServiceFabricCluster -- Check the Service Fabric cluster
    15:01:31.185 - [CheckRule] Checking rule CurrentHeadNodeVersion -- Check if the Service Fabric services for HPC Pack are installed
    15:01:36.232 - Setting LocalDbInstanceName to COMPUTECLUSTER
    15:01:37.436 - [NoEligibleSqlInstance] False
    15:01:37.436 - [NeedUpgradeComputeClusterSql] False
    15:01:37.436 - [CheckLocalDb] verifyVersion=False, HpcDb=None
    15:01:37.451 - [CheckDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=;Integrated Security=True
    15:01:37.483 - [CheckPermissionForCurrentUser]: Success
    15:01:37.483 - Adding Builtin\Administrators to sysadmin role in local DB mode ...
    15:01:37.529 - Adding 'NT AUTHORITY\SYSTEM' to sysadmin role in local DB mode ...
    15:01:38.253 - [CheckRule] Checking rule DbFile -- Check that no databases or files exist that conflict with the databases that setup installs.
    15:01:38.269 - Checking: C:\Program Files\Microsoft HPC Pack 2016\SQLDB\HPCManagement.mdf
    15:01:38.269 - [CanAccessDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=HPCManagement;Integrated Security=True;
    15:01:38.269 - Checking: C:\Program Files\Microsoft HPC Pack 2016\SQLDB\HPCScheduler.mdf
    15:01:38.269 - [CanAccessDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=HPCScheduler;Integrated Security=True;
    15:01:38.269 - Checking: C:\Program Files\Microsoft HPC Pack 2016\SQLDB\HPCReporting.mdf
    15:01:38.269 - [CanAccessDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=HPCReporting;Integrated Security=True;
    15:01:38.269 - Checking: C:\Program Files\Microsoft HPC Pack 2016\SQLDB\HPCDiagnostics.mdf
    15:01:38.269 - [CanAccessDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=HPCDiagnostics;Integrated Security=True;
    15:01:38.269 - Checking: C:\Program Files\Microsoft HPC Pack 2016\SQLDB\HPCMonitoring.mdf
    15:01:38.269 - [CanAccessDb] Data Source=I7-2016-1\COMPUTECLUSTER;Initial Catalog=HPCMonitoring;Integrated Security=True;
    15:01:38.284 - [Warning] The following existing databases will be overwritten when installing Microsoft HPC Pack, and the specified data and log file folders will not be used: HPCManagement, HPCScheduler, HPCReporting, HPCDiagnostics, HPCMonitoring. Migrate or back up the data in the existing databases if needed before you continue with this setup program.
    15:01:50.614 - [FeedInstallItem] HasAnyLocalDB: True
    15:01:50.614 - [FeedInstallItem] ComputeClusterSqlVersion: Eligible
    15:01:50.614 - [NoEligibleSqlInstance] False
    15:01:50.614 - [GetAllEligibleSqlInstances] COMPUTECLUSTER 
    15:01:50.614 - [NeedUpgradeComputeClusterSql] False
    15:01:50.629 - [SqlCompactInstallableItem] detected runtime version is 4.0.8876.1
    15:01:50.629 - [CheckInstallStateBySysFile] mqsvc.exe exists.
    15:01:50.629 - [CheckInstallStateBySysFile] ripagnt.dll exists.
    15:01:50.629 - [CheckInstallStateBySysFile] dhcpssvc.dll exists.
    15:01:50.629 - [CheckInstallStateBySysFile] wdspxe.dll exists.
    15:01:50.629 - [CheckInstallStateBySysFile] Dirquota.exe exists.
    15:01:53.620 - [FeedInstallItem] HasAnyLocalDB: True
    15:01:53.635 - [FeedInstallItem] ComputeClusterSqlVersion: Eligible
    15:01:53.635 - [NoEligibleSqlInstance] False
    15:01:53.635 - [GetAllEligibleSqlInstances] COMPUTECLUSTER 
    15:01:53.635 - [NeedUpgradeComputeClusterSql] False
    15:01:53.635 - [SqlCompactInstallableItem] detected runtime version is 4.0.8876.1
    15:01:53.635 - [CheckInstallStateBySysFile] mqsvc.exe exists.
    15:01:53.635 - [CheckInstallStateBySysFile] ripagnt.dll exists.
    15:01:53.635 - [CheckInstallStateBySysFile] dhcpssvc.dll exists.
    15:01:53.635 - [CheckInstallStateBySysFile] wdspxe.dll exists.
    15:01:53.635 - [CheckInstallStateBySysFile] Dirquota.exe exists.
    15:01:53.635 - getNextInstallItemIndex: 9, Microsoft Service Fabric Cluster
    15:01:53.635 - [BackgroundWorker_DoWork] Starting to install Microsoft Service Fabric Cluster
    15:01:53.729 - Execute PowerShell script: try {Import-Module 'C:\Users\Administrator\Downloads\HPC Pack 2016 2\ServiceFabric\DeploymentComponents\ServiceFabric.psd1'; New-ServiceFabricCluster -ClusterConfigurationFilePath 'C:\Windows\Temp\HPCSetupLogs\HPCSetupLogs-20170213-150113\ServiceFabricConfig_0.json' -FabricRuntimePackagePath 'C:\Users\Administrator\Downloads\HPC Pack 2016 2\ServiceFabric\MicrosoftAzureServiceFabric.cab' -ErrorAction Stop} catch {$_ | Out-File 'C:\Windows\Temp\HPCSetupLogs\HPCSetupLogs-20170213-150113\ServiceFabricCluster.err' -Append; throw}
    15:01:56.308 - [BackgroundWorker_DoWork] Ending installation with return code 1
    15:01:56.308 - [InstallProgressPage] failed to do installation with error: System.InvalidOperationException: Component Microsoft Service Fabric Cluster cannot be installed with error code 1. If a different version of Service Fabric runtime or SDK had already been installed in this machine, uninstall them and rerun setup . For more details, please check the Service Fabric deployment logs in the folders setup\DeploymentTraces and C:\ProgramData\SF\Log\Traces.
       at Microsoft.Hpc.Setup.Chainer.InstallWizard.InstallProgressPage.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    15:01:56.323 - [Error] Component Microsoft Service Fabric Cluster cannot be installed with error code 1. If a different version of Service Fabric runtime or SDK had already been installed in this machine, uninstall them and rerun setup . For more details, please check the Service Fabric deployment logs in the folders setup\DeploymentTraces and C:\ProgramData\SF\Log\Traces.

    ServiceFabricConfig_0.json contains

    {
      "name": "HpcCluster",
      "clusterManifestVersion": "1.0.0",
      "apiVersion": "2015-01-01-alpha",
      "nodes": [
        {
          "nodeName": "_Node_0",
          "iPAddress": "I7-2016-1",
          "nodeTypeRef": "NodeType0",
          "faultDomain": "fd:/dc1/r0",
          "upgradeDomain": "UD0"
        },
        {
          "nodeName": "_Node_1",
          "iPAddress": "I7-2016-1",
          "nodeTypeRef": "NodeType1",
          "faultDomain": "fd:/dc2/r0",
          "upgradeDomain": "UD1"
        },
        {
          "nodeName": "_Node_2",
          "iPAddress": "I7-2016-1",
          "nodeTypeRef": "NodeType2",
          "faultDomain": "fd:/dc3/r0",
          "upgradeDomain": "UD2"
        }
      ],
      "properties": {
        "reliabilityLevel": "Bronze",
        "enableTelemetry": false,
        "diagnosticsStore": {
          "metadata": "Please replace the diagnostics file share with an actual file share accessible from all cluster machines.",
          "dataDeletionAgeInDays": "7",
          "storeType": "FileShare",
          "IsEncrypted": "false",
          "connectionstring": "c:\\ProgramData\\SF\\DiagnosticsStore"
        },
        "security": {
          "metadata": "The Credential type X509 indicates this is cluster is secured using X509 Certificates. The thumbprint format is - d5 ec 42 3b 79 cb e5 07 fd 83 59 3c 56 b9 d5 31 24 25 42 64.",
          "ClusterCredentialType": "X509",
          "ServerCredentialType": "X509",
          "CertificateInformation": {
            "ClusterCertificate": {
              "Thumbprint": "9B1DC7810825E5A456EB78DFCB5DCDBA1F9B46C4",
              "X509StoreName": "My"
            },
            "ServerCertificate": {
              "Thumbprint": "9B1DC7810825E5A456EB78DFCB5DCDBA1F9B46C4",
              "X509StoreName": "My"
            }
          }
        },
        "nodeTypes": [
          {
            "name": "NodeType0",
            "clientConnectionEndpointPort": "10100",
            "clusterConnectionEndpointPort": "10101",
            "leaseDriverEndpointPort": "10200",
            "serviceConnectionEndpointPort": "10300",
            "httpGatewayEndpointPort": "10400",
            "applicationPorts": {
              "startPort": "20001",
              "endPort": "20100"
            },
            "ephemeralPorts": {
              "startPort": "20101",
              "endPort": "25100"
            },
            "isPrimary": true
          },
          {
            "name": "NodeType1",
            "clientConnectionEndpointPort": "10102",
            "clusterConnectionEndpointPort": "10103",
            "leaseDriverEndpointPort": "10201",
            "serviceConnectionEndpointPort": "10301",
            "httpGatewayEndpointPort": "10401",
            "applicationPorts": {
              "startPort": "25101",
              "endPort": "25200"
            },
            "ephemeralPorts": {
              "startPort": "25201",
              "endPort": "30200"
            },
            "isPrimary": false
          },
          {
            "name": "NodeType2",
            "clientConnectionEndpointPort": "10104",
            "clusterConnectionEndpointPort": "10105",
            "leaseDriverEndpointPort": "10202",
            "serviceConnectionEndpointPort": "10302",
            "httpGatewayEndpointPort": "10402",
            "applicationPorts": {
              "startPort": "30201",
              "endPort": "30300"
            },
            "ephemeralPorts": {
              "startPort": "30301",
              "endPort": "35300"
            },
            "isPrimary": false
          }
        ],
        "fabricSettings": [
          {
            "name": "Setup",
            "parameters": [
              {
                "name": "FabricDataRoot",
                "value": "C:\\ProgramData\\SF"
              },
              {
                "name": "FabricLogRoot",
                "value": "C:\\ProgramData\\SF\\Log"
              }
            ]
          }
        ]
      }
    }

    The same error is reinstall hpc 2016

    Monday, February 13, 2017 12:13 PM

All replies

  • Hi itsaec,

    Could you send the logs in setup\DeploymentTraces and C:\ProgramData\SF\Log\Traces to suzhu@microsoft.com ?

    Thanks.

    Tuesday, February 14, 2017 1:23 AM
  • Hi Sunbin

    It is impossible to zip the following directory

    C:\ProgramData\SF\Log\Traces  it says access is denied

    How I can zip it?


    Tuesday, February 14, 2017 5:18 AM
  • Could you copy C:\ProgramData\SF\Log\Traces to another folder and zip? I have no idea why you cannot access the folder. Are you running with a user account with administrator privileges?

    Tuesday, February 14, 2017 5:39 AM
  • If you have configured Service Fabric cluster, use the following command to enable the execution of PowerShell commands on your VM and try again.

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

    Regards,

    Mike C.

    Tuesday, February 14, 2017 5:56 PM
  • I have the same problem installing HPC pack 2016 on windows server 2016. 
    Thursday, March 9, 2017 6:19 AM
  • I found solution in my case. Headnode server also had an active directory role but since HPC pack 2016 it's not possible to install HPC and AD on the same system. After I deleted AD role everything was installed successfully. 

     
    Thursday, March 9, 2017 10:52 AM
  • This helped me get past that error thanks!  It took me a while to figure out how to fully remove the AD role.  You must remove the AD Certificates Services, then Demote the server then remove the AD Domain Services.  This youtube video was helpful for me...  https://www.youtube.com/watch?v=Th23fVJydxU
    Wednesday, June 21, 2017 6:48 PM
  • I had the same, problem, followed all suggestions in this post - i.e. Removing AD CS, doing the Powershell command - no luck. Finally I copied the installation files to the local hard drive ( from a shared networked location ) and all worked fine. Probably all steps I did also contributed, but the final nail was the UNC path for the installation package.
    Tuesday, August 22, 2017 2:04 PM