Skip to content

ProgrammingError during Bulk Delete of VLANs (Background Job) #21292

@Mister-MAP

Description

@Mister-MAP

NetBox Edition

NetBox Community

NetBox Version

v4.5.1

Python Version

3.12

Steps to Reproduce

  1. Navigate to IPAM > VLANs.
  2. Select multiple VLANs using the checkboxes.
  3. Click the Delete Selected button.
  4. In the confirmation dialog, check the "Background job" checkbox and confirm.
  5. Navigate to Operations > Jobs and inspect the failed job.

Expected Behavior

The selected VLANs should be deleted successfully by the background worker without database errors.

Observed Behavior

The background job fails immediately with the following traceback:
ProgrammingError('column users_user.is_staff does not exist\nLINE 1: ..., "users_user"."last_name", "users_user"."email", "users_use...\n ^')
More details in the attachment
worker_error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions