F5Networks / f5-declarative-onboarding

F5 BIG-IP Declarative Onboarding
Apache License 2.0
58 stars 22 forks source link

ERROR: Unable to find interface object for configured trunk member 3.0 #361

Open MicSkr opened 11 months ago

MicSkr commented 11 months ago

Environment

Summary

Submitting Trunk Class fails Existing Trunk is configured on the rSeries Tenant and references interfaces 3.0 and 7.0.

When submitting DO Declaration with Trunk and without Trunk, the Error occurs. Unable to submit a DO Declaration successfully.

Steps To Reproduce

Steps to reproduce the behavior:

Create and Assign a Trunk on rSeries platform for Classic F5 Tenant using interfaces 3.0 and 7.0 Validate Exists on Classis Tenant: Network >> Trunks >> Bonded.Pair

  1. Submit the following declaration:
    {
    "$schema": "https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/main/src/schema/latest/do.schema.json",
    "schemaVersion": "1.0.0",
    "class": "Device",
    "async": true,
    "Common": {
    ...
    "Bonded.Pair": {
      "class": "Trunk",
      "distributionHash": "src-dst-mac",
      "interfaces": [
        "3.0",
        "7.0"
      ],
      "lacpEnabled": false,
      "spanningTreeEnabled": false,
      "lacpMode": "active",
      "lacpTimeout": "long",
      "linkSelectPolicy": "auto",
      "qinqEthertype": "0x8100"
    }
    ...
    "VLAN614": {
      "class": "VLAN",
      "tag": 614,
      "interfaces": [
        {
          "name": "Bonded.Pair",
          "tagged": true
        }
      ]
    },
    }
    }

Submitting the declaration without the Trunk Class produces the same error message.

  1. Observe the following error response:
    {
    "result": {
        "class": "Result",
        "code": 202,
        "status": "ROLLING_BACK",
        "message": "invalid config - rolling back",
        "errors": [
            "01070538:7: ERROR: Unable to find interface object for configured trunk member 3.0"
        ]
    }
    ...
    }

Expected Behavior

Trunk is built or confirmed with DO

Actual Behavior

DO Task Indicates it is rolling back.

MicSkr commented 11 months ago

Additional Write Up: