VLAN Group and VLAN cannot be assigned to an IPAM PREFIXE when Site is selected. #6440

Closed
opened 2025-12-29 19:40:45 +01:00 by adam · 3 comments
Owner

Originally created by @LHBL2003 on GitHub (May 3, 2022).

NetBox version

v3.2.1

Python version

3.10

Steps to Reproduce

  • Create or change an IPAM prefix
  • Choose a region
  • Choose a site

Expected Behavior

Selection of VLAN Group and VLAN

Observed Behavior

Unable to select VLAN Group and VLAN. Except region and site will be removed.

Apparently no VLAN Group or VLAN can be selected because they have no site attribute?

If I remove the Site/VLAN Assignment Attribute Region and Site, the VLAN group and VLAN Attribute can be filled.

Originally created by @LHBL2003 on GitHub (May 3, 2022). ### NetBox version v3.2.1 ### Python version 3.10 ### Steps to Reproduce - Create or change an IPAM prefix - Choose a region - Choose a site ### Expected Behavior Selection of VLAN Group and VLAN ### Observed Behavior Unable to select VLAN Group and VLAN. Except region and site will be removed. Apparently no VLAN Group or VLAN can be selected because they have no site attribute? If I remove the Site/VLAN Assignment Attribute Region and Site, the VLAN group and VLAN Attribute can be filled.
adam added the type: bugstatus: duplicate labels 2025-12-29 19:40:45 +01:00
adam closed this issue 2025-12-29 19:40:45 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 3, 2022):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch commented on GitHub (May 3, 2022): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@DanSheps commented on GitHub (May 3, 2022):

Duplicate of #9279

@DanSheps commented on GitHub (May 3, 2022): Duplicate of #9279
Author
Owner

@LHBL2003 commented on GitHub (May 3, 2022):

I hope the minimalistic steps help to recreate the problem:

Add Sites
name,slug,status TestSites,testsites,active

Add VLAN Group:

name,slug VG1, vg1

Add VLAN
vid,name,status 4000,Test4000,active

Add Prefixes
prefix,status 192.168.0.0/24,active

Edit Prefix
Site/VLAN Assignment --> Site --> Select "TestSites"

Failure:
I can NOT select a VLAN group or VLAN

Site/VLAN Assignment --> Site --> remove selection
I can select a VLAN group or VLAN

Can it be that one may only document site or VLAN?

"Site/VLAN Assignment" ALIAS
"Site or VLAN Assignment"

If so, then I misunderstood.
I wasn't aware that only one or the other could be used.
Because if I configure the VLAN first and then the site. Then I can save it too.

@LHBL2003 commented on GitHub (May 3, 2022): I hope the minimalistic steps help to recreate the problem: **Add Sites** ` name,slug,status TestSites,testsites,active ` **Add VLAN Group:** ` name,slug VG1, vg1 ` **Add VLAN** ` vid,name,status 4000,Test4000,active ` **Add Prefixes** ` prefix,status 192.168.0.0/24,active ` **Edit Prefix** Site/VLAN Assignment --> Site --> Select "TestSites" **Failure:** I can NOT select a VLAN group or VLAN Site/VLAN Assignment --> Site --> remove selection I can select a VLAN group or VLAN Can it be that one may only document site or VLAN? "Site/VLAN Assignment" ALIAS "Site **or** VLAN Assignment" If so, then I misunderstood. I wasn't aware that only one or the other could be used. Because if I configure the VLAN first and then the site. Then I can save it too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6440