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

vsphere_resource_pool. Error: ServerFaultCode: A specified parameter was not correct: ResourceConfigSpec #2104

Open
4 tasks done
adeturner opened this issue Jan 4, 2024 · 1 comment
Labels
bug Type: Bug needs-triage Status: Issue Needs Triage
Milestone

Comments

@adeturner
Copy link

adeturner commented Jan 4, 2024

Community Guidelines

  • I have read and agree to the HashiCorp Community Guidelines .
  • 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.6.6

Terraform Provider

v2.6.1

VMware vSphere

v7.0.3

Description

vsphere_resource_pool create fails with

Error: -04T12:18:56.061Z [ERROR] vertex "vsphere_resource_pool.env_rp" error: ServerFaultCode: A specified parameter was not correct: ResourceConfigSpec

This error is being returned from the govmomi responseUnmarshaler SOAP call.

Code references:

resource_vsphere_resource_pool.go

govmomi/vim25/types/types.go ResourceConfigSpec

Affected Resources or Data Sources

resource/vsphere_resource_pool

Terraform Configuration

resource "vsphere_resource_pool" "env_rp" {
  name                     = "RP-${var.environment_name}"
  parent_resource_pool_id  = data.vsphere_compute_cluster.compute_cluster.resource_pool_id
}

Debug Output

https://gist.github.com/adeturner/0e4dbf86bbd011c3461ecd8c4b9b8457

Panic Output

No response

Expected Behavior

Resource pool created (three months ago when this ran it worked fine)

Actual Behavior

terraform plan succeeds
terraform apply fails with:
Error: -04T12:18:56.061Z [ERROR] vertex "vsphere_resource_pool.env_rp" error: ServerFaultCode: A specified parameter was not correct: ResourceConfigSpec

Updated:
I tried with prior versions that worked (terraform 1.6.1, vsphere provider 2.5.1) and it still fails.
The vsphere console shows the following versions:
vSphere Client version 7.0.3.01400
Version: 7.0.3 Build: 21784236

Steps to Reproduce

terraform apply

Environment Details

Github Action / Self Hosted Runner / Azure VMware Solution

Screenshots

No response

References

No response

@adeturner adeturner added bug Type: Bug needs-triage Status: Issue Needs Triage labels Jan 4, 2024
Copy link

github-actions bot commented Jan 4, 2024

Hello, adeturner! 🖐

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Bug needs-triage Status: Issue Needs Triage
Projects
None yet
Development

No branches or pull requests

2 participants