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

[BUG] citrixadc_route6 resource rollout error #1118

Open
alexander-wetzling opened this issue Feb 1, 2024 · 1 comment
Open

[BUG] citrixadc_route6 resource rollout error #1118

alexander-wetzling opened this issue Feb 1, 2024 · 1 comment
Labels
bug Needs-Info Further information is requested

Comments

@alexander-wetzling
Copy link

Bug Report

I created the following resource to create a default IPv6 route on Netscaler instance:

resource "citrixadc_route6" "default_route_ipv6" {
network = "::/0"
gateway = var.<name_of_variable_including_IPv6_gateway_address>
}

During terraform apply, I get the following error on the console:

Error: Provider produced inconsistent result after apply │ │ When applying changes to module.<name_of_module>.citrixadc_route6.default_route_ipv6, provider "provider[\"registry.terraform.io/citrix/citrixadc\"]" produced an unexpected new value: Root resource was present, but now absent. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Even if this error is shown, the route is created successfully on the Netscaler, but the state file still does not include this resource. So there is now an inconsistency between real configuration on the Netscaler and the terraform state file.

Expected behaviour
The resource would be created successfully and the state file would cover the real configuration of the Netscaler.

Screenshots
image

Environment (please fill the following information):

  • OS: WSL (Ubuntu 20.04.6 LTS) on Windows 10
  • Terraform v1.4.6
  • Using previously-installed citrix/citrixadc v1.37.0

We now use a null_resource as a workaround, but we would like to use the citrixadc_route6 resource instead.

Thanks in advance.

@rohit-myali rohit-myali added the bug label May 8, 2024
@rohit-myali
Copy link
Contributor

Hello @alexander-wetzling
Thanks for raising this issue.

Can you run the same terraform command with prefix NS_LOG=TRACE TF_LOG=TRACE TF_LOG_PATH=./tf.log to generate log. Please paste the log file here.

@rohit-myali rohit-myali added the Needs-Info Further information is requested label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs-Info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants