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

iosxr_interface resource failing to change interface description #264

Open
edudppaz opened this issue Oct 21, 2024 · 0 comments
Open

iosxr_interface resource failing to change interface description #264

edudppaz opened this issue Oct 21, 2024 · 0 comments

Comments

@edudppaz
Copy link

When trying to change the interface description of a subinterface via the iosxr_interface resource, terraform is getting an error:

Tfplan:

  # iosxr_interface.fw_subif["xrv9k-01-TenGigE0/0/0/14"] will be updated in-place
  ~ resource "iosxr_interface" "fw_subif" {
      ~ description                 = "to lokasjon " -> "link_to_lokasjon"
        id                          = "Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TenGigE0/0/0/14.3130]"
        # (8 unchanged attributes hidden)
    }

Tfapply:

iosxr_interface.fw_subif["xrv9k-01-TenGigE0/0/0/14"]: Modifying... [id=Cisco-IOS-XR-um-interface-cfg:/interfaces/interface[interface-name=TenGigE0/0/0/14.3130]]
iosxr_interface.fw_subif["xrv9k-01-TenGigE0/0/0/14"]: Still modifying... [id=Cisco-IOS-XR-um-interface-cfg:/interfac...e[interface-name=TenGigE0/0/0/14.3130], 10s elapsed]


  308: resource "iosxr_interface" "fw_subif" {
│ 
│ Set request failed, got error: rpc error: code = Internal desc = {
│  "cisco-grpc:errors": {
│   "error": [
│    {
│     "error-type": "application",
│     "error-tag": "operation-failed",
│     "error-severity": "error",
│     "error-path": "Cisco-IOS-XR-um-interface-cfg:interfaces/interface[interface-name = 'TenGigE0/0/0/14.3130']/interface-name",
│     "error-message": "Subinterface or Layer 2 configuration conflicts with existing configuration, or configuration in this commit: Please refer to configuration documentation for further assistance"
│    }
│   ]
│  }
│ }
│ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant