Skip to content

Commit

Permalink
Improve log when agent fails to join a new Node (#6048)
Browse files Browse the repository at this point in the history
Signed-off-by: Roopesh Saravanan <[email protected]>
  • Loading branch information
roopeshsn authored Mar 11, 2024
1 parent 1fe421e commit daed98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/memberlist/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (c *Cluster) handleCreateNode(obj interface{}) {
if member, err := c.newClusterMember(node); err == nil {
_, err := c.mList.Join([]string{member})
if err != nil {
klog.ErrorS(err, "Processing Node CREATE event error, join cluster failed", "member", member)
klog.InfoS("Processing Node CREATE event error, join cluster failed, will retry later", "error", errors.Unwrap(err), "member", member)
}
} else {
klog.ErrorS(err, "Processing Node CREATE event error", "nodeName", node.Name)
Expand Down

0 comments on commit daed98b

Please sign in to comment.