Automated OSD HDD setup
- Dominant language
- Ruby
- Stars
- 101
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
There should be an optional attribute that allows you to specify that you want the osd's prepared automatically.
It should then allow you to specify a regex for the drives that should be automatically allocated (wholly) for OSD's. eg: [hvs]d[^a]
Based on this regex, the node's attributes should automatically be populated with the required structure as per the recipe:
"ceph": {
"osd_devices": [
{ "device": "/dev/sdb" },
{ "device": "/dev/sdc" },
{ "device": "/dev/sdd" },
{ "device": "/dev/sde" },
{ "device": "/dev/sdf" }
]
}
This will be a good starting point - later it can be extended to allow automation for the way journaling is done and special attributes like dmcrypt.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Ceph OSD recipe and the node-attribute handling it uses; the issue provides no file or test names. Trace how the recipe currently consumes ceph.osd_devices, then define the optional preparation flag and drive regex behavior, with completion verified by the generated node structure and automated OSD setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100