]> 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 63170/head
authorAdam King <adking@redhat.com>
Wed, 7 May 2025 20:02:56 +0000 (16:02 -0400)
committerAdam King <adking@redhat.com>
Sun, 17 Aug 2025 16:58:40 +0000 (12:58 -0400)
commit695680876eb8af0891e3776888b6361dc8728c86
tree9dd84451ce77c356e5957be38336444e0e047314
parent6ccf8a7f478991eb94fc7a6e9e7c93c657e0efa2
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>
src/pybind/mgr/cephadm/services/nvmeof.py