Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated OSD HDD setup #56

Open
odyssey4me opened this issue Aug 1, 2013 · 2 comments
Open

Automated OSD HDD setup #56

odyssey4me opened this issue Aug 1, 2013 · 2 comments

Comments

@odyssey4me
Copy link
Contributor

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.

@alram
Copy link
Member

alram commented Aug 1, 2013

Sounds like a good idea.
It's very painful to write the JSON, and everything that aims at simplifying the process is very welcome.

@hufman
Copy link
Contributor

hufman commented Oct 20, 2014

This functionality should probably be best located in a policy wrapper cookbook. I'll work on describing how to do this in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants