Project

General

Profile

Feature #37626

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

Convert Storage:Volume Rekey to Middlewared

Added by William Grzybowski over 1 year ago. Updated 7 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 rekey 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 volume rekey.

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


Related issues

Related to FreeNAS - Bug #37830: Ensure HA failover works after geli rekeyReady for Testing

Associated revisions

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

feat(middlewared/pool): implement pool.rekey Ticket: #37626

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

feat(gui): use middleware to rekey a pool Ticket: #37626

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

feat(middlewared/pool): implement pool.rekey Ticket: #37626

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

feat(gui): use middleware to rekey a pool Ticket: #37626

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

  • Related to Bug #37830: Ensure HA failover works after geli rekey added

#3 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Ready for Testing

#4 Updated by Dru Lavigne 9 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#7 Updated by Jeff Ervin 8 months ago

57351
57360
57369
57378
57387
57396
57405
57414
57423

Test Passed FreeNAS-11.3-MASTER-201902281502

For both Legacy & Angular tested the following:
Re-keyed pool
created new passphrase for the pool
downloaded key
Locked/unlocked pool
Detached/exported pool
Imported pool using new passphrase and key (this is the only time I can see where the key is truly necessary / as for general unlocking, you can do so with passphrase only)

#8 Updated by Jeff Ervin 8 months ago

  • File deleted (Screen Shot 2019-03-01 at 11.28.50 AM.png)

#9 Updated by Dru Lavigne 8 months ago

  • Status changed from Passed Testing to Done

#10 Updated by Dru Lavigne 7 months ago

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

Also available in: Atom PDF