You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vote on this issue by adding a 馃憤 reaction to the original issue initial description to help the maintainers prioritize.
Do not leave "+1" or other comments that do not add relevant information or questions.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
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.
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:
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
The text was updated successfully, but these errors were encountered: