When I try to deploy the VM it stuck on 1.2 Deploy File option and after some time throws the below error
Error (2912)
An internal error has occurred trying to contact the 'xxxxxxx' server: NO_PARAM: NO_PARAM.
WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={9E5F4249-5DA5-4E93-95C1-C2AE37100FA9}]
There are no more endpoints available from the endpoint mapper (0x800706D9)
Recommended Action
Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' is a host/library/update server or a PXE server role then ensure that VMM agent is installed and
running. Refer to http://support.microsoft.com/kb/2742275 for more details.
I already tried below steps
Verified the certificate on host and VMM server --> Didn't work
Changed the BITS port to 8500 and still the issue same --> Didn't work
Changed the settings to allow unencrypted BITS option on All Hosts and Library Server --> Didn't work
Added a new Hyper V Host and able to create VM on it which means issue with the existing host.
I can not re-add the Hyper V Host/Cluster due to some reasons.
Enabled the debugging on VMM server and following are the logs
WinRM: URL: [http://xxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]
CreateSession: going to use custom timeout for wsman operations: 300 secs.
Bits Client job (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}) is in an error state.
WinRM: URL: [http://xxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]
CreateSession: going to use custom timeout for wsman operations: 300 secs.
private\product\engine\Deployment\BitsDeployer.cs,1028,WSManProviderException [ex#c2c5] caught by GetProgress (catch CarmineException) [[(WSManProviderException#[bafc]) { Microsoft.Carmine.WSManWrappers.WSManProviderException: An internal error has occurred
trying to contact the 'xxxxx' server: NO_PARAM: NO_PARAM. WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]
Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' is a host/library/update server or a PXE server role then ensure that VMM agent is installed
and running. Refer to http://support.microsoft.com/kb/2742275 for more details.
at Microsoft.VirtualManager.Engine.Deployment.NativeDeploymentClientJob.GetProgress(UInt32& state, UInt64& fileSizeBytes, UInt64& transferredBytes) at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.GetProgress(UInt32&
clientState, IVmmDbConnection dbConnection) *** Carmine error was: HostAgentFail (2912); HR: 0x800706D9 *** \\shared-path\MSSCVMMLibrary\ISO\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO ** xxxxx ** 443 **
WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}] ** xxxxx ** [s#246c2c5]
Task`1.SubtaskRun(this: (Task`1<NewVmFromTemplateSubtask>#[6]) { TBD }, TaskID: (guid) 2b590350-c1ef-47c4-aeb3-1a15a8282668) in t:\btvsts\2811\private\product\engine\TaskRepository\Task.cs:line 254 [s#1c6f680] RefreshDriver`1.RefreshThreadFunction(this:
(RefreshDriver`1<HostClusterReference>#[3]) { tbd }, obj: (WaitCallbackState<HostClusterReference>#c05248) Microsoft.VirtualManager.Engine.RefreshDriver`1+WaitCallbackState[Microsoft.VirtualManager.DB.Adhc.HostClusterReference]) in s:\btvsts\4576\private\product\engine\Common\RefreshDriver.cs:line
566 Full call stack from when the exception was thrown: at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.Copy(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.Deployment.DeploySubtask.RunSubtask(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployFilesWithFallback(DeploySubtask mainSubtask, DeploymentHelper
mainHelper, DeploySubtask fallbackSubtask, DeploymentHelper fallbackHelper, WindowsCopyCredentialFixup credentialFixup, Boolean useFallback, Boolean isSubtaskAlreadyChild, String traceMessage, IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployVm(IVmmDbConnection
dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.DeployVm(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks(IVmmDbConnection
dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.RunSubtask(IVmmDbConnection
dbConnection) at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action) at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object
state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()
; error = (ErrorInfo#83052e14) HostAgentFail (2912); HR: 0x800706D9 }]
private\product\engine\Deployment\BitsDeployer.cs,1034,Failed to transfer C:\Test-Piyush-VM\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO due to [There are no more endpoints available from the endpoint mapper (0x800706D9)], removing the entry from
the current xfer list...
private\product\engine\Deployment\BitsDeployer.cs,1151,WSManProviderException [ex#c2c5] caught by GetProgress (catch WSManException) (exception already reported),
private\product\engine\Deployment\BitsDeployer.cs,802,Cancel a main job.,
private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1728,WinRM: URL: [http://xxxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],
private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300 secs.,{00000000-0000-0000-0000-000000000000},
private\product\engine\Deployment\NativeDeploymentClientJob.cs,602,Suspending BitsClientJob (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}).,{00000000-0000-0000-0000-000000000000},
private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,2586,WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [SetJobState], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],{00000000-0000-0000-0000-000000000000},
[3]0C6C.33D8::2019-04-30 17:23:22.280 [Microsoft-VirtualMachineManager-Debug]4,4,private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300 UrlGroup:
https://shared-path:443/e7d3d115a66af3d7263b2bd5b3a9ea4dc6c002e6/, UrlSuffix: MSSCVMMLibraryA5cISOA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO/C:A5cTest-Piyush-VMA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO
Could not deploy VM files for VM Test-Piyush-VM using BITS, nothing to fallback to
Can anyone please advise on this?