]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-nvmeof-mon fixes
authorLeonid Chernin <leonidc@il.ibm.com>
Thu, 25 Apr 2024 12:01:17 +0000 (12:01 +0000)
committerAlexander Indenbaum <aindenba@redhat.com>
Thu, 20 Nov 2025 08:55:27 +0000 (10:55 +0200)
commit941fe9be8a3ebdcd47d821d5160b654bb0be4de6
tree2c9e2e1f2023c8bbbea0c5ca5c04cf63c25d1258
parentba59192c7aecdd901e1cfb001c3ad1f0f6612420
ceph-nvmeof-mon fixes

Resolves: rhbz#2277947

- add validation of the map after each  map decision

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
  (cherry picked from commit c2f883d032c4f4cabbaccd69bce53aff9f368efa)

- added availability per gw  to the exported map

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
  (cherry picked from commit dbda4f7a5220c930ae1e10ff6a92287171d5e9f4)

- src/nvmeof/NVMeofGwMonitorClient.cc: panic if the monitor flags gateway as unavailable

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
  (cherry picked from commit e5f9eeabde506501989170e26433bd3e698a429e)

- ceph-nvmeof-mon: disconnect panic nvmeof_mon_client_disc

  * extract nvmeof_mon_client_disc conf option
  * default value 100 secs

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
  (cherry picked from commit 7b469988d81ca93ce0ae0694c50172bc70be20ea)

(cherry picked from commit 041933408e62a4f3be449025a7e0438efb531a2e)
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
src/common/options/mon.yaml.in
src/mon/NVMeofGwMap.cc
src/mon/NVMeofGwMap.h
src/mon/NVMeofGwMon.cc
src/mon/NVMeofGwSerialize.h
src/mon/NVMeofGwTypes.h
src/nvmeof/NVMeofGwMonitorClient.cc
src/test/test_nvmeof_mon_encoding.cc