We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4509ec2 + 3cf00cd commit f3f2267Copy full SHA for f3f2267
src/ceph-volume/ceph_volume/objectstore/lvmbluestore.py
@@ -367,7 +367,7 @@ def _activate(self,
367
if is_encrypted:
368
osd_lv_path = '/dev/mapper/%s' % osd_block_lv.__dict__['lv_uuid']
369
lockbox_secret = osd_block_lv.tags['ceph.cephx_lockbox_secret']
370
- self.with_tpm = bool(osd_block_lv.tags.get('ceph.with_tpm', 0))
+ self.with_tpm = osd_block_lv.tags.get('ceph.with_tpm') == '1'
371
if not self.with_tpm:
372
encryption_utils.write_lockbox_keyring(osd_id,
373
osd_fsid,
0 commit comments