Quantcast
Channel: Rockstor Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 1913

Unknown internal error doing a GET to /api/rockons (list index out of range)

$
0
0

Brief description of the problem

the rockons API endpoint errors, with an empty error description in the UI. In rockstor.log I get the following:

[29/Oct/2024 01:37:28] ERROR [storageadmin.middleware:33] Exception occurred while processing a request. Path: /api/rockons method: GET
[29/Oct/2024 01:37:28] ERROR [storageadmin.middleware:34] list index out of range
Traceback (most recent call last):
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 495, in dispatch
    response = self.handle_exception(exc)
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 455, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
    raise exc
IndexError: list index out of range

As I have a couple of custom rockon definitions I wouldn’t exclude user error here, but the trace doesn’t seem to give any useful info of what might be wrong to me.

Web-UI screenshot

Error Traceback provided on the Web-UI

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1913

Trending Articles