Description of problem:
while generating the alert NVMeoFSubsystemNamespaceLimit
try to set the Max namespace limit to 10 and created all 10 namespace to it,
when user tries for new as expected it got failed
[root@ceph-linus-01-6xm40b-node4 ~]# nvmeof namespace add -n nqn.2016-06.io.spdk:cnode2 --rbd-pool rbd -i image_test_12
Failure adding namespace to nqn.2016-06.io.spdk:cnode2:Failure adding namespace using UUID 7275d401-8cbb-45d0-ba3b-1375a092c2b4 to nqn.2016-06.io.spdk:cnode2: Invalid parameters
But it's related dashboard alert NVMeoFSubsystemNamespaceLimit didn't get fired.
Version-Release number of selected component (if applicable):
ceph version 18.2.1-167.el9cp (e8c836edb24adb7717a6c8ba1e93a07e3efede29) reef (stable)
How reproducible:
Always
Steps to Reproduce:
1.Deploy ceph cluster along with nvmeof service
2.create subsystem and set --max-namespaces limit to that subsystem
3.try to create namespace more than the limit set
4.In ceph dashboard observe the alert to fire NVMeoFSubsystemNamespaceLimit
Actual results:
NVMeoFSubsystemNamespaceLimit alert didn't fired
Expected results:
NVMeoFSubsystemNamespaceLimit alert should fire
Additional info: