none
Unknown Error during Installation

    Question

  • Hello All. I'm at wits end...

    The goal is to setup HPC using a remote Database. Sounds simple enough, right?

    I'm following https://technet.microsoft.com/en-us/library/ee783571(v=ws.11).aspx#BKMK_Script

    In prepping the new Databases, I have setup a user account called 'test_grid' and the DB Instance is the default (MSSQLServer). I run setuphpcdatabase [SQLHost] test_grid [headnode] BUILTIN\Administrators ...Which produces:

    setup permission for HPC setup user test_grid ...
    setup permission for HPC head node machine account [head_nod]$ ...
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group '[headnode]' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group '[headnode]' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group '[headnode]' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group '[headnode]' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group '[headnode]' not found. Check the name again.
    setup permission for reporting group BUILTIN\Administrators ...
    add custom defined HPC error messages in Sql server [SQLHost] ...

    D:\HPC Installation Files\HPC_2012r2\setup>

    This creates the databases, but not sure why I'm getting those errors on the headnode variable. I've tried the format domain/hostname, but there's no difference.
    ...Continuing on (as the DBs did get created)...

    I go over to the headnode and execute the HPC Setup. Everything installs fine until "Microsoft HPC Pack 2012 R2 Server Components." It looks like it completes several steps, including "Configuring SQL Server", "Executing SQL Strings, Moving files, Copying Files" then bombs.  I get the error:
    Error -2147467259: failed to create SQL database: hpcmanagement, error detail: unknown error.

    Clicking "OK" on the error, the MSI rolls back it's changes and I get:
    Component Microsoft HPC Pack 2012 R2 Server Components cannot be installed with error code 1603. Fatal error during installation.

    Clicking "OK" here brings me back to the HPC install screen, where I can 'retry' the Server Components.

    Looking at the log file C:\Windows\Temp\HPCSetupLogs\HPCSetupLogs-[Date]\HpcServer_x64, I see...

    MSI (s) (80:F4) [10:45:14:060]: Note: 1: 1708
    MSI (s) (80:F4) [10:45:14:060]: Product: Microsoft HPC Pack 2012 R2 Server Components -- Installation failed.
    MSI (s) (80:F4) [10:45:14:060]: Windows Installer installed the product. Product Name: Microsoft HPC Pack 2012 R2 Server Components. Product Version: 4.5.5079.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

    I have turned up Login Auditing in SQL and have verified that the installation is successfully authenticating to SQL.
    Running the install creates the machine account in SQL 'domain\headnode$' so I know that processing is happening
    I have verified there is plenty of room where the database files are located
    I have verified that all needed accounts have read/write access to the DB file locations
    I don't find any errors in the Event Viewers of either server

    Anyone have any idea what might be causing this 'Unknown Error' and how to get past it? 


    Thursday, March 15, 2018 3:56 PM

Answers

  • Had you disabled TLS 1.0 on your head node?

    Check whether the below registry key exists? If it exists, and the "Enabled" is set to 0. You can set it to 1 and retry to install head node.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\client, 

    After you install the head node, you can set it back to 0.

    If TLS 1.0 is not disabled on your head node, please share the log file HpcServer_x64.txt to hpcpack@microsoft.com

    • Marked as answer by GUID_RIDance Wednesday, March 21, 2018 12:09 PM
    Wednesday, March 21, 2018 6:24 AM

All replies

  • Hi,

    Could you try the below command?

    SetupHpcDatabase.cmd [sqlhost] domain\test_grid domain\headnode BUILTIN\Administrators


    • Edited by Sunbin Zhu Monday, March 19, 2018 8:41 AM
    Friday, March 16, 2018 5:50 AM
  • test_grid is a local SQL account. When I use my domain login, I get an error on...

    setup permission for HPC setup user domain\user
    Msg 15063, Level 16, State 1, Server OMAHCDB98, Line 38
    The login already has an account under a different user name.

    I believe this happens because may LanID is already the Database Owner.
    I'm not sure why you wanted contoso\hpcreportingadmin in there, but at this point I'll try about anything.

    Here's the full output:

    creating HPC databases in Sql server [SQLHost] ...
    Changed database context to 'master'.
    setup permission for HPC setup user domain\user ...
    Msg 15063, Level 16, State 1, Server [SQLHost], Line 38
    The login already has an account under a different user name.
    Msg 15063, Level 16, State 1, Server [SQLHost], Line 38
    The login already has an account under a different user name.
    Msg 15063, Level 16, State 1, Server [SQLHost], Line 38
    The login already has an account under a different user name.
    Msg 15063, Level 16, State 1, Server [SQLHost], Line 38
    The login already has an account under a different user name.
    Msg 15063, Level 16, State 1, Server [SQLHost], Line 38
    The login already has an account under a different user name.
    setup permission for HPC head node machine account domain\headnode ...
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'domain\headnode' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'domain\headnode' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'domain\headnode' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'domain\headnode' not found. Check the name again.
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'domain\headnode' not found. Check the name again.
    setup permission for reporting group contoso\hpcreportingadmin ...
    Msg 15401, Level 16, State 1, Server [SQLHost], Line 38
    Windows NT user or group 'contoso\hpcreportingadmin' not found. Check the name a
    gain.
    add custom defined HPC error messages in Sql server [SQLHost] ...When trying to run the installer on the Head Node, it errors with the same error code as above.

    Friday, March 16, 2018 4:06 PM
  • Sorry, I forgot to remove "contoso\hpcreportingadmin" in the example. 

    Per the error message, your head node machine account doesn't exist. 

    Is your SQL server domain joined? Why it cannot resolve the head node machine account?

    Monday, March 19, 2018 8:51 AM
  • I'm not sure I follow. The SQL server can ping the Head Node by name, which means DNS is resolving and connectivity is good. I can access the administrative shares on the Head Node from the SQL server.
    Also, IIS is running on the Head Node. I can connect on port 80.
    Monday, March 19, 2018 1:01 PM
  • I am not sure why your head node machine account is not recognized.

    Could you try to manually configure the DB permissions as below:

    1. Open Microsoft SQL Server Management Studio as sysadmin

    2. In Security->Logins, right click and choose "New Login" to add "domain\headnode$" with "Windows authentication", In the "User Mapping" page, assign this user as db_owner of HPCDiagnostics, HPCManagement, HPCMonitoring, HPCReporting, HPCScheduler.

    3. Do the similiar for the domain user for HPC setup, "domain\user"

    Tuesday, March 20, 2018 4:01 AM
  • "domain\headnode$" already existed on all the DataBases, and had db_datareader, db_datawriter, and db_ddladmin (the minimums). I assigned it db_owner.

    My account "domain\user" is already the db_owner.

    Regardless, I made "domain\headnode$" db_owner on all the databases and retried the installation. Same errors.

    Tuesday, March 20, 2018 1:16 PM
  • Had you disabled TLS 1.0 on your head node?

    Check whether the below registry key exists? If it exists, and the "Enabled" is set to 0. You can set it to 1 and retry to install head node.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\client, 

    After you install the head node, you can set it back to 0.

    If TLS 1.0 is not disabled on your head node, please share the log file HpcServer_x64.txt to hpcpack@microsoft.com

    • Marked as answer by GUID_RIDance Wednesday, March 21, 2018 12:09 PM
    Wednesday, March 21, 2018 6:24 AM
  • Bingo!

    So, I did try this before. Since it is a registry change I assumed that a reboot was required for the changes to take. Our servers are locked down via GPO, so it would always reset back. 

    Turns out, a reboot isn't required. 

    Thanks for your help!

    Wednesday, March 21, 2018 12:09 PM