Skip to content
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

SqlAlwaysOnService: When failing to enable AlwaysOn the resource writes an error but still continue to try to validate #1190

Closed
johlju opened this issue Jul 18, 2018 · 0 comments · Fixed by #1454
Labels
enhancement The issue is an enhancement request.

Comments

@johlju
Copy link
Member

johlju commented Jul 18, 2018

Details of the scenario you tried and the problem that is occurring

Although I think Enable-SqlAlwaysOn and Disable-SqlAlwaysOn should have -ErrorAction Stop since it seems it continues even though the cmdlet fails.

See issue #1187 for verbose logs where it is shown these cmdlets continue even when an error occurs.

The DSC configuration that is using the resource (as detailed as possible)

Any configuration that fails to enable AlwaysOn.

Version of the operating system and PowerShell the target node is running

n/a

SQL Server edition and version the target node is running

n/a

What SQL Server PowerShell modules, and which version, are present on the target node.

n/a

Version of the DSC module you're using, or write 'dev' if you're using current dev branch

Dev

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jul 18, 2018
@johlju johlju added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Jan 1, 2020
@johlju johlju removed the in progress The issue is being actively worked on by someone. label Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant