Problem after upgrading to 2.10.6 tags #4695

Closed
opened 2025-12-29 19:19:34 +01:00 by adam · 2 comments
Owner

Originally created by @Dimitri-Legallais on GitHub (Mar 24, 2021).

NetBox version

v2.10.6

Python version

3.7

Steps to Reproduce

  1. Click on "add an IP Addresses" (after click on the prefix)
  2. Set 192.168.1.1 and set tags "pool_nat" (existing)
  3. Click the "create" button

Expected Behavior

The object "IP Addresses" was not created and i have this error message

<class 'ValueError'>
Field 'id' expected a number but got 'pool_nat'. Python version: 3.7.3 NetBox version: 2.10.6

The tag is lowercase, it looks like a known problem :
https://github.com/netbox-community/netbox/issues/4613

When i create the object without tag, it works fine

Observed Behavior

The object "IP Addresses" was not created and i have this error message

[24/Mar/2021:12:39:26 +0100] "POST /ipam/ip-addresses/add/?address=192.168.1.1/24&vrf=159&tenant_group=1&tenant=246 HTTP/1.1" 500 1827 "https://netbox/ipam/ip-addresses/add/?address=192.168.1.1/24&vrf=159&tenant_group=1&tenant=246" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36

Originally created by @Dimitri-Legallais on GitHub (Mar 24, 2021). ### NetBox version v2.10.6 ### Python version 3.7 ### Steps to Reproduce 1. Click on "add an IP Addresses" (after click on the prefix) 2. Set 192.168.1.1 and set tags "pool_nat" (existing) 3. Click the "create" button ### Expected Behavior The object "IP Addresses" was not created and i have this error message <class 'ValueError'> Field 'id' expected a number but got 'pool_nat'. Python version: 3.7.3 NetBox version: 2.10.6 The tag is lowercase, it looks like a known problem : https://github.com/netbox-community/netbox/issues/4613 When i create the object without tag, it works fine ### Observed Behavior The object "IP Addresses" was not created and i have this error message [24/Mar/2021:12:39:26 +0100] "POST /ipam/ip-addresses/add/?address=192.168.1.1/24&vrf=159&tenant_group=1&tenant=246 HTTP/1.1" 500 1827 "https://netbox/ipam/ip-addresses/add/?address=192.168.1.1/24&vrf=159&tenant_group=1&tenant=246" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
adam added the type: bug label 2025-12-29 19:19:34 +01:00
adam closed this issue 2025-12-29 19:19:34 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 24, 2021):

I'm not able to reproduce this on v2.10.6. FYI #4613 is a very old bug and has no relation to the current release.

@jeremystretch commented on GitHub (Mar 24, 2021): I'm not able to reproduce this on v2.10.6. FYI #4613 is a very old bug and has no relation to the current release.
Author
Owner

@jeremystretch commented on GitHub (Apr 8, 2021):

Closing for inactivity.

@jeremystretch commented on GitHub (Apr 8, 2021): Closing for inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4695