Skip to content

Instantly share code, notes, and snippets.

@davoodharun
Created January 17, 2017 21:45
Show Gist options
  • Save davoodharun/a1b433d587cb379cb9dff853e4b521aa to your computer and use it in GitHub Desktop.
Save davoodharun/a1b433d587cb379cb9dff853e4b521aa to your computer and use it in GitHub Desktop.
DSC error for sql always on cluster
[
{
"code": "ComponentStatus/DscConfigurationLog/failed/8",
"level": "Error",
"displayStatus": "Provisioning failed",
"message": "[2017-01-17T21:25:00] [VERBOSE] Operation 'Invoke CimMethod' complete.\r\n[2017-01-17T21:25:01] [VERBOSE] Set-DscLocalConfigurationManager finished in 5.573 seconds.\r\n[2017-01-17T21:25:04] [VERBOSE] Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.\r\n[2017-01-17T21:25:04] [VERBOSE] An LCM method call arrived from computer SQLSERVER-0 with user sid S-1-5-18.\r\n[2017-01-17T21:25:04] [VERBOSE] [SQLSERVER-0]: LCM: [ Start Set ]\r\n[2017-01-17T21:25:20] [ERROR] The WS-Management service cannot process the request. The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033 \r\n[2017-01-17T21:25:20] [VERBOSE] Operation 'Invoke CimMethod' complete.\r\n[2017-01-17T21:25:20] [VERBOSE] Time taken for configuration job to complete is 16.557 seconds\r\n[2017-01-17T21:25:23] [VERBOSE] Performing the operation \"Start-DscConfiguration: SendMetaConfigurationApply\" on target \"MSFT_DSCLocalConfigurationManager\".\r\n[2017-01-17T21:25:23] [VERBOSE] Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.\r\n[2017-01-17T21:25:23] [VERBOSE] An LCM method call arrived from computer SQLSERVER-0 with user sid S-1-5-18.\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ Start Set ]\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0160 seconds.\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ End Set ]\r\n[2017-01-17T21:25:23] [VERBOSE] [SQLSERVER-0]: LCM: [ End Set ] in 0.0780 seconds.\r\n[2017-01-17T21:25:23] [VERBOSE] Operation 'Invoke CimMethod' complete.\r\n[2017-01-17T21:25:23] [VERBOSE] Set-DscLocalConfigurationManager finished in 0.223 seconds."
},
{
"code": "ComponentStatus/DscExtensionLog/failed/8",
"level": "Error",
"displayStatus": "Provisioning failed",
"message": "[2017-01-17T21:24:46] Extracting PrepareAlwaysOnSqlServer.ps1.zip\r\n[2017-01-17T21:24:46] Installing custom DSC resource modules to C:\\Program Files\\WindowsPowerShell\\Modules\r\n[2017-01-17T21:24:46] Installing custom DSC resource module cDisk\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xActiveDirectory\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xComputerManagement\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xDisk\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xFailOverCluster\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xNetworking\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xSmbShare\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xSQL\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xSqlPs\r\n[2017-01-17T21:24:46] Installing custom DSC resource module xSQLServer\r\n[2017-01-17T21:24:46] Looking for the definition of the configuration function.\r\n[2017-01-17T21:24:46] Executing C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\bin\\..\\DSCWork\\PrepareAlwaysOnSqlServer.ps1.0\\PrepareAlwaysOnSqlServer.ps1\r\n[2017-01-17T21:24:47] Preparing configuration arguments and configuration data.\r\n[2017-01-17T21:24:48] Created encryption certificate E017DD61FD88B595784A6E98979C6CE578D0C5DC\r\n[2017-01-17T21:24:48] Adding encryption certificate E017DD61FD88B595784A6E98979C6CE578D0C5DC to the configuration data\r\n[2017-01-17T21:24:48] Creating MOF files.\r\n[2017-01-17T21:24:48] Executing the configuration function to generate the MOF files.\r\n[2017-01-17T21:24:53] Meta configuration found. Injecting Thumbprint.\r\n[2017-01-17T21:24:53] CertificateID not present in existing meta configuration; inserting E017DD61FD88B595784A6E98979C6CE578D0C5DC.\r\n[2017-01-17T21:24:53] Verifying metaconfiguration for reboot information...\r\n[2017-01-17T21:24:53] WMF 5 or newer, Injecting RebootNodeIfNeeded = False and ActionAfterReboot = \"StopConfiguration\"\r\n[2017-01-17T21:24:53] Executing Set-DscLocalConfigurationManager...\r\n[2017-01-17T21:24:54] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:03] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:03] Get-DscLocalConfigurationManager: \r\n\r\nActionAfterReboot : StopConfiguration\r\nAgentId : 6394A814-DCFB-11E6-80C3-001DD8003C1D\r\nAllowModuleOverWrite : False\r\nCertificateID : E017DD61FD88B595784A6E98979C6CE578D0C5DC\r\nConfigurationDownloadManagers : {}\r\nConfigurationID : \r\nConfigurationMode : ApplyAndMonitor\r\nConfigurationModeFrequencyMins : 15\r\nCredential : \r\nDebugMode : {NONE}\r\nDownloadManagerCustomData : \r\nDownloadManagerName : \r\nLCMCompatibleVersions : {1.0, 2.0}\r\nLCMState : Idle\r\nLCMStateDetail : \r\nLCMVersion : 2.0\r\nStatusRetentionTimeInDays : 10\r\nPartialConfigurations : \r\nRebootNodeIfNeeded : False\r\nRefreshFrequencyMins : 30\r\nRefreshMode : PUSH\r\nReportManagers : {}\r\nResourceModuleManagers : {}\r\nPSComputerName : \r\n\r\n\r\n\r\n\r\n[2017-01-17T21:25:03] Executing Start-DscConfiguration...\r\n[2017-01-17T21:25:03] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:21] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:21] Updating execution status (HKLM:\\SOFTWARE\\Microsoft\\Azure\\DSC\\ExecutionStatus)\r\n[2017-01-17T21:25:21] LCM state is PendingConfiguration\r\n[2017-01-17T21:25:21] DSC configuration completed.\r\n[2017-01-17T21:25:21] Removing meta.mof and mof files...\r\n[2017-01-17T21:25:22] Resetting metaconfiguration...\r\n[2017-01-17T21:25:22] Executing Set-DscLocalConfigurationManager...\r\n[2017-01-17T21:25:22] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:24] Settings handler status to 'transitioning' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)\r\n[2017-01-17T21:25:26] Get-DscLocalConfigurationManager: \r\n\r\nActionAfterReboot : ContinueConfiguration\r\nAgentId : 6394A814-DCFB-11E6-80C3-001DD8003C1D\r\nAllowModuleOverWrite : False\r\nCertificateID : E017DD61FD88B595784A6E98979C6CE578D0C5DC\r\nConfigurationDownloadManagers : {}\r\nConfigurationID : \r\nConfigurationMode : ApplyAndMonitor\r\nConfigurationModeFrequencyMins : 15\r\nCredential : \r\nDebugMode : {None}\r\nDownloadManagerCustomData : \r\nDownloadManagerName : \r\nLCMCompatibleVersions : {1.0, 2.0}\r\nLCMState : PendingConfiguration\r\nLCMStateDetail : \r\nLCMVersion : 2.0\r\nStatusRetentionTimeInDays : 10\r\nPartialConfigurations : \r\nRebootNodeIfNeeded : True\r\nRefreshFrequencyMins : 30\r\nRefreshMode : Push\r\nReportManagers : {}\r\nResourceModuleManagers : {}\r\nPSComputerName : \r\n\r\n\r\n\r\n\r\n[2017-01-17T21:25:26] Settings handler status to 'error' (C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0\\Status\\0.status)"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment