Project

General

Profile

Actions

Bug #5972

closed

Permissions on /var/run/ceph changed causing permission error messages

Added by David Zafman over 10 years ago. Updated over 10 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

ubuntu@mira044:~$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

ubuntu@mira044:~$ ls -ld /var/run/ceph
drwxrwxrwx 2 root root 240 Aug 14 19:05 /var/run/ceph
ubuntu@mira044:~$ sudo start ceph-osd id=7
ceph-osd (ceph/7) start/running, process 6947
ubuntu@mira044:~$ ls -ld /var/run/ceph
drwxr-xr-x 2 root root 260 Aug 14 19:06 /var/run/ceph
ubuntu@mira044:~$ ceph -s
2013-08-14 19:06:14.495053 7f63114e8780 -1 asok(0x1dd8560) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-client.admin.30415.asok': (13) Permission denied
health HEALTH_WARN 385 pgs degraded; 178 pgs peering; 8 pgs recovering; 528 pgs recovery_wait; 178 pgs stuck inactive; 897 pgs stuck unclean; recovery 6092/56804 degraded (10.725%); recovering 26 o/s, 105MB/s
monmap e1: 3 mons at {0=10.214.137.120:6789/0,1=10.214.133.126:6789/0,2=10.214.137.112:6789/0}, election epoch 4, quorum 0,1,2 0,1,2
osdmap e269: 28 osds: 27 up, 27 in
pgmap v1944: 3696 pgs: 35 active, 2562 active+clean, 528 active+recovery_wait, 178 peering, 385 active+degraded, 8 active+recovering; 56576 MB data, 238 GB used, 24900 GB / 25138 GB avail; 6092/56804 degraded (10.725%); recovering 26 o/s, 105MB/s
mdsmap e2: 0/0/0 up

Actions #1

Updated by Sage Weil over 10 years ago

this is teuthology? it does the 777 on /var/run/ceph so that we can use the asok for non-root processes. normal installs don't, and users to enable the admin socket for non-root stuff need to plan accordingly..

Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF