Project

General

Profile

Actions

Feature #44783

closed
JS

c-v's batch report doesn't show if the disk is going to be encrypted

Feature #44783: c-v's batch report doesn't show if the disk is going to be encrypted

Added by Joshua Schmid over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-6063-g239c4bc8f3
Released In:
v16.2.0~1197
Upkeep Timestamp:
2025-07-15T01:16:47+00:00

Description

/usr/sbin/ceph-volume lvm batch --no-auto /dev/vdb --dmcrypt --report --format json

gives

{
    "changed": true,
    "osds": [
        {
            "block.db": {},
            "data": {
                "human_readable_size": "24.00 GB",
                "parts": 1,
                "path": "/dev/vdb",
                "percentage": 100.0,
                "size": 24
            }
        }
    ],
    "vgs": []
}

which is missing the `encrypted` flag.


Related issues 1 (0 open — 1 closed)

Related to Orchestrator - Feature #44625: cephadm: test dmcryptResolved

Actions

Updated by Anonymous over 6 years ago Actions #1

  • Subject changed from c-v's report doesn't show if the disk is going to be encrypted to c-v's batch report doesn't show if the disk is going to be encrypted

Updated by Anonymous over 6 years ago Actions #2

  • Tracker changed from Bug to Feature

Changing this to a feature.

I'd like input on what you'd expect. An encrypted, but where? Under the 'data' key, under the OSD key? Should be be false in case of unencrypted or missing?

I'd propose an new 'encrypted' key under 'data' that is either false or true.

JS Updated by Joshua Schmid over 6 years ago Actions #3

I assume that --dmcrypt is a block key that will affect all provided disks.
If that's the case, it would suffice to put it one layer above, on the same level as "changed" and "osds"

I don't know how c-v treat external db/wals when this flag is provided. If these LVs are not encrypted we might be better off, being more granular by putting it into the 'data' struct.

KC Updated by Kiefer Chang over 6 years ago Actions #4

Updated by Anonymous about 6 years ago Actions #5

  • Status changed from New to Resolved
  • Pull request ID set to 34740

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Merge Commit set to 239c4bc8f3c14f892656264789217b6b80e12982
  • Fixed In set to v16.0.0-6063-g239c4bc8f3
  • Released In set to v16.2.0~1197
  • Upkeep Timestamp set to 2025-07-15T01:16:47+00:00
Actions

Also available in: PDF Atom