Unable to set LAG parent on interface which does not belong to VC master device #4912

Closed
opened 2025-12-29 19:22:12 +01:00 by adam · 0 comments
Owner

Originally created by @candlerb on GitHub (May 17, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.3

Python version

3.6

Steps to Reproduce

  1. Create testsw1 and testsw2 (of any device type which has interfaces: I used Netgear GS724Tv4, which has 26 interfaces, g1..26)
  2. Bulk rename g to g1/ on testsw1, and g to g2/ on testsw2
  3. Create a virtual chassis name "testsw", members testsw1 and testsw2 (members selected in the virtual chassis creation page). This puts them in positions 1 and 2
  4. Edit the virtual chassis and select testsw1 as "master"
  5. Go to testsw1 and look at the interfaces tab. Notice that all 52 interfaces are shown: g1/1..26 and g2/1..26, as if this were one switch
  6. Add interface, name lag1, type LAG
  7. Starting from master device interfaces list: click pencil next to interface g1/1 to edit it (this goes to /dcim/interfaces/NNN/edit/?return_url=/dcim/devices/MMM/interfaces/). Set LAG to lag1
  8. Using the same method: edit interface g2/1, try to set LAG to lag1

Expected Behavior

I should be able to set lag1 as the LAG for both these interfaces

Observed Behavior

Interface g2/1 does not allow any selection of LAG

image

I'm pretty sure this used to work with v2.11.2, but it doesn't with v2.11.3

Originally created by @candlerb on GitHub (May 17, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.3 ### Python version 3.6 ### Steps to Reproduce 1. Create testsw1 and testsw2 (of any device type which has interfaces: I used Netgear GS724Tv4, which has 26 interfaces, g1..26) 2. Bulk rename g to g1/ on testsw1, and g to g2/ on testsw2 3. Create a virtual chassis name "testsw", members testsw1 and testsw2 (members selected in the virtual chassis creation page). This puts them in positions 1 and 2 4. Edit the virtual chassis and select testsw1 as "master" 5. Go to testsw1 and look at the interfaces tab. Notice that all 52 interfaces are shown: g1/1..26 and g2/1..26, as if this were one switch 6. Add interface, name lag1, type LAG 7. Starting from master device interfaces list: click pencil next to interface g1/1 to edit it (this goes to `/dcim/interfaces/NNN/edit/?return_url=/dcim/devices/MMM/interfaces/`). Set LAG to lag1 8. Using the same method: edit interface g2/1, try to set LAG to lag1 ### Expected Behavior I should be able to set lag1 as the LAG for both these interfaces ### Observed Behavior Interface g2/1 does not allow any selection of LAG ![image](https://user-images.githubusercontent.com/44789/118443840-4caae900-b6e4-11eb-85b6-629c17ad07d2.png) I'm pretty sure this [used to work with v2.11.2](https://github.com/netbox-community/netbox/discussions/6116#discussioncomment-687134), but it doesn't with v2.11.3
adam added the type: bugstatus: accepted labels 2025-12-29 19:22:12 +01:00
adam closed this issue 2025-12-29 19:22:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4912