Project

General

Profile

Actions

Cleanup #61408

closed

Improve reliability and organization around cephadm deployment

Added by John Mulligan 11 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

The cephadm binary provides a `deploy` command that is used to create services on nodes. This command uses a mix of various command line arguments that take single input values, command line arguments that take JSON-encoded strings, and json-encoded input on stdin.

This mish-mash of inputs makes fixes and extensions to cephadm more difficult. In addition, the current method of passing extra CLI options for entrypoint arguments and container engine arguments will fail if the argument should have spaces in it. The plan is to add a new `cephadm _orch deploy` command that takes the vast majority of configuration parameters as a single JSON encoded object on the stdin (or as a specific input file).

The `_orch` term is a new special "namespace" in cephadm that serves as a boundary between commands that can / should be run by users directly and commands that are meant primarily to be called by the orchestrator module and use by humans/scripts should be very rare. These commands are permitted to be tightly coupled with the needs of the orchestrator module.

This plan was discussed in the ceph orchestrators weekly meeting on May 16, 2023.


Related issues 1 (0 open1 closed)

Copied to Orchestrator - Backport #61806: reef: Improve reliability and organization around cephadm deploymentResolvedAdam KingActions
Actions #1

Updated by Redouane Kachach Elhichou 10 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 51718
Actions #2

Updated by Redouane Kachach Elhichou 10 months ago

  • Status changed from Fix Under Review to In Progress
  • Pull request ID deleted (51718)
Actions #3

Updated by Adam King 10 months ago

  • Status changed from In Progress to Pending Backport
  • Backport set to reef
Actions #4

Updated by Backport Bot 10 months ago

  • Copied to Backport #61806: reef: Improve reliability and organization around cephadm deployment added
Actions #5

Updated by Backport Bot 10 months ago

  • Tags set to backport_processed
Actions #6

Updated by Redouane Kachach Elhichou 10 months ago

  • Pull request ID set to 51738
Actions #7

Updated by Redouane Kachach Elhichou about 2 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF