Project

General

Profile

Actions

Bug #46745

closed
MN

cephadm does not set systemd dependencies when using docker

Bug #46745: cephadm does not set systemd dependencies when using docker

Added by Michal Nasiadka over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
cephadm
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-1409-gd4292afebf
Released In:
v17.2.0~2838
Upkeep Timestamp:
2025-07-14T19:35:17+00:00

Description

When using docker - systemd units produced by cephadm do not have any dependencies to docker.service
The effect is that when a user issues docker.service restart - ceph systemd services are not restarted (and are in running state, although they are dead in docker ps -a output)


Related issues 1 (0 open — 1 closed)

Has duplicate Orchestrator - Bug #48891: cephadm does not set required dependencies in systemdDuplicate

Actions

MN Updated by Michal Nasiadka over 6 years ago Actions #1

Putting following in systemd unit file solves the issue

After=network-online.target local-fs.target time-sync.target docker.service
Requires=docker.service

(the same is done by ceph-ansible - https://github.com/ceph/ceph-ansible/blob/a6209bd957e40c9c42370eab73ae99e73d53c8a4/roles/ceph-osd/templates/ceph-osd.service.j2#L5)

SW Updated by Sebastian Wagner about 6 years ago Actions #2

  • Priority changed from Normal to High

SW Updated by Sebastian Wagner almost 6 years ago Actions #3

  • Has duplicate Bug #48891: cephadm does not set required dependencies in systemd added

SW Updated by Sage Weil almost 6 years ago Actions #4

  • Status changed from New to Fix Under Review
  • Pull request ID set to 39770

SW Updated by Sebastian Wagner almost 6 years ago Actions #5

  • Status changed from Fix Under Review to Pending Backport

SW Updated by Sage Weil over 5 years ago Actions #6

  • Status changed from Pending Backport to Resolved
  • Backport set to pacific

LD Updated by Loïc Dachary over 5 years ago Actions #7

  • Status changed from Resolved to Pending Backport
  • Backport changed from pacific to octopus

LD Updated by Loïc Dachary over 5 years ago Actions #8

  • Status changed from Pending Backport to Resolved
  • Backport changed from octopus to pacific, octopus

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Merge Commit set to d4292afebffe28648a2d27cbf1597b82a77c8593
  • Fixed In set to v17.0.0-1409-gd4292afebf
  • Released In set to v17.2.0~2838
  • Upkeep Timestamp set to 2025-07-14T19:35:17+00:00
Actions

Also available in: PDF Atom