Error in Virtual Device Contexts v4.0.1 #16086
Unanswered
jlhuston
asked this question in
Help Wanted!
Replies: 1 comment
-
I did take a quick look at the dcim_virtualdevicecontext table in the database and didn't find any rows that referenced device IDs that don't exist as actual devices. Just in case it was some sort of data inconsistency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When attempting to view the whole list of Virtual Device Contexts, I get a 500 error page with the below details. When I click on an existing VDC used on a device to get to the detail page (/dcim/virtual-device-contexts/##), that works just fine. It is just the root page for VDCs that is having the issue.
FieldError at /dcim/virtual-device-contexts/
Cannot resolve keyword '_name' into field. Choices are: bookmarks, comments, created, custom_field_data, description, device, device_id, id, identifier, interface_count, interfaces, journal_entries, last_updated, name, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, status, tagged_items, tags, tenant, tenant_id
Request Method: GET
Request URL: https://netbox.gates.ventures/dcim/virtual-device-contexts/
Django Version: 5.0.6
Exception Type: FieldError
Exception Value:
Cannot resolve keyword '_name' into field. Choices are: bookmarks, comments, created, custom_field_data, description, device, device_id, id, identifier, interface_count, interfaces, journal_entries, last_updated, name, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, status, tagged_items, tags, tenant, tenant_id
Exception Location: /opt/netbox-4.0.1/venv/lib/python3.10/site-packages/django/db/models/sql/query.py, line 1772, in names_to_path
Raised during: dcim.views.VirtualDeviceContextListView
Python Executable: /opt/netbox-4.0.1/venv/bin/python3.10
Python Version: 3.10.12
Python Path:
['/opt/netbox/netbox',
'/opt/netbox-4.0.1',
'/opt/netbox-4.0.1/venv/bin',
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
'/opt/netbox-4.0.1/venv/lib/python3.10/site-packages']
Server time: Fri, 10 May 2024 22:17:22 +0000
Traceback data is:
Beta Was this translation helpful? Give feedback.
All reactions