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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@carmstrong

carmstrong Dec 31, 2015

Owner

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

Owner

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

Fixed "Permission Issue on osd activate command" #5
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

Merge pull request #7 from hshib/master
Fixed "Permission Issue on osd activate command" #5
@carmstrong

This comment has been minimized.

Show comment
Hide comment
@carmstrong

carmstrong Mar 15, 2017

Owner

I think this was resolved in #7.

Owner

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