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

Permission Issue on osd activate command #5

Closed
brownie1 opened this issue Dec 31, 2015 · 2 comments
Closed

Permission Issue on osd activate command #5

brownie1 opened this issue Dec 31, 2015 · 2 comments

Comments

@brownie1
Copy link

@brownie1 brownie1 commented Dec 31, 2015

There is a permission denied issue when running the activate command. The issue is that when the /var/local/osd0 and osd1 directories are created the permissions are for root:staff. Changing the line to ssh ceph-server-2 "sudo mkdir /var/local/osd0 && sudo chown ceph:ceph /var/local/osd0" will fix the issue.

@carmstrong
Copy link
Owner

@carmstrong carmstrong commented Dec 31, 2015

Thanks for the fix. Wold you mind PRing a fix?

hshib added a commit to hshib/multinode-ceph-vagrant that referenced this issue Apr 1, 2016
Properly changed the owner of OSD to "ceph" so it does not fail with "** ERROR: error creating empty object store in /var/local/osd0: (13) Permission denied".
carmstrong added a commit that referenced this issue Apr 1, 2016
Fixed "Permission Issue on osd activate command" #5
@carmstrong
Copy link
Owner

@carmstrong carmstrong commented Mar 15, 2017

I think this was resolved in #7.

@carmstrong carmstrong closed this Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.