Not sure if this is a bug, still new to FreeNAS, but I am testing out encryption on a USB drive.
I create a new encrypted volume
Then I download the key, filename geli.key and disconnect with a passphrase.
I physically remove the USB disk and then physically reattach it.
I then do an import volume and supply the key and passphrase (funny how it says 1 of 2, then on on next screen it says 2 of 3), I click OK then get an error.
Note with one of the images, I do select da4p2, it is not highlighted in the image.
Here is the error message
It never mounts, is this a bug?
Am I doing it wrong?
Is there a CLI way to mount?
LA
I create a new encrypted volume
Then I download the key, filename geli.key and disconnect with a passphrase.
I physically remove the USB disk and then physically reattach it.
I then do an import volume and supply the key and passphrase (funny how it says 1 of 2, then on on next screen it says 2 of 3), I click OK then get an error.
Note with one of the images, I do select da4p2, it is not highlighted in the image.
Here is the error message
Code:
Environment: Software Version: FreeNAS-11.2-RC1 (c831a6a98) Request Method: POST Request URL: https://xxxxxxxxxxxxxxx/legacy/storage/auto-import/?X-Progress-ID=1e1066cc-02c2-4299-852e-f37bbb902671 Traceback: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 42. response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 178. response = middleware_method(request, callback, callback_args, callback_kwargs) File "./freenasUI/freeadmin/middleware.py" in process_view 163. return login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view 68. return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch 248. response = super(WizardView, self).dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch 88. return handler(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post 301. if form.is_valid(): File "/usr/local/lib/python3.6/site-packages/django/forms/forms.py" in is_valid 169. return self.is_bound and not self.errors File "/usr/local/lib/python3.6/site-packages/django/forms/forms.py" in errors 161. self.full_clean() File "/usr/local/lib/python3.6/site-packages/django/forms/forms.py" in full_clean 371. self._clean_form() File "/usr/local/lib/python3.6/site-packages/django/forms/forms.py" in _clean_form 398. cleaned_data = self.clean() File "./freenasUI/storage/forms.py" in clean 981. upload_job_and_wait(key, 'disk.decrypt', disks, passphrase) File "./freenasUI/middleware/util.py" in upload_job_and_wait 55. return wait_job(c, job_id) File "./freenasUI/middleware/util.py" in upload_job_and_wait 54. job_id = r.json()['job_id'] File "/usr/local/lib/python3.6/site-packages/requests/models.py" in json 892. return complexjson.loads(self.text, **kwargs) File "/usr/local/lib/python3.6/site-packages/simplejson/__init__.py" in loads 518. return _default_decoder.decode(s) File "/usr/local/lib/python3.6/site-packages/simplejson/decoder.py" in decode 370. obj, end = self.raw_decode(s) File "/usr/local/lib/python3.6/site-packages/simplejson/decoder.py" in raw_decode 400. return self.scan_once(s, idx=_w(s, idx).end()) Exception Type: JSONDecodeError at /legacy/storage/auto-import/ Exception Value: Expecting value: line 1 column 1 (char 0)
It never mounts, is this a bug?
Am I doing it wrong?
Is there a CLI way to mount?
LA