Project

General

Profile

Actions

Feature #47274

open

cephadm: make the container_image setting available to the cephadm binary independent of any deployed daemons (maybe ceph.conf?)

Added by Sebastian Wagner over 3 years ago. Updated about 2 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The problem is:

If someone calls

cephadm shell -- ceph -s

and no daemon was ever deployed on this host, cephadm will pull the default image which is hardcoded
in cephadm, even if this was overwritten by in the config store.

In order to not depend on downstream tools to pre-pull the image on every host,
mgr/cephadm should add

[client.cephadm]
container_image = registry/image:tag

to the host's /etc/ceph/ceph.conf and also letting cephadm use the container_image as written to the
ceph.conf. Thus making sure we pull the correct image.

wdyt?


Related issues 3 (1 open2 closed)

Related to Orchestrator - Bug #46561: cephadm: monitoring services adoption doesn't honor the container imageNew

Actions
Related to Orchestrator - Feature #45111: cephadm: choose distribution specific images based on etc/os-releaesRejected

Actions
Related to Orchestrator - Bug #50502: cephadm pull doesn't get latest imageClosed

Actions
Actions

Also available in: Atom PDF