Project

General

Profile

Feature #37634

Umbrella #25917: Move business logic from Django to middlewared and make websocket API feature complete

Convert Storage:Volume Add Recovery Key to Middlewared

Added by William Grzybowski over 1 year ago. Updated 8 months ago.

Status:
Done
Priority:
Expected
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Estimated time:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
Yes
Support Suite Ticket:
n/a
Hardware Configuration:

Description

We need to change legacy UI to add recovery key to a volume using middlewared calls (this is to make sure v1.0 API will continue working as expected)
We need to create associated middlewared API transferring logic from legacy UI code.

Risk
This is a medium risk task, we may introduce new bugs on add recovery key.

Acceptance Criteria
When this is done we should be able to continue to adding a recovery key a volume at full extent when using legacy UI.

Associated revisions

Revision 4cdf77d8 (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared/pool): implement pool.recoverykey_add Ticket: #37634

Revision fed0398c (diff)
Added by William Grzybowski over 1 year ago

feat(gui): use middleware to add recovery key Ticket: #37634

Revision 5e5fa8a7 (diff)
Added by William Grzybowski over 1 year ago

feat(gui): use middleware to add recovery key Ticket: #37634

Revision 6807e605 (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared/pool): implement pool.recoverykey_add Ticket: #37634

Revision 620fa996 (diff)
Added by William Grzybowski over 1 year ago

feat(gui): use middleware to add recovery key Ticket: #37634

History

#1 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Ready for Testing

#3 Updated by Dru Lavigne 10 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#6 Updated by Jeff Ervin 8 months ago

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

Test Passed FreeNAS-11.3-MASTER-201903281043

1. Created encrypted volume in Legacy UI. Passphrase created, added a recovery key.
2. Locked the volume, unlocked with passphrase and newly downloaded recovery key successfully.
3. Locked volume in Legacy, switched to Web UI, unlocked volume successfully
4. Locked volume in Web UI, switched to Legacy, unlocked volume successfully

#7 Updated by Dru Lavigne 8 months ago

  • Status changed from Passed Testing to Done

#8 Updated by Dru Lavigne 8 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF