You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm testing a cookbook via kitchen that calls the sql_server_install resource. The installation of SQL fails when I define a domain account to run the Sql server and Agent services, but succeeds when I don't.
🥞 Cookbook version
6.2.1
👩🍳 Chef-Infra Version
17.1.35
🎩 Platform details
Windows Server 2016
Steps To Reproduce
Create test kitchen instance, instance is domain joined as part of the creation process
converge cookbook
The cookbook does the following:
Maps network share containing setup files to X:
Calls the sql_server_install resource with the following params:
SQL should install successfully and the defined domain accounts above should be running the SQL server and Agent services. Instead the install fails.
If I call the install resource above without the agent_account, agent_account_pwd, sql_account and sql_account_pwd defined, which causes the install to use the built-in local accounts instead to run the services, the installation is successful.
The SQL bootstrap log (full output in link below) shows an access denied error:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061762559
Exit facility code: 1308
Exit error code: 1
Exit message: Access is denied.
Start time: 2021-05-21 23:26:41
End time: 2021-05-21 23:27:40
Requested action: Install
➕ Additional context
I've verified the validity of the passwords for the domain service accounts
I've looked at the generated ConfigurationFile.ini that the cookbook generates and it looks correct when compared to one generated by a manual installation.
👻 Brief Description
Hello. I'm testing a cookbook via kitchen that calls the sql_server_install resource. The installation of SQL fails when I define a domain account to run the Sql server and Agent services, but succeeds when I don't.
🥞 Cookbook version
6.2.1
👩🍳 Chef-Infra Version
17.1.35
🎩 Platform details
Windows Server 2016
Steps To Reproduce
The cookbook does the following:
🚓 Expected behavior
SQL should install successfully and the defined domain accounts above should be running the SQL server and Agent services. Instead the install fails.
If I call the install resource above without the agent_account, agent_account_pwd, sql_account and sql_account_pwd defined, which causes the install to use the built-in local accounts instead to run the services, the installation is successful.
The SQL bootstrap log (full output in link below) shows an access denied error:
➕ Additional context
The text was updated successfully, but these errors were encountered: