Error while creating Network Controller Service Instance- Software Defined Networking

Sriram Ganesan 136 Reputation points
2021-01-03T15:38:47.43+00:00

Hi,

I have created an environment to test MS Software Defined Networking using Hyper-V VMs in my laptop. One of the VMs has the SCVMM installed in it.

I have downloaded the templates for Network Controller from MS's GitHub repository - Single Instance Generation 1.

The deployment of the Network Controller on a host VM goes through till 99% and fails. The error seems to be pretty explanatory but I am unable to figure out the exact resolution.

Error (22042)

The service NetworkControllerDeployment was not successfully deployed. Review the event log to determine the cause and corrective actions.

Recommended Action

The deployment can be restarted by retrying the job.

Error (22753)

The script command with properties: Type (PreInstall), Deployment Order (1) and Parent Type (ApplicationProfile), failed to complete successfully. Refer to the errors list for more information.

Recommended Action

If the script command's job restart action is set to restart, then the script will be re-executed. Otherwise, the script command will be skipped when the job is restarted, in which case corrective action should be taken to mitigate the effects of the script command failure.

Error (22758)

The guest agent encountered an exception while running a script command. Win32ErrorCode: 2147943726 DetailedErrorMessage: The user name or password is incorrect

Recommended Action

Check your inputs before retrying the operation again.

Error (20400)

1 parallel subtasks failed during execution.

Error (21952)

Application deployment failed for one or more tiers or application hosts in the service NetworkControllerDeployment. Check job logs to get more information on the failed operation.

Recommended Action

Check error messages and retry the operation if needed.

Question:

I am unable to find the task that corresponds to this action. The general suggestion in the Stack Overflow threads is to change the "User or Group"

Ref:

https://stackoverflow.com/questions/44348330/task-scheduler-failed-to-start-additional-data-error-value-2147943726

Also I am curious to know if the failed portion of the Network Controller deployment can be executed using power shell

Any help would be much appreciated.

Thanks

Sriram

System Center Virtual Machine Manager
{count} votes

2 answers

Sort by: Most helpful
  1. Sriram Ganesan 136 Reputation points
    2021-01-04T18:27:05.4+00:00

    Hi @Crystal-MSFT
    Thanks for the response.

    This is the article that I followed to deploy the SDN Network Controller.
    https://learn.microsoft.com/en-us/system-center/vmm/sdn-controller?view=sc-vmm-2019
    Downloaded the deployment files from
    https://github.com/microsoft/SDN

    I chose the Network Controller Standalone Generation 1 VM.xml as I am trying this with VMs in my laptop.
    The error that I see seems to be an issue with the credentials. I am unable to find the exact operation that is failing at this point.
    The SCVMM failed job task summary and details could only get me the error details that I have added to the original post.

    I also tried searching the event logs in the SCVMM machine and the Network Controller VM. Unable to find any error during this timestamp.

    Since this seems to be an issue with the task scheduler (if I am not mistaken), I also spent some time checking the windows task scheduler in the SCVMM machine for any failed tasks. No luck there either.

    I have gone through the troubleshooting article that you have provided. Nothing related to this error could be found.

    Thanks,
    Sriram


  2. Sriram Ganesan 136 Reputation points
    2021-01-17T12:47:27.51+00:00

    Hi @Crystal-MSFT ,
    Apologies for the delay in my response. I was able to make some progress in installing Network Controller. The error that was thrown when I tried to deploy NC service from SCVMM was from one of the pre-install tasks
    The script command with properties: Type (PreInstall), Deployment Order (1) and Parent Type (ApplicationProfile), failed to complete successfully

    Instead of creating the deployment again in SCVMM, I checked the deployment XML file and manually executed all the pre-install tasks in the Network Controller Virtual Machine.

    Executing these tasks (powershell scripts) concluded the installation of NC. An equivalent approach using PS can be found in this article
    https://learn.microsoft.com/en-us/windows-server/networking/sdn/deploy/deploy-network-controller-using-windows-powershell#configure-the-network-controller-application

    I was unable to perform the next steps because of the cumbersome network configuration setup for SDN. Since all the physical hosts had to be replaced by Hyper-V VMs, NC happened to become a nested VM.

    1. Validate the NC deployment
    2. Add Network Controller as a Network Service in SCVMM

    57248-image.png