I'm playing around DSC to manage 2 nodes, I've been able to setup my pull-server but the problem now is pushing/pulling configuration from the pull-server which is not working.
I tried troubleshooting the issue and I could see the error in the response of the GetAction request but I don't know what it means.
{
"odata.error": {
"code": "",
"message": {
"lang": "en-US",
"value": "nodeComplianceStatus or mofChecksum not found for MSFT.PSDSCAction."
},
"innererror": {
"message": "nodeComplianceStatus or mofChecksum not found for MSFT.PSDSCAction.",
"type": "System.ArgumentException",
"stacktrace": ""
},
"MODATA.Exception.ErrorRecord": {
"odata.type": "MODATA.Exception.DataServiceException",
"ErrorCode": "",
"MessageLanguage": "en-US",
"StatusCode": 400,
"Message": "nodeComplianceStatus or mofChecksum not found for MSFT.PSDSCAction.",
"Data": [],
"InnerException": {
"Message": "nodeComplianceStatus or mofChecksum not found for MSFT.PSDSCAction.",
"Data": [],
"InnerException": null,
"TargetSite": null,
"StackTrace": null,
"HelpLink": null,
"Source": null,
"HResult": -2147024809
},
"TargetSite": null,
"StackTrace": " at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeMethod(IInvoker invoker, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException)\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeOperationManagerFunction[T](Func`1 func, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException, T defaultResultForNotImplementedException)\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeAction(ResourceType resourceType, IEnumerable`1 resourceKeys, String actionName, IEnumerable`1 inputParameters, ResourceType returnType)\r\n at Microsoft.Management.Odata.Core.DataServiceInvokable.InvokeActionOnAst(RequestAstNode root)\r\n at Microsoft.Management.Odata.Core.DataServiceInvokable.Invoke()\r\n at Microsoft.Management.Odata.Core.DataServiceUpdateProvider.SaveChanges()\r\n at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)\r\n at System.Data.Services.DataService`1.HandleRequest()",
"HelpLink": null,
"Source": "Microsoft.Management.OData",
"HResult": -2146233079
}
}
}
Any idea what's wrong ?