Project

General

Profile

Bug #35789

Add to the new UI an option to unlock pool using recovery key and hide actions that cannot be accessed when pool is locked

Added by Bonnie Follweiler over 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Erin Clark
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
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

Description

This was seen in FreeNAS 11.2-INTERNAL8

In the old UI there were no options except to unlock the drive if it was locked (screenshot provided) but, since it was there I tried to add a recovery key. I entered the correct passphrase and got the following Traceback

[MiddlewareError: Unable to set recovery key for 2 devices: [MiddlewareError: Unable to set passphrase on gptid/a9708672-78a2-11e8-b9ed-d05099c356aa: geli: Cannot read passphrase: Inappropriate ioctl for device. ], [MiddlewareError: Unable to set passphrase on gptid/abdc8b92-78a2-11e8-b9ed-d05099c356aa: geli: Cannot read passphrase: Inappropriate ioctl for device. ]]

Error: Traceback (most recent call last):

File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 219, in wrapper
response = callback(request, *args, **kwargs)
File "./freenasUI/api/resources.py", line 945, in recoverykey
reckey = notifier().geli_recoverykey_add(obj)
File "./freenasUI/middleware/notifier.py", line 549, in geli_recoverykey_add
', '.join(errors),

freenasUI.middleware.exceptions.MiddlewareError: [MiddlewareError: Unable to set recovery key for 2 devices: [MiddlewareError: Unable to set passphrase on gptid/a9708672-78a2-11e8-b9ed-d05099c356aa: geli: Cannot read passphrase: Inappropriate ioctl for device.
], [MiddlewareError: Unable to set passphrase on gptid/abdc8b92-78a2-11e8-b9ed-d05099c356aa: geli: Cannot read passphrase: Inappropriate ioctl for device.
]]


Related issues

Has duplicate FreeNAS - Bug #35793: There is no recovery Key option to unlock an encrypted drive like the legacy UI hasClosed
Blocks FreeNAS - Bug #36083: Unlock volume with recovery key in APIv1Done

Associated revisions

Revision 2cbfc910 (diff)
Added by Erin Clark about 2 years ago

Add option to unlock pool using recovery key and hide actions that cannot be accessed when pool is locked Ticket: #35793 #35789

History

#1 Updated by Bonnie Follweiler over 2 years ago

  • Category changed from Middleware to GUI (new)
  • Assignee changed from William Grzybowski to Erin Clark

I now understand that those options are not supposed to be available on a locked drive after talking to William. Moving this to Erin/New GUI

#2 Updated by Dru Lavigne over 2 years ago

  • Related to Bug #35793: There is no recovery Key option to unlock an encrypted drive like the legacy UI has added

#3 Updated by Dru Lavigne over 2 years ago

  • Target version changed from Backlog to 11.2-BETA2

#4 Updated by Erin Clark over 2 years ago

  • Status changed from Unscreened to Screened

#5 Updated by Erin Clark about 2 years ago

  • Status changed from Screened to In Progress

#6 Updated by Dru Lavigne about 2 years ago

  • Related to deleted (Bug #35793: There is no recovery Key option to unlock an encrypted drive like the legacy UI has)

#7 Updated by Dru Lavigne about 2 years ago

  • Has duplicate Bug #35793: There is no recovery Key option to unlock an encrypted drive like the legacy UI has added

#8 Updated by Dru Lavigne about 2 years ago

  • Blocks Bug #36083: Unlock volume with recovery key in APIv1 added

#9 Updated by Erin Clark about 2 years ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Dru Lavigne about 2 years ago

  • Subject changed from In the New GUI, when a pool is locked, I can select to "Add a Recovery Key", add the passphrase, and I get a Middleware Error to Add to the new UI an option to unlock pool using recovery key and hide actions that cannot be accessed when pool is locked
  • Needs Merging changed from Yes to No

#11 Updated by Bonnie Follweiler about 2 years ago

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

FreeNAS-11.2-MASTER-201807190857
(Build Date: Jul 19, 2018 12:3)

#12 Updated by Timothy Moore II about 2 years ago

  • Needs Doc changed from Yes to No

Docs PR: https://github.com/freenas/freenas-docs/pull/247 [angulargui branch]. This is UI specific, so there shouldn't need to be a master branch PR.

#13 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF