Project

General

Profile

Actions

Feature #54135

closed

cephadm controlled upgrade

Added by Vikhyat Umrao about 2 years ago. Updated over 1 year ago.

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

0%

Source:
Tags:
Backport:
quincy, pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, cephadm does not support controlled upgrades/staggered upgrade / finer-grained commands.

Ability to upgrade one daemon, one host, one rack, ...
one type of daemon, rather than one monolithic process. This will make managing an upgrade in a large cluster much easier.

For example in ceph-ansible we have --limit and --tag options for controlled upgrade where we can upgrade each type of daemon at once and one host/rack at a time.

Trello board: https://trello.com/c/96V9HEnl/752-cephadm-staggered-upgrade-finer-grained-commands

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2016936

Actions #1

Updated by Vikhyat Umrao about 2 years ago

  • Assignee set to Adam King
Actions #2

Updated by Vikhyat Umrao about 2 years ago

  • Category set to cephadm
Actions #3

Updated by Vikhyat Umrao about 2 years ago

  • Description updated (diff)
Actions #4

Updated by Adam King about 2 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 45786
Actions #5

Updated by Adam King almost 2 years ago

  • Status changed from In Progress to Resolved
  • Backport set to quincy, pacific

controlled upgrade args should be available in 16.2.10 and 17.2.1

Actions #6

Updated by Patrick Donnelly over 1 year ago

Adam King wrote:

controlled upgrade args should be available in 16.2.10 and 17.2.1

Adam, this appears to not be in v16.2.10:

pdonnell@aglarond ~/ceph$ git log -1 v16.2.10..6b61f35b73fe17fb4cb36b22838bdc71bf22a6d6
commit 6b61f35b73fe17fb4cb36b22838bdc71bf22a6d6
Author: Adam King <adking@redhat.com>
Date:   Fri Apr 1 09:41:01 2022 -0400

    mgr/cephadm: make use of new upgrade control parameters

    Fixes: https://tracker.ceph.com/issues/54135

    Signed-off-by: Adam King <adking@redhat.com>
    (cherry picked from commit c1f3497b43bff6f7640161807dce01dc089ce405)

    Conflicts:
            src/pybind/mgr/cephadm/upgrade.py
pdonnell@aglarond ~/ceph$ git log -1 upstream/heads/pacific..6b61f35b73fe17fb4cb36b22838bdc71bf22a6d6
pdonnell@aglarond ~/ceph$ 
Actions

Also available in: Atom PDF