Hi,

I noticed that the 'ceph cephadm config-check ls' output doesn't match the 'ceph cephadm config-check status' output, at least it's not what I would have expected. For example, the "STATUS" of all the checks is enabled according to the ls output:


ceph cephadm config-check ls
NAME             HEALTHCHECK                      STATUS   DESCRIPTION
kernel_security CEPHADM_CHECK_KERNEL_LSM enabled checks SELINUX/Apparmor profiles are consistent across cluster hosts os_subscription CEPHADM_CHECK_SUBSCRIPTION enabled checks subscription states are consistent for all cluster hosts public_network CEPHADM_CHECK_PUBLIC_MEMBERSHIP enabled check that all hosts have a NIC on the Ceph public_network osd_mtu_size CEPHADM_CHECK_MTU enabled check that OSD hosts share a common MTU setting osd_linkspeed CEPHADM_CHECK_LINKSPEED enabled check that OSD hosts share a common linkspeed network_missing CEPHADM_CHECK_NETWORK_MISSING enabled checks that the cluster/public networks defined exist on the Ceph hosts ceph_release CEPHADM_CHECK_CEPH_RELEASE enabled check for Ceph version consistency - ceph daemons should be on the same release (unless upgrade is active) kernel_version CEPHADM_CHECK_KERNEL_VERSION enabled checks that the MAJ.MIN of the kernel on Ceph hosts is consistent


But 'config-check status' shows disabled:

ceph cephadm config-check status
Disabled


I assume that the config-checks would only become active after enabling it:

ceph config set mgr mgr/cephadm/config_checks_enabled true

ceph cephadm config-check status
Enabled


Is that assumption correct? I would expect the ls output not to show the STATUS "enabled" unless "config_checks_enabled" is actually enabled.

Thanks,
Eugen
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to