Error when creating device from device type with parent inventory item #10056

Closed
opened 2025-12-29 21:26:15 +01:00 by adam · 4 comments
Owner

Originally created by @ihumster on GitHub (Aug 6, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.6.9

Python Version

3.10

Steps to Reproduce

  1. Create a new Device Types
  2. Add 1st Component : Inventory Item
  3. Add 2nd Component : Inventory Item, with 1st component as Parent
  4. Create a new Device from this Device type

Expected Behavior

New device created with Inventory Items from Device Type

Observed Behavior

<class 'dcim.models.device_components.InventoryItem.DoesNotExist'>

InventoryItem matching query does not exist.

Python version: 3.10.12
NetBox version: 3.6.9

Originally created by @ihumster on GitHub (Aug 6, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.6.9 ### Python Version 3.10 ### Steps to Reproduce 1. Create a new Device Types 2. Add 1st Component : Inventory Item 3. Add 2nd Component : Inventory Item, with 1st component as Parent 4. Create a new Device from this Device type ### Expected Behavior New device created with Inventory Items from Device Type ### Observed Behavior <class 'dcim.models.device_components.InventoryItem.DoesNotExist'> InventoryItem matching query does not exist. Python version: 3.10.12 NetBox version: 3.6.9
adam added the type: bugpending closurestatus: revisions needed labels 2025-12-29 21:26:15 +01:00
adam closed this issue 2025-12-29 21:26:15 +01:00
Author
Owner

@ihumster commented on GitHub (Aug 6, 2024):

Absolutely repeat #12118

@ihumster commented on GitHub (Aug 6, 2024): Absolutely repeat #12118
Author
Owner

@jeremystretch commented on GitHub (Aug 6, 2024):

v3.6.9

You're on an older version of NetBox. Please upgrade to the latest stable release (v4.0.8) and attempt to replicate the behavior.

@jeremystretch commented on GitHub (Aug 6, 2024): > v3.6.9 You're on an older version of NetBox. Please upgrade to the latest stable release (v4.0.8) and attempt to replicate the behavior.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 14, 2024):

This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.

@github-actions[bot] commented on GitHub (Aug 14, 2024): This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.
Author
Owner

@jeremystretch commented on GitHub (Sep 11, 2024):

Closing as there's been no further response.

@jeremystretch commented on GitHub (Sep 11, 2024): Closing as there's been no further response.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10056