-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSFT_xSQLServerSetup failed to execute Set-TargetResource #551
Comments
@sujitks Thanks for submitting this issue. Could you provide a verbose log and the the error message you are getting? |
Hi @johlju following is the error message I have got
I am using Azure Automation for the dsc, If you want I can send you configuration file as well if that helps. |
That error message usually happens when setup.exe fails for some reason and Test-method cannot verify that the features are installed. Please send the configuration, maybe I can use it to build a lab to test this. Also if you got the summary log in |
Thanks for the heads up @johlju, I saw it was complaining for the features supplied in the argument. SQLENGINE is no longer a valid feature in sql 2016. I have corrected that but now it is failing for a System Administrator account with following error: Missing system administrator account. To continue, provide at least one Windows account to provision as a SQL Server system administrator. |
What do you mean by that SQLENGINE is not a valid feature? It should be. Or am I miss understanding you? About the error message you are getting. It should be the user set in SQLSysAdminAccounts that is used. Also the user in SetupCredential will always be used as the first administrator user. I don't know why you are getting that error to be honest. |
I always used a domain user. Never tried a local user. So if you are using a local user(s) then that might be the problem? |
Hi @johlju, I I had some success after providing the account information. Now it is failing and complaining that No features were installed during the setup execution. The requested features may already be installed. Please review the summary.txt log for I have attached the configuration here. |
I do see on problem. You got the following features list.
The parent feature parameter 'Tools' is currently not supported. Please use the (child) feature parameter (CONN, BC, etc). If you use 'Tools' the Test-method will report that is is missing a feature (and it will always try to install again on the next run). The error you are getting seems to be an error from setup.exe. You should not have gotten that on a clean install. And if all features were detected, then setup.exe should not been started. |
I have updated the features and re-provision everything, sql server setup seems to have gone ok now. It is faililng on xSqlMemory due to parameter validation. I am going to see what are the valid values. I have followed one of the example from this repository, Looks like there is no example available yet for building a sql server 2016 cluster. Thanks for your help |
We are lacking good examples. It would be a good thing to have that, which has been discussed for example here #462. I'm closing this issue. If you have a problem still with xSQLServerMemory please open a new issue. If there still a problem with installing using xSQLServerStup, then please reopen this issue, or submit a new issue. Thanks! |
Trying to install Sql Server 2016 using xSqlServer which keeps failing
Windows server 2016 data centre edition, SQL Server 2016 and PS 5.1 the DSC Target Node is running:
I am trying to install sql server using the xSqlServer version 7 from the psgallery
Version of the DSC module xSqlServer 7 from Powershell Gallery
The text was updated successfully, but these errors were encountered: