Project

General

Profile

Actions

Feature #44414

closed

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

Added by Joshua Schmid about 4 years ago. Updated over 2 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
pacific
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 3 (0 open3 closed)

Related to Orchestrator - Bug #44270: Under certain circumstances, "ceph orch apply" returns success even when no OSDs are createdCan't reproduce

Actions
Related to Orchestrator - Feature #45905: cephadm: errors in serve() should create a HEALTH warningDuplicate

Actions
Related to Orchestrator - Bug #48939: Orchestrator removes mon daemon from wrong host when removing host from clusterCan't reproduce

Actions
Actions #1

Updated by Sebastian Wagner about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Wagner about 4 years ago

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

Updated by Sebastian Wagner almost 4 years ago

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

Updated by Sebastian Wagner almost 4 years ago

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

Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Priority changed from Normal to High
Actions #6

Updated by Sebastian Wagner almost 4 years ago

  • Assignee set to Joshua Schmid
Actions #7

Updated by Joshua Schmid almost 4 years ago

  • Assignee changed from Joshua Schmid to Daniel Pivonka
Actions #8

Updated by Sebastian Wagner over 3 years ago

  • Related to Bug #48939: Orchestrator removes mon daemon from wrong host when removing host from cluster added
Actions #9

Updated by Sebastian Wagner about 3 years ago

  • Assignee deleted (Daniel Pivonka)
Actions #10

Updated by Sebastian Wagner almost 3 years ago

  • Priority changed from High to Normal
Actions #11

Updated by Melissa Li almost 3 years ago

  • Assignee set to Melissa Li
Actions #12

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42565
Actions #13

Updated by Daniel Pivonka over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific
  • Pull request ID changed from 42565 to 43376
Actions #14

Updated by Sebastian Wagner over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF