Project

General

Profile

Bug #28754

Fix traceback if an incorrect passphrase is used when unlocking a pool

Added by Bonnie Follweiler over 1 year ago. Updated about 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Seen in:
TrueNAS - TrueNAS 11.1-U2
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Related projects 1 project

Description

I updated to 11.1-U2RC11
When I try to unlock an encrypted volume with the wrong passphrase I get the following Traceback error message:
Environment:

Software Version: TrueNAS-11.1-U2-RC11 (224e7946f)
Request Method: POST
Request URL: http://10.20.20.32/storage/volume/6/unlock/?X-Progress-ID=d89adbcd-8a5c-4c80-894c-2b31528dc71d

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
162. 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 "./freenasUI/storage/views.py" in volume_unlock
1021. form.done(volume=volume)
File "./freenasUI/storage/forms.py" in done
2822. raise MiddlewareError(msg)

Exception Type: MiddlewareError at /storage/volume/6/unlock/
Exception Value: [MiddlewareError: Volume could not be imported: 1 devices failed to decrypt]

Associated revisions

Revision d4bee0f1 (diff)
Added by Waqar Ahmed about 1 year ago

Bug Fix
Ticket: #28754

Revision c241b083 (diff)
Added by Waqar Ahmed about 1 year ago

Bug Fix
Ticket: #28754

Revision ed5146a6 (diff)
Added by Waqar Ahmed about 1 year ago

Bug Fix
Ticket: #28754

Revision 46547818 (diff)
Added by Waqar Ahmed about 1 year ago

Bug Fix
Ticket: #28754

Revision e3df8096 (diff)
Added by Waqar Ahmed about 1 year ago

Bug Fix
Ticket: #28754

History

#1 Updated by Dru Lavigne over 1 year ago

  • Target version changed from N/A to TrueNAS 11.1-U2

#2 Updated by William Grzybowski over 1 year ago

  • Target version changed from TrueNAS 11.1-U2 to TrueNAS 11.2

Does not seem like a regression.

#3 Updated by Dru Lavigne over 1 year ago

  • Project changed from TrueNAS to FreeNAS
  • Category changed from GUI to OS
  • Target version changed from TrueNAS 11.2 to 11.2-RC2
  • Migration Needed deleted (No)
  • Hide from ChangeLog deleted (No)
  • Support Department Priority deleted (0)

William: feel free to punt to 11.3 if low priority for 11.2.

#4 Updated by William Grzybowski over 1 year ago

  • Target version changed from 11.2-RC2 to 11.3

#5 Avatar?id=13649&size=24x24 Updated by Ben Gadd over 1 year ago

  • Category changed from OS to Middleware

#6 Avatar?id=13649&size=24x24 Updated by Ben Gadd about 1 year ago

  • Target version changed from 11.3 to Backlog

#7 Updated by William Grzybowski about 1 year ago

  • Severity set to Medium

#8 Updated by William Grzybowski about 1 year ago

  • Assignee changed from William Grzybowski to Waqar Ahmed
  • Target version changed from Backlog to 11.2-RC2
  • Needs Merging changed from Yes to No

#9 Updated by Waqar Ahmed about 1 year ago

  • Status changed from Not Started to In Progress

#10 Updated by Waqar Ahmed about 1 year ago

  • Status changed from In Progress to Ready for Testing

#11 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Trying to unlock a pool with an incorrect passphrase produces a Traceback Error message to Fix traceback if an incorrect passphrase is used when unlocking a pool
  • Target version changed from 11.2-RC2 to 11.2-BETA1
  • Needs Doc changed from Yes to No

#12 Updated by Bonnie Follweiler about 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

There is an error message in bothe the old UI and the new UI
They could be a little more descriptive but that's for another ticket :D
Test Passed in FreeNAS-11.2-INTERNAL2

#13 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF