Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

nsxt_transport_node_profiles -- User must provide VdsUplink for HostSwitch #502

@vgrosdoy

Description

@vgrosdoy

Describe the bug

TN profile creation error with following message
{'httpStatus': 'BAD_REQUEST', 'error_code': 9879, 'module_name': 'NsxSwitching service', 'error_message': 'User must provide VdsUplink for HostSwitch S1_NSX_DVS/50 3f 1d 65 bb 1d 1f 63-31 9e eb fa b3 bc 3b 09 of type VDS.'}

Reproduction steps

I use the follolwing ansible task to create a new TN profile

- name: LOCAL_MANAGER -- Create TRANSPORT NODE PROFILE vmware.ansible_for_nsxt.nsxt_transport_node_profiles: hostname: "{{ nsx_lmgr_hostname }}" username: "{{ nsx_lmgr_username }}" password: "{{ nsx_lmgr_pass }}" validate_certs: False #----------# display_name: "S1_TNProf_ansible" resource_type: "TransportNodeProfile" description: "Site 1 -- Transport Node Profile" host_switch_spec: resource_type: "StandardHostSwitchSpec" host_switches: - host_switch_name: "S1_NSX_DVS" host_switch_mode: "STANDARD" host_switch_type: "VDS" host_switch_profiles: - name: "S1_TN_UplkProf" type: "UplinkHostSwitchProfile" pnics: ** - device_name: "ESX_Uplink_3" uplink_name: "TN_uplink_1" - device_name: "ESX_Uplink_4" uplink_name: "TN_uplink_2" ** ip_assignment_spec: resource_type: "StaticIpPoolSpec" ip_pool_name: "TNF_S1_IP_POOL" transport_zone_endpoints: - transport_zone_name: "S1_OVERLAY_TZ" state: "present"

Expected behavior

New Tranport Node Creation success

Additional context

From the vCenter, I named the uplink 3 and 4 of the S1_NSX_DVS with ESX_Uplink_3 and ESX_Uplink_4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions