Diskmanage: add flag for encrypted osds
we can only do this here, since the ceph cluster is not aware of osd encryption, only the local node is (via ceph-volume and lv tags) this way, we are able to show an 'encrypted' flag in the disk gui at least Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
1e6057d1b4
commit
bfb3d42daf
@ -4,6 +4,7 @@
|
||||
"rpm" : 0,
|
||||
"size" : 1536000,
|
||||
"type" : "hdd",
|
||||
"osdencrypted": 0,
|
||||
"osdid" : "444",
|
||||
"bluestore" : "0",
|
||||
"health" : "UNKNOWN",
|
||||
@ -104,6 +105,7 @@
|
||||
"rpm" : 0,
|
||||
"type" : "hdd",
|
||||
"bluestore": 1,
|
||||
"osdencrypted": 0,
|
||||
"osdid" : 1
|
||||
},
|
||||
"sdh" : {
|
||||
@ -152,6 +154,7 @@
|
||||
"rpm" : 0,
|
||||
"bluestore": 0,
|
||||
"type" : "hdd",
|
||||
"osdencrypted": 1,
|
||||
"osdid" : 0
|
||||
},
|
||||
"sdk" : {
|
||||
@ -168,6 +171,7 @@
|
||||
"rpm" : 0,
|
||||
"bluestore": 0,
|
||||
"type" : "hdd",
|
||||
"osdencrypted": 0,
|
||||
"osdid" : 230
|
||||
},
|
||||
"sdl" : {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/dev/sdg(0);osd-block-01234;ceph.osd_id=1
|
||||
/dev/sdh(0);osd-journal-01234;ceph.osd_id=1
|
||||
/dev/sdi(0);osd-db-01234;ceph.osd_id=1,dasdf
|
||||
/dev/sdj(0);osd-data-01234;ceph.osd_id=0,asfd
|
||||
/dev/sdj(0);osd-data-01234;ceph.osd_id=0,asfd,ceph.encrypted=1
|
||||
/dev/sdk(0);osd-data-231231;ceph.osd_id=230,ceph.fsid=test
|
||||
/dev/sdl(0);osd-data-234132;ceph.osd_id=,bar
|
||||
|
||||
Reference in New Issue
Block a user