REST: storage/volume says volume is decrypted even when status is LOCKED

Description

In 11.3 the UI makes a REST call to storage/volume and the object shows is_decrypted equals true while status = LOCKED

This happened in a fresh VirtualBox VM.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

CalebMay 27, 2020 at 12:31 AM

 I've looked at this and this is expected behavior. I will admit, however, that the "is_decrypted" key name is a HORRIBLE name. The "is_decrypted" key name ONLY relates to freeBSD and GELI encryption. More specifically, if ALL geli providers have been "decrypted" and mounted then the "is_decrypted" boolean will show True EVEN IF the zpool has been exported.

So what you're seeing is expected. The only time the "is_decrypted" boolean shows False is if ANY of the geli providers (disks) that make up a zpool are not "decrypted".

Confusing verbiage for sure, but expected behavior none-the-less 

CalebMay 26, 2020 at 11:50 PM

 How are you locking a zpool that is encrypted without a passphrase? It's impossible to find the "lock" button in the new webUI.

Behaves as Intended

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created May 26, 2020 at 9:30 PM
Updated July 1, 2022 at 4:52 PM
Resolved May 27, 2020 at 12:31 AM