-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.6.5
Python version
3.9
Steps to Reproduce
Unless otherwise noted, leave everything else default:
- Create a permission with "can view" selected and select every object type.
- Create a user with a password and the newly created permission assigned.
- Create an API token assigned to the new user with "Allowed IPs" set to
::/0,0.0.0.0/0to allow all. - Perform an API get request using the new token (should fail).
- Remove the "Allowed IPs" setting on the API token and retry the request (should succeed).
Expected Behavior
Setting AllowedIPs should not throw a 500 Internal Server Error.
Observed Behavior
500: Internal Server Error is raised. Setting debug logging for django and netbox yield the following:
2023-11-10 18:01:57,367 netbox.config DEBUG: No previous configuration found in database; proceeding with default values
2023-11-10 18:01:57,368 netbox.config DEBUG: Initialized configuration
2023-11-10 18:01:57,402 netbox.config DEBUG: Cleared configuration
2023-11-10 18:01:57,402 django.request ERROR: Internal Server Error: /api/ipam/vlans/
Metadata
Metadata
Assignees
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application