Project

General

Profile

Actions

Bug #20056

closed

ceph-osd: Permission Denied when reading a monmap

Added by Alfredo Deza almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I am trying to manually deploy an OSD, and regardless of the ownership or permissions for the 'activate.monmap' file I get the following error:

[vagrant@node3 ~]$ sudo ceph-osd --cluster ceph --mkfs --mkkey -i 0 --monmap /home/vagrant/osd/activate.monmap --osd-data /home/vagrant/osd --osd-journal /home/vagrant/osd/journal --osd-uuid 29cc3418-ff24-4085-bddd-0ef524313b2c --keyring /home/vagrant/osd/keyring --setuser ceph --setgroup ceph
unable to read/decode monmap from /home/vagrant/osd/activate.monmap: (13) Permission denied

This BZ lead me to believe it might be related to deploying an OSD onto a directory: https://bugzilla.redhat.com/show_bug.cgi?id=1361228

In this case, I am trying to deploy to a directory, however the issue here is why would I be getting a "Permission denied" error if the monmap is perfectly readable?

What is the problem that causes a permission denied error in this particular case?

[vagrant@node3 ~]$ ceph --version
ceph version 11.2.0 (f223e27eeb35991352ebc1f67423d4ebc252adb7)
Actions

Also available in: Atom PDF