Project

General

Profile

Actions

Bug #49013

closed

cephadm: Service definition causes some container startups to fail

Added by Gunther Heinrich over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
cephadm
Target version:
% Done:

0%

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

Description

In Bug #48870 I described the problem of failing containers during startup after I updated the cluster from 15.2.5 to 15.2.8.

After some additional checks I found out that in one of those updates the service definition in /etc/systemd/system for Ceph (for my cluster it's named ceph-68317c90-b44f-11ea-a0c4-d1443a31407c@.service) the following lines were added to the section [Service]:

ExecStartPre=-/bin/rm -f /%t/%n-pid /%t/%n-cid
ExecStopPost=-/bin/rm -f /%t/%n-pid /%t/%n-cid
Type=forking
PIDFile=/%t/%n-pid

After I commented out these lines, the containers started regularly again after a reboot.


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #48870: cephadm: Several services in error status after upgrade to 15.2.8: unrecognized arguments: --filter-for-batchResolvedSebastian Wagner

Actions
Actions

Also available in: Atom PDF