You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acceptedThis issue has been accepted for implementationbugFurther discussion is needed to determine this issue's scope and/or implementationduplicateThis issue or pull request already exists
Internal Server Error: /plugins/proxbox/full_update/
Traceback (most recent call last):
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch
return super().dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/views.py", line 93, in get
"virtualmachines_table": VMUpdateResult(proxbox_api.update.all(remove_unused = True)["virtualmachines"]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/update.py", line 420, in all
cluster = create.virtualization.cluster()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/create/virtualization.py", line 68, in cluster
type = cluster_type().slug
^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/pynetbox/core/response.py", line 308, in getattr
raise AttributeError('object has no attribute "{}"'.format(k))
AttributeError: object has no attribute "slug"
The text was updated successfully, but these errors were encountered:
emersonfelipesp
added
bug
Further discussion is needed to determine this issue's scope and/or implementation
accepted
This issue has been accepted for implementation
duplicate
This issue or pull request already exists
labels
Oct 24, 2024
acceptedThis issue has been accepted for implementationbugFurther discussion is needed to determine this issue's scope and/or implementationduplicateThis issue or pull request already exists
Performing proxmox full update happens this:
<class 'AttributeError'>
object has no attribute "slug"
Python version: 3.11.2
NetBox version: 3.7.1
Plugins:
netbox_attachments: 4.0.2
netbox_ipcalculator: 1.1
netbox_proxbox: 0.0.5
netbox_qrcode: 0.0.11
netbox_topology_views: 3.9.0
here is cat from log of exact moment
log file:
netbox_proxmox.log
cat /var/log/netbox.log
Internal Server Error: /plugins/proxbox/full_update/
Traceback (most recent call last):
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch
return super().dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/views.py", line 93, in get
"virtualmachines_table": VMUpdateResult(proxbox_api.update.all(remove_unused = True)["virtualmachines"]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/update.py", line 420, in all
cluster = create.virtualization.cluster()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/netbox_proxbox/proxbox_api/create/virtualization.py", line 68, in cluster
type = cluster_type().slug
^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.1/venv/lib/python3.11/site-packages/pynetbox/core/response.py", line 308, in getattr
raise AttributeError('object has no attribute "{}"'.format(k))
AttributeError: object has no attribute "slug"
The text was updated successfully, but these errors were encountered: