Skip to content

vlan group with large ID makes UI crash #18037

Closed
@jonkerj

Description

@jonkerj

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.6

Python Version

3.12

Steps to Reproduce

  1. deploy netbox (fresh install)
  2. create vlan group with [2, 409411115) as bounds, save
  3. visit /ipam/vlan-groups/

Notes:

  • we deploy Netbox on Kubernetes (using official Helm chart)

Expected Behavior

Get an overview with that vlangroup

Observed Behavior

  • at first, we observed netbox getting killed by kernel cgroup OOM killer (limited by Kubelet to 1.5GiB)
  • when increased to 2GiB, the process just died quietly, without any logging
  • although it's possible to remove the offending VLAN group using the API, it does not remove symptom (crash when visit VLAN group in UI)
  • the problem is finally solved by deleting the offending record form ipam_vlangroup in PostgreSQL

Metadata

Metadata

Assignees

Labels

severity: highCompletely breaks certain functions, or substantially degrades performance application-widestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions