Skip to content

Commit

Permalink
mon: do not show nvmeof in 'ceph versions' output
Browse files Browse the repository at this point in the history
NVMeoF gateway version is independent of ceph version
so 'ceph version' shows wrong nvmeof version in output
(i.e. instead of gateway version, it shows Ceph version).
Hence, remove nvmeof in 'ceph versions' output.

To check for gateway version, use 'gw info' command.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
(cherry picked from commit 73c935d)
  • Loading branch information
VallariAg committed Jan 23, 2025
1 parent 3f1e96e commit 8e8aab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mon/Monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4011,7 +4011,7 @@ void Monitor::handle_command(MonOpRequestRef op)

for (auto& p : mgrstatmon()->get_service_map().services) {
auto &service = p.first;
if (ServiceMap::is_normal_ceph_entity(service)) {
if (ServiceMap::is_normal_ceph_entity(service) || service == "nvmeof") {
continue;
}
f->open_object_section(service.c_str());
Expand Down

0 comments on commit 8e8aab9

Please sign in to comment.