Project

General

Profile

Bug #44792

cephadm: make `cephadm shell` independent from /etc/ceph/ceph.conf

Added by Sebastian Wagner 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

/etc/ceph/ceph.conf is often use by tools in the ceph ecosystem. We should provide a mechanism to keep this up to date. (e.g. adding new mos)

See


Related issues

Copied to Orchestrator - Feature #45378: cephadm: manage /etc/ceph/ceph.conf Resolved

History

#1 Updated by Sebastian Wagner 7 months ago

  • Tracker changed from Feature to Bug
  • Regression set to No
  • Severity set to 3 - minor

This is a usability bug:

Workaround might be to infer the ceph.conf as well?

[root@node02 ~]# ./cephadm shell -- ceph version
INFO:cephadm:Inferring fsid 5f219642-849a-11ea-9f47-00155d642604
INFO:cephadm:Using recent ceph image docker.io/ceph/ceph:v15
Error initializing cluster client: ObjectNotFound('RADOS object not found (error calling conf_read_file)',)

#2 Updated by Sebastian Wagner 7 months ago

  • Description updated (diff)

#3 Updated by Ricardo Marques 7 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Ricardo Marques
  • Pull request ID set to 34728

#4 Updated by Ricardo Marques 7 months ago

  • Target version set to v16.0.0
  • Backport set to octopus

#5 Updated by Ricardo Marques 7 months ago

Sebastian Wagner wrote:

This is a usability bug:

Workaround might be to infer the ceph.conf as well?

[...]

Workaround PR: https://github.com/ceph/ceph/pull/34728

#6 Updated by Ricardo Marques 7 months ago

  • Pull request ID deleted (34728)

#7 Updated by Sebastian Wagner 7 months ago

#8 Updated by Sebastian Wagner 7 months ago

  • Subject changed from cephadm: manage /etc/ceph/ceph.conf to cephadm: make `cephadm shell` independent from /etc/ceph/ceph.conf
  • Target version deleted (v16.0.0)

#9 Updated by Sebastian Wagner 7 months ago

  • Pull request ID set to 34773

#10 Updated by Sebastian Wagner 7 months ago

  • Status changed from Fix Under Review to Pending Backport

#11 Updated by Sebastian Wagner 6 months ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.3

Also available in: Atom PDF