forked from rook/rook
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 <tbechtold@suse.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user