IP address update import fails with <class 'ValueError'> 'IPAddressImportForm' has no field named 'assigned_object_id'. #9756

Closed
opened 2025-12-29 21:22:07 +01:00 by adam · 1 comment
Owner

Originally created by @ionoci on GitHub (May 28, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.7.4

Python Version

3.10

Steps to Reproduce

  1. Export IP addresses you want to update with ID field
  2. Update the csv file and set headers
  3. Import IP addresses as csv file

Sample data from export:
ID,IP Address,VRF,Status,Tenant,DNS name,Description
7105,192.168.58.1/24,vrf-site1,Active,tenant1,mde001.wlan,00:a0:57:2e:62:46 pro-V-pad 10

Sample data for import:
id,address,vrf,status,tenant,dns_name,description,device,interface
7105,192.168.58.1/24,vrf-site1,dhcp,tenant1,mde001.wlan,"pro-V-pad 10,4 x64 mit IR Touch, TK",mde001,wlan0

Expected Behavior

IP address information(desciption,device etc.) should be updated

Observed Behavior

<class 'ValueError'>

'IPAddressImportForm' has no field named 'assigned_object_id'.

Python version: 3.11.5
NetBox version: 3.7.4
Plugins: None installed

Originally created by @ionoci on GitHub (May 28, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.7.4 ### Python Version 3.10 ### Steps to Reproduce 1. Export IP addresses you want to update with ID field 2. Update the csv file and set headers 3. Import IP addresses as csv file Sample data from export: `ID,IP Address,VRF,Status,Tenant,DNS name,Description` `7105,192.168.58.1/24,vrf-site1,Active,tenant1,mde001.wlan,00:a0:57:2e:62:46 pro-V-pad 10` Sample data for import: `id,address,vrf,status,tenant,dns_name,description,device,interface` `7105,192.168.58.1/24,vrf-site1,dhcp,tenant1,mde001.wlan,"pro-V-pad 10,4 x64 mit IR Touch, TK",mde001,wlan0` ### Expected Behavior IP address information(desciption,device etc.) should be updated ### Observed Behavior <class 'ValueError'> 'IPAddressImportForm' has no field named 'assigned_object_id'. Python version: 3.11.5 NetBox version: 3.7.4 Plugins: None installed
adam added the type: bug label 2025-12-29 21:22:07 +01:00
adam closed this issue 2025-12-29 21:22:08 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 28, 2024):

v3.7.4

Your NetBox version is quite out of date. Please upgrade to NetBox v4.0.3 or later as it's likely that your issue has already been addressed in a more recent release. If you're able to reproduce the behavior on the most recent release, please update your reproduction steps above to include complete instructions and ask that it be re-opened.

@jeremystretch commented on GitHub (May 28, 2024): > v3.7.4 Your NetBox version is quite out of date. Please upgrade to NetBox v4.0.3 or later as it's likely that your issue has already been addressed in a more recent release. If you're able to reproduce the behavior on the most recent release, please update your reproduction steps above to include complete instructions and ask that it be re-opened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9756