Skip to content

exception when reassign oob ip for a device. #19809

Closed as not planned
Closed as not planned
@hanyuwei70

Description

@hanyuwei70

Deployment Type

Self-hosted

NetBox Version

v4.3.3

Python Version

3.12

Steps to Reproduce

  1. assign an oob ip to a device interface marked "oob only".
  2. delete this assignment (you need to change oob ip).
  3. assign a new oob ip marked "oob only".

Expected Behavior

it will assign without problem.

Observed Behavior

it will show up

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

duplicate key value violates unique constraint "dcim_device_oob_ip_id_key"
DETAIL:  Key (oob_ip_id)=(319) already exists.

Python 版本: 3.12.3
NetBox 版本: 4.3.3-Docker-3.3.0
插件: 
  netbox_topology_views: 4.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: revisions neededThis issue requires additional information to be actionabletype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions