Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsxt_transport_node_profiles -- User must provide VdsUplink for HostSwitch #502

Open
vgrosdoy opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vgrosdoy
Copy link

vgrosdoy commented May 3, 2024

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

@vgrosdoy vgrosdoy added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant