Project

General

Profile

Feature #41393

[rfe] ceph-volume lvm list to report objectstore type

Added by Guillaume Abrioux 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

a `ceph-volume simple scan` reports which type the osd being scanned is :

eg:

{
"active": "ok",
"block": {
"path": "/dev/sda2",
"uuid": "f16490b9-ca2c-448f-b44f-4936ebd57756"
},
"block.db": {
"path": "/dev/sdc1",
"uuid": "20212325-7532-42c8-96a3-f83a8ac10ce0"
},
"block.db_dmcrypt": {
"path": "/var/lib/ceph/osd/ceph-1/block.db_dmcrypt",
"uuid": "20212325-7532-42c8-96a3-f83a8ac10ce0"
},
"block.db_uuid": "20212325-7532-42c8-96a3-f83a8ac10ce0",
"block_dmcrypt": {
"path": "/var/lib/ceph/osd/ceph-1/block_dmcrypt",
"uuid": "f16490b9-ca2c-448f-b44f-4936ebd57756"
},
"block_uuid": "f16490b9-ca2c-448f-b44f-4936ebd57756",
"bluefs": 1,
"ceph_fsid": "70b370a6-b19c-445c-a4a3-9bfd25c5a64e",
"cluster_name": "ceph",
"data": {
"path": "/dev/sda1",
"uuid": "9ce15263-be92-4032-8253-ba1b0e317093"
},
"encrypted": true,
"encryption_type": "luks",
"fsid": "9ce15263-be92-4032-8253-ba1b0e317093",
"keyring": "AQAkil5dEBQcJxAAxjpxzYiEsTH06bKctNrWww==",
"kv_backend": "rocksdb",
"lockbox.keyring": "AQApil5dbg8lMBAA3Tqezp2g2sdTu2lJpzaYag==",
"magic": "ceph osd volume v026",
"mkfs_done": "yes",
"ready": "ready",
"require_osd_release": 14,
"systemd": "",
"type": "bluestore",
"whoami": 1
}

could be nice if a `ceph-volume lvm list` could report that same information.

Also available in: Atom PDF