Project

General

Profile

Actions

Documentation #45623

closed

cephadm: "ceph orch apply mon" is deploying in wrong nodes

Added by Tiago Melo almost 4 years ago. Updated over 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

I add the mon label to 3 of my 4 nodes,
then when I run 'ceph orch apply mon' I expect that mon is deployed to those 3 nodes.
But when I run the command all 4 of my nodes are being deployed with mon service.
And "ceph orch ls" shows I have a 5th mon not running.

ceph version 16.0.0-1617-g8aac5d2785 (8aac5d278525c45468d753c3542a820226019dda) pacific (dev)

Before doing this test I run "ceph orch apply mon node1".
https://asciinema.org/a/332303


Related issues 2 (0 open2 closed)

Related to Orchestrator - Bug #45624: cephadm: "ceph orch apply mgr" is deploying in wrong nodesCan't reproduce

Actions
Copied to Orchestrator - Bug #45832: cephadm: "ceph orch apply mon" moves daemonsResolved

Actions
Actions #1

Updated by Sebastian Wagner almost 4 years ago

  • Related to Bug #45624: cephadm: "ceph orch apply mgr" is deploying in wrong nodes added
Actions #2

Updated by Sebastian Wagner almost 4 years ago

  • Category changed from cephadm to cephadm/scheduler
Actions #3

Updated by Sebastian Wagner almost 4 years ago

probably getting fixed by https://github.com/ceph/ceph/pull/34633

Actions #4

Updated by Jan Fajerski almost 4 years ago

  • Copied to Bug #45832: cephadm: "ceph orch apply mon" moves daemons added
Actions #5

Updated by Sebastian Wagner over 3 years ago

  • Tracker changed from Bug to Documentation

Ah, got it:

The label is a user-defined field. There is no automatic deduction of the placement. you need to set the placement to

service_type: mon
placement:
  label: "mon" 

or via

ceph orch apply mon --placement label:mon

in order to properly place the mons

Actions #6

Updated by Sebastian Wagner over 3 years ago

  • Category deleted (cephadm/scheduler)
Actions #7

Updated by Sebastian Wagner over 3 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF