Project

General

Profile

Bug #46819

orch: 'ceph orch apply mgr 1' prints out dry run info without --dry-run flag being set

Added by Adam King about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
orchestrator
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Sample output attempting to scale down from 3 to 1 mgr daemons. "ceph orch apply mgr 1" prints out dry run output and no mgr daemons are removed.

[ceph: root@vm-00 /]# ceph orch apply mgr 3
Scheduled mgr update...
[ceph: root@vm-00 /]# ceph orch ps
NAME                 HOST   STATUS         REFRESHED  AGE  VERSION                  IMAGE NAME                                      IMAGE ID      CONTAINER ID  
alertmanager.vm-00   vm-00  running (9s)   5s ago     8m   0.20.0                   docker.io/prom/alertmanager:v0.20.0             0881eb8f169f  251c5ea5c209  
crash.vm-00          vm-00  running (8m)   5s ago     8m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  ccbff3d65bf1  
crash.vm-01          vm-01  running (6m)   4s ago     6m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  10c1f3e0f442  
crash.vm-02          vm-02  running (7m)   5s ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  13ac5fb7ff23  
crash.vm-03          vm-03  running (6m)   5s ago     6m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  c0effa8f6e48  
crash.vm-04          vm-04  running (4m)   5s ago     4m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  14ad04236815  
grafana.vm-01        vm-01  running (3m)   4s ago     5m   6.6.2                    docker.io/ceph/ceph-grafana:6.6.2               a0dce381714a  06ede6a45203  
mgr.vm-00.krkchw     vm-00  running (9m)   5s ago     9m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  733a9b12f767  
mgr.vm-01.qmamuy     vm-01  running (13s)  4s ago     13s  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  c31eca952b0a  
mgr.vm-03.tktkiq     vm-03  running (5m)   5s ago     5m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  6d7078d3682f  
mon.vm-00            vm-00  running (9m)   5s ago     9m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  701582e8e3eb  
mon.vm-01            vm-01  running (4m)   4s ago     4m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  96f0dac94cda  
mon.vm-02            vm-02  running (4m)   5s ago     4m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  0cd6580380ff  
mon.vm-03            vm-03  running (4m)   5s ago     4m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  cb3332896711  
mon.vm-04            vm-04  running (4m)   5s ago     4m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  333da6241bab  
node-exporter.vm-00  vm-00  running (5m)   5s ago     5m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  d97d974d1fcc  
node-exporter.vm-01  vm-01  running (5m)   4s ago     5m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  85e26a048e7b  
node-exporter.vm-02  vm-02  running (5m)   5s ago     5m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  ea95c7adefa9  
node-exporter.vm-03  vm-03  running (5m)   5s ago     5m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  b7cb8e1c3963  
node-exporter.vm-04  vm-04  running (5m)   5s ago     5m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  3ea4229e10af  
prometheus.vm-02     vm-02  running (7s)   5s ago     5m   2.18.1                   docker.io/prom/prometheus:v2.18.1               de242295e225  f556b45a2983  
[ceph: root@vm-00 /]# ceph orch apply mgr 1
WARNING! Dry-Runs are snapshots of a certain point in time and are bound 
to the current inventory setup. If any on these conditions changes, the 
preview will be invalid. Please make sure to have a minimal 
timeframe between planning and applying the specs.
####################
SERVICESPEC PREVIEWS
####################
+---------+------+--------+-------------+
|SERVICE  |NAME  |ADD_TO  |REMOVE_FROM  |
+---------+------+--------+-------------+
|mgr      |mgr   |        |vm-01        |
+---------+------+--------+-------------+
################
OSDSPEC PREVIEWS
################
+---------+------+------+------+----+-----+
|SERVICE  |NAME  |HOST  |DATA  |DB  |WAL  |
+---------+------+------+------+----+-----+
+---------+------+------+------+----+-----+
[ceph: root@vm-00 /]# ceph orch ps
NAME                 HOST   STATUS         REFRESHED  AGE  VERSION                  IMAGE NAME                                      IMAGE ID      CONTAINER ID  
alertmanager.vm-00   vm-00  running (3m)   3m ago     11m  0.20.0                   docker.io/prom/alertmanager:v0.20.0             0881eb8f169f  251c5ea5c209  
crash.vm-00          vm-00  running (11m)  3m ago     11m  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  ccbff3d65bf1  
crash.vm-01          vm-01  running (10m)  3m ago     10m  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  10c1f3e0f442  
crash.vm-02          vm-02  running (11m)  3m ago     11m  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  13ac5fb7ff23  
crash.vm-03          vm-03  running (9m)   3m ago     9m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  c0effa8f6e48  
crash.vm-04          vm-04  running (7m)   3m ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  14ad04236815  
grafana.vm-01        vm-01  running (7m)   3m ago     8m   6.6.2                    docker.io/ceph/ceph-grafana:6.6.2               a0dce381714a  06ede6a45203  
mgr.vm-00.krkchw     vm-00  running (12m)  3m ago     12m  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  733a9b12f767  
mgr.vm-01.qmamuy     vm-01  running (3m)   3m ago     3m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  c31eca952b0a  
mgr.vm-03.tktkiq     vm-03  running (8m)   3m ago     8m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  6d7078d3682f  
mon.vm-00            vm-00  running (12m)  3m ago     12m  16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  701582e8e3eb  
mon.vm-01            vm-01  running (7m)   3m ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  96f0dac94cda  
mon.vm-02            vm-02  running (7m)   3m ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  0cd6580380ff  
mon.vm-03            vm-03  running (7m)   3m ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  cb3332896711  
mon.vm-04            vm-04  running (7m)   3m ago     7m   16.0.0-4062-g7fa354e30d  docker.io/ceph/daemon-base:latest-master-devel  bd710b8ffbdf  333da6241bab  
node-exporter.vm-00  vm-00  running (8m)   3m ago     8m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  d97d974d1fcc  
node-exporter.vm-01  vm-01  running (8m)   3m ago     8m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  85e26a048e7b  
node-exporter.vm-02  vm-02  running (8m)   3m ago     8m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  ea95c7adefa9  
node-exporter.vm-03  vm-03  running (8m)   3m ago     8m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  b7cb8e1c3963  
node-exporter.vm-04  vm-04  running (8m)   3m ago     8m   0.18.1                   docker.io/prom/node-exporter:v0.18.1            e5a616e4b9cf  3ea4229e10af  
prometheus.vm-02     vm-02  running (3m)   3m ago     8m   2.18.1                   docker.io/prom/prometheus:v2.18.1               de242295e225  f556b45a2983  

History

#1 Updated by Daniel Pivonka about 2 months ago

  • Assignee set to Daniel Pivonka

#2 Updated by Daniel Pivonka about 2 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 36441

#3 Updated by Daniel Pivonka about 2 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF