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] snmpmanager imcomplete #1076

Open
adc-nerd opened this issue Aug 21, 2023 · 2 comments
Open

[BUG] snmpmanager imcomplete #1076

adc-nerd opened this issue Aug 21, 2023 · 2 comments
Assignees
Labels

Comments

@adc-nerd
Copy link

Bug Report

Describe the bug
SNMP Managers (citrixadc_snmpmanager) not fully set.

To Reproduce
Steps to reproduce the behaviour:

  1. ressource file
resource "citrixadc_snmpmanager" "tf_snmp01" {
  ipaddress          = "1.1.1.1"
}
resource "citrixadc_snmpmanager" "tf_snmp02" {
  ipaddress          = "1.1.1.2"
}
resource "citrixadc_snmpmanager" "tf_snmp03" {
  ipaddress          = "1.1.1.3"
}
resource "citrixadc_snmpmanager" "tf_snmp04" {
  ipaddress          = "1.1.1.4"
}
resource "citrixadc_snmpmanager" "tf_snmp05" {
  ipaddress          = "1.1.1.5"
}
resource "citrixadc_snmpmanager" "tf_snmp06" {
  ipaddress          = "1.1.1.6"
}
resource "citrixadc_snmpmanager" "tf_snmp07" {
  ipaddress          = "1.1.1.7"
}
resource "citrixadc_snmpmanager" "tf_snmp08" {
  ipaddress          = "1.1.1.8"
}
resource "citrixadc_snmpmanager" "tf_snmp09" {
  ipaddress          = "1.1.1.9"
}
resource "citrixadc_snmpmanager" "tf_snmp10" {
  ipaddress          = "1.1.1.10"
}
resource "citrixadc_snmpmanager" "tf_snmp11" {
  ipaddress          = "1.1.1.11"
}
resource "citrixadc_snmpmanager" "tf_snmp12" {
  ipaddress          = "1.1.1.12"
}
  1. which terraform command I am getting the error
terrafrom apply
  1. Terraform output
...
 Error: Provider produced inconsistent result after apply

When applying changes to citrixadc_snmpmanager.tf_snmp03, 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.

Error: Provider produced inconsistent result after apply

When applying changes to citrixadc_snmpmanager.tf_snmp05, 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.
...
  1. Error I am facing on NetScaler
    You may find some errors in ns.log - set commands seems to be incomplete.

Expected behaviour
Set/unset of multiple SNMP Managers.

Environment (please fill the following information):

  • OS: Windows
  • Terraform: v1.5.5
  • citrixadc: v1.36.0

Additional context
There seems to be also a problem with the optional netmask argument. Sometimes provider states replacement without any changes to the ressource files.

@kaiAsmOne
Copy link

Try this instead

resource "citrixadc_snmpmanager" "citrixadm_snmpmanager" {
ipaddress = var.sys_citrixadm_ipaddress
netmask = "255.255.255.255"
}

@rohit-myali
Copy link
Contributor

Hi @adc-nerd
I'm not able to reproduce this bug.

Can you please use the above suggested way to configure your citrixadc_snmpmanager and update me here?

@rohit-myali rohit-myali self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants