From ede4b9cb1ad0a87caa3e4aa2cf33db9c87c5b957 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 12 Oct 2020 14:15:03 +0200 Subject: [PATCH] ceph: improve watcher debug message when node is not tolerable When a node is not tolerable, also output the node name so it's clear which not it is which is not tolerable. Signed-off-by: Thomas Bechtold --- pkg/operator/ceph/cluster/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/cluster/watcher.go b/pkg/operator/ceph/cluster/watcher.go index 0818c3ab9..53b5fa5ae 100644 --- a/pkg/operator/ceph/cluster/watcher.go +++ b/pkg/operator/ceph/cluster/watcher.go @@ -63,7 +63,7 @@ func (c *clientCluster) onK8sNode(object runtime.Object) bool { } if !k8sutil.NodeIsTolerable(*node, cephv1.GetOSDPlacement(cluster.Spec.Placement).Tolerations, false) { - logger.Debugf("node watcher: node since it is not tolerable for cluster %q, skipping", cluster.Namespace) + logger.Debugf("node watcher: node %q is not tolerable for cluster %q, skipping", node.Name, cluster.Namespace) return false }