From 57585ba151b8a086f7239eccc5ef2cd17573ba96 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Wed, 21 May 2025 15:21:25 -0600 Subject: [PATCH] osd: debug log for long image names in label Labels cannot be longer than 64 characters, and if the image name is too long we log a verbose message about the label that we can just log now as debug level. Signed-off-by: Travis Nielsen --- pkg/operator/ceph/cluster/osd/deviceSet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/cluster/osd/deviceSet.go b/pkg/operator/ceph/cluster/osd/deviceSet.go index 5c53d4b73..5f22482df 100644 --- a/pkg/operator/ceph/cluster/osd/deviceSet.go +++ b/pkg/operator/ceph/cluster/osd/deviceSet.go @@ -331,7 +331,7 @@ func createValidImageVersionLabel(image string) string { cephImageVersion := re.ReplaceAllString(image, "_") if validation.IsValidLabelValue(cephImageVersion) != nil { - logger.Infof("image %q contains invalid character, skipping adding label", image) + logger.Debugf("image %q contains invalid character, skipping adding label", image) cephImageVersion = "" } return cephImageVersion