terraform-provider-fortios
terraform-provider-fortios copied to clipboard
getting error "[node_check_object fail! for ring-rx 0]" when trying to modify interface configuration
Description
I'm trying to modify interface configuration with fortios provider but getting following error
│ Error: Error updating SystemInterface resource: Internal Server Error - Internal error when processing the request (500)
│ Cli response:
│ [node_check_object fail! for ring-rx 0]
Terraform and fortios provider version:
# terraform version
Terraform v1.9.6
on linux_amd64
+ provider registry.terraform.io/fortinetdev/fortios v1.21.0
fw1 # get system status
Version: FortiGate-VM64-KVM v7.6.0,build3401,240724 (GA.F)
First GA patch build date: 240724
Expected result
Interface configuration changed.
Steps To Reproduce
Configure interface
resource "fortios_system_interface" "oob" {
ip = "10.0.3.13 255.255.255.248"
name = "port4"
type = "physical"
vdom = "root"
mode = "static"
description = "OOB port1"
}
Interface configuration is accepted.
Modify, for example, interface description
resource "fortios_system_interface" "oob" {
ip = "10.0.3.13 255.255.255.248"
name = "port4"
type = "physical"
vdom = "root"
mode = "static"
description = "OOB port2"
}
# terraform apply
fortios_system_interface.wan: Refreshing state... [id=port3]
fortios_system_interface.oob: Refreshing state... [id=port4]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# fortios_system_interface.oob will be updated in-place
~ resource "fortios_system_interface" "oob" {
~ description = "OOB port1" -> "OOB port2"
id = "port4"
name = "port4"
# (221 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
fortios_system_interface.oob: Modifying... [id=port4]
╷
│ Error: Error updating SystemInterface resource: Internal Server Error - Internal error when processing the request (500)
│ Cli response:
│ [node_check_object fail! for ring-rx 0]
However, if I run 'terraform destroy' and then again 'terraform apply', the changes are applied. Although 'terraform destroy' doesn't remove any of the applied configurations from the FW configuration