Project

General

Profile

Actions

Support #47177

closed

can not remove orch service (mgr) - Failed to remove service. <mgr.cph02> was not found.

Added by Mario Ohnewald over 3 years ago. Updated over 3 years ago.

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

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

root@ceph02:~# ceph orch ps
NAME                      HOST    STATUS          REFRESHED  AGE VERSION    IMAGE NAME                   IMAGE ID      CONTAINER ID
mgr.ceph01                ceph01  running (18m)   6s ago     4w  15.2.4     docker.io/ceph/ceph:v15.2.4  54fa7e66fb03  7deebe09f6fd
(...)
mgr.cph02                 ceph02  error           3s ago     4w  <unknown>  docker.io/ceph/ceph:v15.2.4  <unknown>     <unknown>

I must have been drunk when i added "mgr.cph02".

Now i am sober again, but i get:

root@ceph02:~# ceph orch rm mgr.cph02 --force
Failed to remove service. <mgr.cph02> was not found.

Actions #1

Updated by Sebastian Wagner over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Wagner over 3 years ago

  • Description updated (diff)

Please have a look at

ceph orch ls --service_type mgr --export > mgr.yaml

Then, change the placement to make sure you leave out ceph02

vi mgr.yaml
ceph orch apply -i mgr.yaml
Actions #3

Updated by Sebastian Wagner over 3 years ago

  • Tracker changed from Bug to Support
Actions #4

Updated by Mario Ohnewald over 3 years ago

root@ceph02:~# ceph orch ls --service_type mgr --export
placement:
  hosts:
  - hostname: ceph01
    name: ''
    network: ''
service_id: ceph01
service_name: mgr.ceph01
service_type: mgr
unmanaged: true

there is no "mgr.cph02" i can remove :-/

Actions #5

Updated by Mario Ohnewald over 3 years ago

This worked at the end:

ceph orch daemon rm mgr.cph02 --force

Ticket can be closed.

Actions #6

Updated by Sebastian Wagner over 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF