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

OSD daemonset should be able to run unprivileged #400

Closed
travisn opened this issue Feb 14, 2017 · 2 comments · Fixed by #1188
Closed

OSD daemonset should be able to run unprivileged #400

travisn opened this issue Feb 14, 2017 · 2 comments · Fixed by #1188
Assignees
Labels
ceph-rados Ceph core components / functionality

Comments

@travisn
Copy link
Member

travisn commented Feb 14, 2017

The OSD containers should be able to run unprivileged in the following scenarios:

  • The admin has already provisioned the storage devices on a node (for bluestore)
  • Directories will be used for filestore

The default seems like it should be to run unprivileged. If the admin wants Rook to do the provisioning of the devices he could override it with a flag and run privileged.

@travisn travisn added the ceph-rados Ceph core components / functionality label Feb 14, 2017
@bassam
Copy link
Member

bassam commented Feb 14, 2017

related to #82

@bzub
Copy link
Contributor

bzub commented Mar 13, 2017

The privileged portion of the pods could be carried out by an Init Container.

It seems like separating storage initialization/verification from OSD startup could be a smart thing to do. At least in the case of Init Containers the OSD container wouldn't start without the initial formatting/verification returning success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ceph-rados Ceph core components / functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants