-
Notifications
You must be signed in to change notification settings - Fork 36
MAC address of Values Not Yet Known not working #232
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
Comments
Stack trace from the terraform-provider-xenorchestra_v0.24.0 plugin: panic: Mac address goroutine 119 [running]: Error: The terraform-provider-xenorchestra_v0.24.0 plugin crashed! This is always indicative of a bug within the plugin. It would be immensely |
Reproducible with the following code: provider "xenorchestra" { provider "macaddress" { } data "xenorchestra_pool" "pool" { data "xenorchestra_host" "host" { data "xenorchestra_template" "template" { data "xenorchestra_network" "NetWork" { data "xenorchestra_sr" "local_storage" { resource "macaddress" "mac" { resource "xenorchestra_vm" "VMss" { |
At first I mistook the I mention this because I didn't fully understand how this issue manifested and was initially hesitant to change Given the Terraform team states that Since the error is caused by terraform's unknown sentinel value, if you apply the macaddress configuration first (via Will that work as a temporary workaround until this is investigated? |
@ddelnano |
Yea, apologies for the back and forth on this. I think maintaining backwards compatibility is important, but before the issue was fully understood I didn't see strong upside for breaking that functionality. However knowing that the mac address format functionality is built on terraform features that are deemed incompatible, I believe considering a breaking change is more reasonable now. |
I think the issue hashicorp/terraform#30447 describes is more a general issue moving forward. So statefunc could be used for now, but once the provider needs to be upgraded to the new plugin framework, there will be issues. |
Sorry for the slow response on this, but this will be fixed in v0.26.1 of the provider. |
Mac addresses calculated at runtime by another resource fails plan face.
The issue is caused by StateFunc throwing parsing error. This should not be used during planning.
Created pull request #233 to fix it
The text was updated successfully, but these errors were encountered: