-
Notifications
You must be signed in to change notification settings - Fork 85
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
Cannot use nsxt_policy_vtep_ha_host_switch_profile in nsxt_policy_host_transport_node_profile #1441
Comments
Hi @martinrohrbach,
|
Sure: NSX-T Provider 3.6.2 NSX-T 4.1.2.5 Here's the log:
This is the profile that was created using the VTEP resource:
And we’ve simply added it to the host transport node profile as such:
This made sense for us because looking at the API, those profiles are indeed passed in as an array with differing HostSwitchProfileTypes (UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile, ExtraConfigHostSwitchProfile, VtepHAHostSwitchProfile, HighPerformanceHostSwitchProfile) so in this case it would probably just be a matter of using a different type when crafting the API call? |
The code assumes that specified host_switch_profile is always of type uplink which is incorrect. Fixes: vmware#1441 Signed-off-by: Kobi Samoray <[email protected]>
The code assumes that specified host_switch_profile is always of type uplink which is incorrect. Fixes: vmware#1441 Signed-off-by: Kobi Samoray <[email protected]>
The code assumes that specified host_switch_profile is always of type uplink which is incorrect. Fixes: vmware#1441 Signed-off-by: Kobi Samoray <[email protected]>
Fix confirmed in 3.71, many thanks! |
@martinrohrbach YW, thanks for reporting this! |
Describe the bug
We have adopted the nsxt_policy_host_transport_node_profile in our environment and after some initial problems (see my last issues ;) we are quite happy with that.
We are now looking into using the nsxt_policy_vtep_ha_host_switch_profile for our transport nodes. We've tested the profiles manually in our test environment by adding the VTEP HA profiles using the API and that worked fine. However, when we tried using the vTEP HA profile in the nsxt_policy_host_transport_node_profile resource, the provider fails:
We've simply added the profile to the host_switch_profile property of the resource, but apparently that expects only "BaseHostSwitchProfiles" rather than VTEP HA ones.
As I currently don't see a way to add the latter, is this possibly something that can easily be added (either by accepting them in host_switch_profile or by adding an additional property)?
Or is it already possible and we overlooked something?
Reproduction steps
Expected behavior
We can use the VTEP HA profile to create a host transport profile.
Additional context
No response
The text was updated successfully, but these errors were encountered: