Importing vCenter to SDDC via Cli fails with ERROR ""Input should be 'VSAN', 'VMOTION', 'VXLAN', 'NFS', 'VSAN_EXTERNAL' or 'ISCSI' [type=literal error, input_value='VSPHEREREPLICATION', input_type=str]"
search cancel

Importing vCenter to SDDC via Cli fails with ERROR ""Input should be 'VSAN', 'VMOTION', 'VXLAN', 'NFS', 'VSAN_EXTERNAL' or 'ISCSI' [type=literal error, input_value='VSPHEREREPLICATION', input_type=str]"

book

Article ID: 428171

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

While importing the vCenter to the SDDC via command the task fails with below error. 

[YYYY-MM-DD HH:MM:SS] [CRITICAL] vcf_brownfield: Fatal exception: ()
Traceback (most recent call last) :
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/vcf_brownfield.py", line 722, in <module>
main ()
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/vcf_brownfield.py", line 704, in main
operation_successful: bool = convert_import (
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/vcf_brownfield.py", line 435, in convert_import
discovery_output: Optional [DiscoveryModel] = discovery. discover_domain (domain_type, backup_password)
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/domain_discovery/discover_domain.py", line 1148, in discover_domain
inventory_payload: dict [str, Any] = self.build_inventory_payload (domain_type, vcenter_vm, activating_status)
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/domain_discovery/discover_domain.py", line 866, in build_inventory_payload
network_pool_entities: list[dict [str, Any] ] = self.build_network_pools (host_network_model_by_host_mor,
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/domain_discovery/discover domain.py", line 832, in build_network_pool
network_pool: NetworkPool =self.build network_pool (network_pool_name, esxi_network_models)
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/domain_discovery/discover_domain.py", line 676, in build_network_pool
2026 02/04 21.23
network_entity: VcfNetwork = VcfNetwork (id=str (uuid. uuid4 () ), type=nw_type. upper (), vlanId=vlan_id, mtu=mtu,
File "/home/vcf/vcfimport/vcf-brownfield-import-5.2.0.0-24108578/vcf-brownfield-toolset/libs/pydantic/main.py", line 171, in init
self. pydantic_validator _. validate_python (data, self_instance=self)
pydantic_core. pydantic_core. ValidationError: 1 validation error for VcfNetwork
type
Input should be 'VSAN', 'VMOTION', 'VXLAN', 'NFS', 'VSAN_EXTERNAL' or 'ISCSI' [type=literal error, input_value='VSPHEREREPLICATION', input_type=str]
For further information visit https://errors.pydantic.dev/2.6/v/literal_error

Environment

SDDC 5.x

vCenter 8.x

Cause

The VCF Brownfield process requires a standardized VMkernel configuration like 'VSAN', 'VMOTION', 'VXLAN', 'NFS', 'VSAN_EXTERNAL' or 'ISCSI' to ensure successful integration. 

Resolution

You must remove the  "vSphere Replication" or "vSphere Replication NFC" service from the VMkernel adapters on the all the hosts to proceed.

1. Identify the offending VMkernels

Log into vCenter and check all the host.

  • Go to Configure > Networking > VMkernel adapters.

  • Look for any adapter where the Enabled Services column includes "vSphere Replication" or "vSphere Replication NFC".

2. Disable the Service

  • Select the adapter and click Edit.

  • Uncheck both "vSphere Replication" and "vSphere Replication NFC".

  • Note: This will temporarily pause replication for any VMs using this host, but it is necessary for the import to function.