For a reason that I do not understand, every time we try to use an OSD sequence with a State Migration involved we get the following error:
smsts.log:
![LOG[Requesting SMP Root share config information from http://sc-cm.example:0]LOG]!><time="11:13:02.587+360" date="01-07-2016" component="OSDSMPClient" context="" type="1" thread="10196" file="smpclient.cpp:2348"><![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sc-cm.example:80 CCM_POST /SMSSMP/.sms_smp?op=RootShareInfo]LOG]!><time="11:13:02.587+360" date="01-07-2016" component="OSDSMPClient" context="" type="1" thread="10196" file="libsmsmessaging.cpp:8778"><![LOG[Error. Status code 500 returned]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="libsmsmessaging.cpp:9141"><![LOG[Received 1231 byte response.]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:2363"><![LOG[pReply != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,2378)]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:2378"><![LOG[SMP Root share info response is empty]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:2378"><![LOG[ClientRequestToSMP::ClientRootShareRequestToSMP failed. error = (0x80004005).]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:2429"><![LOG[ExecuteRootShareInfoRequest(sRootShareList), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,1704)]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:1704"><![LOG[ClientRequestToSMP::DoRequest failed. error = (0x80004005).]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:1882"><![LOG[Request to SMP 'http://sc-cm.example' failed with error (Code 0x80004005). Trying next SMP.]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="2" thread="10196" file="smpclient.cpp:1590"><![LOG[FALSE, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,1644)]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:1644"><![LOG[Failed to find an SMP that can serve request after trying 4 attempts.]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:1644"><![LOG[pClientRequestToSMP->Execute(migInfoFromMP.saSMPs), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,2689)]LOG]!><time="11:13:02.610+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:2689"><![LOG[ExecuteCaptureRequestSMP failed (0x80004005).]LOG]!><time="11:13:02.611+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:2704"><![LOG[ExecuteCaptureRequestToSMP(migInfoFromMP), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,2744)]LOG]!><time="11:13:02.611+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="smpclient.cpp:2744"><![LOG[ExecuteCaptureRequest failed (0x80004005).]LOG]!><time="11:13:02.611+360" date="01-07-2016" component="OSDSMPClient" context="" type="3" thread="10196" file="smpclient.cpp:2752"><![LOG[ExecuteCaptureRequest(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\main.cpp,76)]LOG]!><time="11:13:02.611+360" date="01-07-2016" component="OSDSMPClient" context="" type="0" thread="10196" file="main.cpp:76"><![LOG[OSDSMPClient finished: 0x00004005]LOG]!><time="11:13:02.611+360" date="01-07-2016" component="OSDSMPClient" context="" type="1" thread="10196" file="main.cpp:124"><![LOG[Process completed with exit code 16389]LOG]!><time="11:13:02.650+360" date="01-07-2016" component="TSManager" context="" type="1" thread="9996" file="commandline.cpp:1124"><![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:13:02.651+360" date="01-07-2016" component="TSManager" context="" type="1" thread="9996" file="instruction.cxx:805"><![LOG[Failed to run the action: Request State Store.
Unknown error (Error: 00004005; Source: Unknown)]LOG]!><time="11:13:02.752+360" date="01-07-2016" component="TSManager" context="" type="3" thread="9996" file="instruction.cxx:911"><![LOG[Set authenticator in transport]LOG]!><time="11:13:02.754+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="libsmsmessaging.cpp:7908"><![LOG[Set a global environment variable _SMSTSLastActionRetCode=16389]LOG]!><time="11:13:02.821+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="executionenv.cxx:669"><![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="11:13:02.822+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="executionenv.cxx:669"><![LOG[Clear local default environment]LOG]!><time="11:13:02.823+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="executionenv.cxx:808"><![LOG[Let the parent group (Capture User Profile) decides whether to continue execution]LOG]!><time="11:13:02.829+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="instruction.cxx:1020"><![LOG[The execution of the group (Capture User Profile) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="11:13:02.830+360" date="01-07-2016" component="TSManager" context="" type="3" thread="9996" file="instruction.cxx:217"><![LOG[Failed to run the last action: Request State Store. Execution of task sequence failed.
Unknown error (Error: 00004005; Source: Unknown)]LOG]!><time="11:13:02.831+360" date="01-07-2016" component="TSManager" context="" type="3" thread="9996" file="engine.cxx:222"><![LOG[Set authenticator in transport]LOG]!><time="11:13:02.833+360" date="01-07-2016" component="TSManager" context="" type="0" thread="9996" file="libsmsmessaging.cpp:7908">
I've been able to trace this back to a corresponding error in smpisapi.log:
<![LOG[========== BEGIN: HttpExtensionProc ==========]LOG]!><time="14:49:06.347+360" date="01-07-2016" component="smpisapi" context="" type="0" thread="3016" file="smpisapi.cpp:404"><![LOG[Query string to parse: 'op=RootShareInfo'.]LOG]!><time="14:49:06.347+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smpisapi.cpp:139"><![LOG[Attempt to call SMPDecryptAndVerify failed (0xc000a000)]LOG]!><time="14:49:06.363+360" date="01-07-2016" component="smpisapi" context="" type="3" thread="3016" file="smprequesthandler.cpp:412"><![LOG[SMPRequestHandler::ExtractSMPRequestMsg failed. error = (c000a000).]LOG]!><time="14:49:06.363+360" date="01-07-2016" component="smpisapi" context="" type="3" thread="3016" file="smprequesthandler.cpp:429"><![LOG[SMPRequestHandler::HandleMessage for StoreOp ROOTSHAREINFO failed with server errorcode 99]LOG]!><time="14:49:06.363+360" date="01-07-2016" component="smpisapi" context="" type="3" thread="3016" file="smprequesthandler.cpp:322"><![LOG[Returning status "500 Internal Server Error"]LOG]!><time="14:49:06.363+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smpisapi.cpp:230"><![LOG[========== END: HttpExtensionProc ==========]LOG]!><time="14:49:06.363+360" date="01-07-2016" component="smpisapi" context="" type="0" thread="3016" file="smpisapi.cpp:482">
For what its worth, the health checks for the SMP are completely normal:
<![LOG[========== BEGIN: HttpExtensionProc ==========]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="0" thread="3016" file="smpisapi.cpp:404"><![LOG[Query string to parse: 'op=healthcheck'.]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smpisapi.cpp:139"><![LOG[Creating state store - W:\USMT\SMPSTOREW_<usmt folder>$\<migration hash>.]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smprequesthandler.cpp:1408"><![LOG[Creating Migration Status Parent Directory - W:\USMT\SMPSTOREW_<usmt folder>$\MigrationStatus.]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smprequesthandler.cpp:1482"><![LOG[Statestore - W:\USMT\SMPSTOREW_C5BFB3A4$\MigrationStatus exists.]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="2" thread="3016" file="smprequesthandler.cpp:1494"><![LOG[Creating Migration Status Child Directory - W:\USMT\SMPSTOREW_<usmt folder>$\MigrationStatus\<migration hash>.]LOG]!><time="14:50:24.342+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smprequesthandler.cpp:1512"><![LOG[Returning status "200 OK"]LOG]!><time="14:50:24.436+360" date="01-07-2016" component="smpisapi" context="" type="1" thread="3016" file="smpisapi.cpp:230"><![LOG[========== END: HttpExtensionProc ==========]LOG]!><time="14:50:24.436+360" date="01-07-2016" component="smpisapi" context="" type="0" thread="3016" file="smpisapi.cpp:482">
Any ideas?