]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: don't mark nvmeof daemons without pool and group in name as stray 65594/head
authorAdam King <adking@redhat.com>
Wed, 7 May 2025 20:02:56 +0000 (16:02 -0400)
committerAdam King <adking@redhat.com>
Thu, 18 Sep 2025 23:44:57 +0000 (19:44 -0400)
commitf011669d8c9d5bb22e4f1c475420c79051997557
tree2c9fb68ba79e17ee845adb78672cafa2b1a88bfd
parent692a61635e73625129fb6e1f41dc6b04f3eba0ea
mgr/cephadm: don't mark nvmeof daemons without pool and group in name as stray

Cephadm's naming of these daemons always includes the pool and
group name associated with the nvmeof service. Nvmeof recently
has started to register with the cluster using names that
don't include that, resulting in warnings likes

```
[WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm
    stray daemon nvmeof.vm-01.hwwhfc on host vm-01 not managed by cephadm
```

where cephadm knew that nvmeof daemon as

```
[ceph: root@vm-00 /]# ceph orch ps --daemon-type nvmeof
NAME                            HOST   PORTS                   STATUS   REFRESHED  AGE  MEM USE  MEM LIM  VERSION    IMAGE ID
nvmeof.foo.group1.vm-01.hwwhfc  vm-01  *:5500,4420,8009,10008  stopped     5m ago  25m        -        -  <unknown>  <unknown>
```

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 695680876eb8af0891e3776888b6361dc8728c86)
src/pybind/mgr/cephadm/services/nvmeof.py