Not all volume drivers set the 'encrypted' key in connection_info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
The following two tempest tests report a pass when a volume is not actually encrypted properly:
test_encrypted_
test_encrypted_
There was a bug in the HP 3PAR drivers where the 'encrypted' property was not being returned from initialize_
Here is the code path that gets skipped:
https:/
The above two tempest tests give a false pass even though the volume created and attached it was not done using the encryption code path.
Sample log for false positive passing test:
Once fixed the code paths were actually tested and result in a valid pass.
Here is the Cinder patch that fixes the 3PAR drivers so that they return the 'encrypted' property correctly:
https:/
Now the encrypted code path is actually tested and the pass is valid.
Log for actual passing test:
Changed in cinder: | |
status: | Confirmed → In Progress |
assignee: | nobody → Matt Riedemann (mriedem) |
importance: | Undecided → Medium |
Changed in cinder: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-2 → 7.0.0 |
How can a test driving from the outside (i.e. tempest) tell that something went wrong? We have no interfaces for that...