Project

General

Profile

Feature #44414

bubble up errors during 'apply' phase to 'cluster warnings'

Added by Joshua Schmid 8 months ago. Updated 3 months ago.

Status:
New
Priority:
High
Category:
cephadm
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Since we moved to a fully declarative approach which handles most of the deployment in the background (k8-like) it became harder to detect failures without looking at the logs.

I'd suggest to use the `set_health_warnings` to inform the user about any failed deployment attempts(and more?)

This like:

Failed to apply mds.test_that spec ServiceSpec({'placement': PlacementSpec(count=1), 'service_type': 'mds', 'service_id': 'test_that'}): too few hosts: want 1, have set()

are currently buried deep in the logs.


Related issues

Related to Orchestrator - Bug #44270: Under certain circumstances, "ceph orch osd create" returns success even when no OSDs are created Triaged
Related to Orchestrator - Feature #45905: cephadm: errors in serve() should create a HEALTH warning Duplicate

History

#1 Updated by Sebastian Wagner 8 months ago

  • Description updated (diff)

#2 Updated by Sebastian Wagner 8 months ago

  • Related to Bug #44270: Under certain circumstances, "ceph orch osd create" returns success even when no OSDs are created added

#3 Updated by Sebastian Wagner 5 months ago

  • Related to Feature #45905: cephadm: errors in serve() should create a HEALTH warning added

#4 Updated by Sebastian Wagner 5 months ago

https://github.com/ceph/ceph/pull/35456 will go into this direction.

#5 Updated by Sebastian Wagner 3 months ago

  • Priority changed from Normal to High

#6 Updated by Sebastian Wagner 3 months ago

  • Assignee set to Joshua Schmid

#7 Updated by Joshua Schmid 3 months ago

  • Assignee changed from Joshua Schmid to Daniel Pivonka

Also available in: Atom PDF