Hi there,
for some months I have two Rockons running: Gogs and Syncthing, all is fine.
Now I want to stop them or install new ones, both actions fail with similar errors.
When I try to stop Gogs Rockon, the “Waiting” gear starts spinning but after a while disappears with the Rockon still running.
I mainly get the following errors:
==> /opt/rockstor/var/log/supervisord_ztask-daemon_stderr.log <==
ERROR:ztaskd:Error calling storageadmin.views.rockon_helpers.stop. Details:
cannot import name get_uuid_name_map
==> /opt/rockstor/var/log/rockstor.log <==
[03/Jun/2017 20:23:18] ERROR [storageadmin.middleware:32] Exception occured while processing a request. Path: /api/commands/refresh-snapshot-state method: POST
[03/Jun/2017 20:23:18] ERROR [storageadmin.middleware:33] need more than 0 values to unpack
Does anybody have an idea?
Full log entries:
==> /opt/rockstor/var/log/supervisord_ztask-daemon_stderr.log <==
ERROR:ztaskd:Error calling storageadmin.views.rockon_helpers.stop. Details:
cannot import name get_uuid_name_map
WARNING:py.warnings:/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/fields/__init__.py:1474: RuntimeWarning: DateTimeField Task.failed received a naive datetime (2017-06-03 18:23:08.367680) while time zone support is active.
RuntimeWarning)
Traceback (most recent call last):
File "/opt/rockstor/eggs/django_ztask-0.1.5-py2.7.egg/django_ztask/management/commands/ztaskd.py", line 114, in _call_function
__import__(module_name)
File "/opt/rockstor/src/rockstor/storageadmin/views/__init__.py", line 23, in <module>
from disk import (DiskMixin, DiskListView, DiskDetailView) # noqa F401
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 31, in <module>
from system.luks import luks_format_disk, get_unlocked_luks_containers_uuids, \
File "/opt/rockstor/src/rockstor/system/luks.py", line 23, in <module>
from system.osi import run_command, get_uuid_name_map
ImportError: cannot import name get_uuid_name_map
==> /opt/rockstor/var/log/rockstor.log <==
[03/Jun/2017 20:23:18] ERROR [storageadmin.middleware:32] Exception occured while processing a request. Path: /api/commands/refresh-snapshot-state method: POST
[03/Jun/2017 20:23:18] ERROR [storageadmin.middleware:33] need more than 0 values to unpack
Traceback (most recent call last):
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py", line 452, in dispatch
response = self.handle_exception(exc)
File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py", line 449, in dispatch
response = handler(request, *args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 276, in post
status = True
File "/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py", line 150, in import_snapshots
rusage, eusage = volume_usage(share.pool, snaps_d[s][0])
ValueError: need more than 0 values to unpack