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

Improve support for Chef-Solo #164

Open
hufman opened this issue Oct 20, 2014 · 4 comments
Open

Improve support for Chef-Solo #164

hufman opened this issue Oct 20, 2014 · 4 comments
Labels
Milestone

Comments

@hufman
Copy link
Contributor

hufman commented Oct 20, 2014

Some organizations may want to deploy some of their Ceph stack using Chef-Solo, and some pieces naturally lend themselves to it, like the radosgw or iscsi nodes. This issue is a way to brainstorm for ways to improve support for Chef-Solo.

@hufman
Copy link
Contributor Author

hufman commented Oct 20, 2014

The current main things that Chef Server is needed for are:

  • Searching for monitor nodes mon_nodes, only used by mon_addresses and mon_secret
  • Getting the IP addresses of those monitor nodes, for inserting into ceph.conf mon_addresses
  • Getting the mon_secret from the monitors, for setting up keys mon_secret
  • (future) Getting the cluster fsid from the monitors, for inserting into ceph.conf

@hufman
Copy link
Contributor Author

hufman commented Oct 20, 2014

Because of how Chef-Solo works, this data will have to be provided as node attributes. All of the above data would have to be added:

  • monitor ips
  • monitor secret, if generating keys is desired
  • perhaps preloading any client keys instead of fetching/generating it during runtime
  • cluster fsid will be needed for OSDs and MONs

@hufman hufman added this to the 1.0 milestone Oct 20, 2014
@hufman hufman added the Feature label Oct 20, 2014
@lccheung
Copy link

lccheung commented Dec 2, 2014

Hi Hufman,

Any fix plan or target fix-by-date of this issue? My organization is also using chef-solo and would like to deploy ceph by chef-solo.

Regards,
Taurus

@tomzo
Copy link

tomzo commented Mar 2, 2015

I have added some initial work towards handling chef-solo. Most notably, I added more detailed error messages in cases when search was called and chef-solo was used. The work is in branch chef-solo in my fork b47a2e0
It is not complete, but enough to create an all-in-one node using chef-solo.

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

No branches or pull requests

3 participants