Skip to content

OSD collector does not detect encrypted bluestore devices #220

@wyllys66

Description

@wyllys66

The code for detecting whether or not an OSD is encrypted does not do any checking if the device is bluestore., it just assumes "encrypted = 0".

One possible fix would be to check the path of the block device, similar to the filestore check:

linkpath = os.readlink(block_link)
encrypted = linkpath.startswith('/dev/mapper')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions