Skip to content

VMMExpress - Deployment issue #590

@PnoT

Description

@PnoT

I'm running SCVMM 2022 RU2 with Windows Server 2022 standard edition and using a Sysprep 2022 vhd for deployment.

My deployment scenario:
standalone
gen2
highly available: $false
no logic switch deployed
only deploy NC_management network (no hnvpa, slb, or gw)

I've worked through many quirks and am at the point of deploying the NC service, but I'm running into a wall now.

The job of creating the service kicks off and bombs at 99% of step 1.4 Parallel execution step

https://imgur.com/LrItUpY

Here are my errors in the script log

`*****************************************************
*** 2023-12-22 07:16:41Z : New Deployment started ***


Using configuration from file [.\Fabricconfig.psd1]
Getting VMM server connection with VMM server [LLWVSCVMMP01]
Checking the Fabric Configuration Input Parameters
Successfully authenticated with domain lab
Logical Network and Logical Switch is not Pre-configured.
Starting to create Management Logical Network []
Getting the Host group with Name [System.Collections.Hashtable.NCHostGroupName]
Creating VLAN subnet for subnet [System.Collections.Hashtable.LogicalNetworkIPSubnet] and VLAN Id [System.Collections.Hashtable.LogicalNetworkVLAN]
Creating new Logical Network Definition
create a VMNetwork with the same name as Logical Network
Management Logical Network Deployment completed succssfully
Created Logical Network : NC_Management
Logical Network creation succeeded
Creating Logical Switch and Deploying to all Hosts in Host Group : [NC]
creating logical switch [NC_LogicalSwitch]
You have decided to use CA certificate. Hope you Placed the Cert in \Templates\NC\TrustedRootCertificate.cr folder
Trimmed VMName:[NCE-NCVM01.lab.local]
Recieved VMName : [NCE-NCVM01.lab.local]
VmName : [NCE-NCVM01.lab.local]
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 [NC_Management]
Getting the service setting
Creating Account
The deployment was not successful.
Reason: The specified change on the object NC Deployment service Template is not allowed. (Error ID: 21970)

Ensure that no service configuration or service is referencing the object.
`

The errors in the VMM job

`Error (22042)
The service NC 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 (3) 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 (22631)
The script command exit code 2148734208 matched the failure policy setting "Match any value other than zero." Standard output log data: "icrosoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe
t\Services\Tcpip6\Parameters
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe
t\Services\Tcpip6
PSChildName : Parameters
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry

Windows IP Configuration

Registration of the DNS resource records for all adapters of this computer has been initiated. Any errors will be reported in the Event Viewer in 15 minutes.
[2023-12-22T05:24:48.1097290-08:00]Installing NetworkController Role..
[2023-12-22T05:24:48.8412126-08:00]Caught an exception:
[2023-12-22T05:24:48.8412126-08:00] Exception Type: System.Exception
[2023-12-22T05:24:48.8412126-08:00] Exception Message: ArgumentNotValid: The role, role service, or feature name is not valid: 'NetworkController'. The name was not found.
[2023-12-22T05:24:48.8412126-08:00] Excepti"

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 (20400)
1 parallel subtasks failed during execution.

Error (21952)
Application deployment failed for one or more tiers or application hosts in the service NC. Check job logs to get more information on the failed operation.

Recommended Action
Check error messages and retry the operation if needed.

`

Solution: My sysprep vhdx was Windows Server 2022 Standard Edition, which does not have the "Network Controller" role. I swapped it out with a Datacenter Edition vhdx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions