FHRP Groups with multiple IPs can not be assigned to interface #5793

Closed
opened 2025-12-29 19:32:44 +01:00 by adam · 1 comment
Owner

Originally created by @basti1508 on GitHub (Dec 17, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.1

Python version

3.8

Steps to Reproduce

  1. Create FHRP Group
  2. Add IP Adresses (for this example 10 IPs)
  3. Assign FHRP Group to Interface

Expected Behavior

The FHRP Group should be assigned to the interface

Observed Behavior

The Group could not be assiged. It may be better to use show/use the ID or a unique description there.

<class 'django.db.utils.DataError'>

value too long for type character varying(200)


Python version: 3.8.10
NetBox version: 3.1.1
Originally created by @basti1508 on GitHub (Dec 17, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.1 ### Python version 3.8 ### Steps to Reproduce 1. Create FHRP Group 2. Add IP Adresses (for this example 10 IPs) 3. Assign FHRP Group to Interface ### Expected Behavior The FHRP Group should be assigned to the interface ### Observed Behavior The Group could not be assiged. It may be better to use show/use the ID or a unique description there. ``` <class 'django.db.utils.DataError'> value too long for type character varying(200) Python version: 3.8.10 NetBox version: 3.1.1 ```
adam added the type: bugstatus: accepted labels 2025-12-29 19:32:44 +01:00
adam closed this issue 2025-12-29 19:32:44 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 18, 2021):

There are two issues here:

  1. The string representation of an FHRPGroup should not include all assigned IP addresses.
  2. The exception is raised because the string representation of the FHRPGroup exceeds the maximum allowed size of the object_repr field in the ObjectChange model.
@jeremystretch commented on GitHub (Dec 18, 2021): There are two issues here: 1. The string representation of an FHRPGroup should not include _all_ assigned IP addresses. 2. The exception is raised because the string representation of the FHRPGroup exceeds the maximum allowed size of the `object_repr` field in the ObjectChange model.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5793