OSD collector does not detect encrypted bluestore devices
- Dominant language
- Python
- Stars
- 66
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
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')
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the OSD collector's device-encryption detection and compare the existing filestore check with the bluestore path. Confirm that encrypted bluestore devices are recognized through their block-device link, and verify the collector's resulting metric or output for both encrypted and unencrypted devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100