Project

General

Profile

Actions

Bug #61589

open

16.2.13: ERROR:ceph-crash:directory /var/lib/ceph/crash/posted does not exist; please create

Added by Zakhar Kirpichenko 12 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Pacific deployed as 16.2.1 and upgraded several times to 16.2.13 with cephadm, ceph-crash throws the following error on all hosts:

ERROR:ceph-crash:directory /var/lib/ceph/crash/posted does not exist; please create
ERROR:ceph-crash:directory /var/lib/ceph/crash/posted does not exist; please create
ERROR:ceph-crash:directory /var/lib/ceph/crash/posted does not exist; please create

ceph-crash runs in docker, the container has the directory mounted: -v /var/lib/ceph/3f50555a-ae2a-11eb-a2fc-ffde44714d86/crash:/var/lib/ceph/crash:z

The mount works correctly:

/var/lib/ceph/3f50555a-ae2a-11eb-a2fc-ffde44714d86]# ls -al crash/posted/
total 8
drwx------ 2 nobody nogroup 4096 May  6  2021 .
drwx------ 3 nobody nogroup 4096 May  6  2021 ..

/var/lib/ceph/3f50555a-ae2a-11eb-a2fc-ffde44714d86]# touch crash/posted/a

/var/lib/ceph/3f50555a-ae2a-11eb-a2fc-ffde44714d86]# docker exec -it c0cd2b8022d8 bash

/]# ls -al /var/lib/ceph/crash/posted/
total 8
drwx------ 2 nobody nobody 4096 Jun  1 18:26 .
drwx------ 3 nobody nobody 4096 May  6  2021 ..
-rw-r--r-- 1 root   root      0 Jun  1 18:26 a

I.e. the directory actually exists and is correctly mounted in the crash container, yet ceph-crash says it doesn't exist. Someone in ceph-users suggested that it may be "a permissions issue arising from https://github.com/ceph/ceph/pull/48804, which was included in 16.2.13".

Actions

Also available in: Atom PDF