Closed rjoensen closed 1 year ago
Is that the same interface being used for gRPC connectivity?
gRPC is via one of the mgmt interfaces, so no.
I cannot recreate this issue. Can you maybe try to come up with a minimal config to recreate the issue?
I updated to 0.2.5 today and tried to change the MTU, and it was successful.
Terraform will perform the following actions:
~ resource "iosxr_interface" "L2VPN" { id = "Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TwentyFiveGigE0/0/0/11]" ~ mtu = 9000 -> 9118
}
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
iosxr_interface.L2VPN: Modifying... [id=Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TwentyFiveGigE0/0/0/11]] iosxr_interface.L2VPN: Modifications complete after 2s [id=Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TwentyFiveGigE0/0/0/11]]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
Excellent, thanks for confirmation!
Hello,
There seems to be an issue to configure MTU value higher than 9000. The documentation specifies that you can go way higher than that, but if I configure it at 9000, no problems, 9001, and it errors out.
From the CLI, I can set it higher with no issues.
The error message is also not very descriptive, it complains about other resources that are used too.
iosxr_interface.L2VPN will be updated in-place
~ resource "iosxr_interface" "L2VPN" { id = "Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TwentyFiveGigE0/0/0/11]" ~ mtu = 9000 -> 9118
(1 unchanged attribute hidden)
Plan: 0 to add, 1 to change, 0 to destroy. ╷ │ Error: Client Error │ │ with iosxr_flow_sampler_map.ONE-OF-ONE, │ on sampler.tf line 1, in resource "iosxr_flow_sampler_map" "ONE-OF-ONE": │ 1: resource "iosxr_flow_sampler_map" "ONE-OF-ONE" { │ │ Get request failed, got error: rpc error: code = Unavailable desc = error reading from server: read tcp:58259->:57400: use of closed network connection
Not sure how to handle this.
Best wishes, rjoensen