]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-nvmeof-mon fixes
authorAlexander Indenbaum <aindenba@redhat.com>
Thu, 9 May 2024 11:46:31 +0000 (11:46 +0000)
committerAlexander Indenbaum <aindenba@redhat.com>
Thu, 20 Nov 2025 08:55:27 +0000 (10:55 +0200)
commit5319ed2e868ae60588443c317870ecc525f81295
tree3e94456c87841895b33fb4dacefd0f6ec5c68445
parentc41b97eb538b7d1e703f74c5faf9ce0458168b21
ceph-nvmeof-mon fixes

Resolves: rhbz#2279862

- ceph-nvmeof-mon: nvme-gw create/delete
  * move creation to the `daemon_check_post` method to prevent zombie creation.
    this change aligns with the dashboard logic, which uses the same callback.
  * implement `purge` method to ensure that no zombie gateways are left behind
    once the service is removed.
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
- nvmeof service spec: enable_monitor_client by default
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
- fix gw stuck in  ana-state GW_WAIT_FAILBACK_PREPARED
Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
(cherry picked from commit b0c764b6e22fbb51f59e469d9dd99895c152f73e)
src/mon/NVMeofGwMap.cc
src/pybind/mgr/cephadm/services/nvmeof.py