Open Shane291 opened 3 years ago
Shane, I would start by running Get-NetworkController and Get-NetworkControllerCluster on the NC nodes themselves, it appears they are not providing the NC service as fully operaitonal. Once that is established, we can onboard the NC Service to VMM. Can you post your Service Deployment Name and Connection String you used, or at least confirm they match? Thanks.
Hi Shane,
Have you resolved the problem? would you mind reply with your solution?
I've got the same error message. I'm running VMM 2022 UR2.
'Reason: Execution of :: on the configuration provider failed. Detailed exception: Unable to connect to the network service. Check connection string and network connectivity. Execution of Microsoft.SystemCenter.NetworkService::OpenDeviceConnectionEx on the configuration provider 3e2875a7-5831-4fb2-b388-1672e1c20fee failed. Detailed exception: Microsoft.VirtualManager.NCRestApiWrappers.NCRestApiWrappersException: Unable to connect to the network service. Check connection string and network connectivity. (Error ID: 21426)'
Any help would be greatly appreciated. Thanks
Hello,
I get the following error message. I'm running VMM 2019 Datacenter with May patches. My Sysprep image is also running the most recent May patches. It fails with the VMM job Add SC-NetworkService. I verified that the nodes can ping each other during the VM deployment phase. I am running the script as an admin from the VMM server.
I also tried with a January 2020 patched version with VMM and I had the same result.
I have verbose logging turned on:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Execution of :: on the configuration provider failed. Detailed exception: Unable to connect to the network service. Check connection string and network connectivity. Execution of Microsoft.SystemCenter.NetworkService::OpenDeviceConnectionEx on the configuration provider 3e2875a7-5831-4fb2-b388-1672e1c20fee failed. Detailed exception: Microsoft.VirtualManager.NCRestApiWrappers.NCRestApiWrappersException:
Check the documentation for the configuration provider or contact the publisher support. Unable to connect to the network service. Check connection string and network connectivity. (Error ID: 21426)
VMMExpressLogFile Output:
Using configuration from file [.\Fabricconfig.psd1] Getting VMM server connection with VMM server [DMZ-VMM1] Checking the Fabric Configuration Input Parameters WARNING: The product Key is blank. Specify the Product key by logging into the infrastructure VM while is it being configured Successfully authenticated with domain lab VMNetwork Name : [DMZ-INF-LAN] Generating Self-Signed Certificate.. Generating the self signed certificate Trimmed VMName:[SDN-NCVM01.lab.dmz] Exporting the certificate Certificate Path : cert:\LocalMachine\My\B358FF8CB0719444661E82C8F7D12F0486EBB476 Trimmed VMName:[SDN-NCVM01.lab.dmz] Recieved VMName : [SDN-NCVM01.lab.dmz] VmName : [SDN-NCVM01.lab.dmz] Mapping VHD to template package Mapping NCSetup.cr to template package Mapping ServerCertificate.cr to template package Mapping TrustedRootCertificate.cr to template package Starting Service Template Configuration getting Management Network [] Getting the service setting Creating Account VMName while onboarding NC : [SDN-NCVM01.lab.dmz] COnnection String : The deployment was not successful. Reason: Execution of :: on the configuration provider failed. Detailed exception: Unable to connect to the network service. Check connection string and network connectivity. Execution of Microsoft.SystemCenter.NetworkService::OpenDeviceConnectionEx on the configuration provider 3e2875a7-5831-4fb2-b388-1672e1c20fee failed. Detailed exception: Microsoft.VirtualManager.NCRestApiWrappers.NCRestApiWrappersException:
Check the documentation for the configuration provider or contact the publisher support. Unable to connect to the network service. Check connection string and network connectivity. (Error ID: 21426)
Check the documentation for the configuration provider or contact the publisher support.
To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer localhost | Get-Job | where { $_.ID -eq "{87bafc37-da92-4339-931b-fb9925180d01}"})
Cleaning up the system to get in previous state...