Open zejar opened 8 months ago
Hello, zejar! π
Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.
If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.
Community Guidelines
Terraform
v1.5.7
Terraform Provider
v2.6.1
VMware vSphere
v7.0.3
Description
When configuring a Distributed Switch with LACP on a vSphere environment with "enhanced" Distributed Switches (LACP API version "multipleLag") LACP is not being configured and an error is thrown in vSphere stating that the LACP config is not compatible with API version "multipleLag".
The output from Terraform pasted below doesn't display the entire error and neither does the debug option. In vSphere the entire error is printed however: "The configurations of the objects are in conflict. Link Aggregation Control Protocol group configured on DSwitch1 conflicts with the Link Aggregation Control Protocol API version multipleLag.".
The error makes sense if the "multipleLag" API version doesn't understand the LACP options Terraform tries to configure. The "singleLag" API version ("basic" switches instead of "enhanced" switches) is unfortunately not available when creating Distributed Switches in VMware 7.
Affected Resources or Data Sources
resource/vsphere_distributed_virtual_switch
Terraform Configuration
Debug Output
https://gist.github.com/zejar/542fc7feada8de2f90ef1bfc7f80aa66
Panic Output
No response
Expected Behavior
Terraform should be able to configure LACP on an "enhanced" Distributed Switch which is the only version available in VMware 7.
Actual Behavior
LACP isn't configured because the LACP config isn't compatible with the Distributed Switches in vSphere 7.
Output from vSphere: "The configurations of the objects are in conflict. Link Aggregation Control Protocol group configured on DSwitch1 conflicts with the Link Aggregation Control Protocol API version multipleLag."
Steps to Reproduce
Configuring a Distributed Switch in vsphere 7 environment with the following options:
Environment Details
No response
Screenshots
No response
References
No response