From f317cfdd1c486bf7170cc4d4337f65e84e3ee933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 19 Jun 2019 15:25:37 +0200 Subject: [PATCH] ceph: osd: remove leftover info logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were used on a previous patch as a debug, let's remove them. They are not intended to be displayed. Signed-off-by: Sébastien Han --- pkg/operator/ceph/cluster/osd/osd.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/operator/ceph/cluster/osd/osd.go b/pkg/operator/ceph/cluster/osd/osd.go index 6d4dba915..441946993 100644 --- a/pkg/operator/ceph/cluster/osd/osd.go +++ b/pkg/operator/ceph/cluster/osd/osd.go @@ -200,19 +200,16 @@ func (c *Cluster) Start() error { logger.Warningf("failed to get ceph daemons versions; this likely means there are no osds yet. %+v", err) } else { // If length is one, this clearly indicates that all the osds are running the same version - logger.Infof("len of version.Osd is %d", len(versions.Osd)) // If this is the first time we are creating a cluster length will be 0 // On an initial OSD boostrap, by the time we reach this code, the OSDs haven't registered yet // Basically, this task is happening too quickly and OSD pods are not running yet. // That's not an issue since it's an initial bootstrap and not an update. if len(versions.Osd) == 1 { for v := range versions.Osd { - logger.Infof("v is %s", v) osdVersion, err := cephver.ExtractCephVersion(v) if err != nil { return fmt.Errorf("failed to extract ceph version. %+v", err) } - logger.Infof("osdVersion is: %v", osdVersion) // if the version of these OSDs is Nautilus then we run the command if osdVersion.IsAtLeastNautilus() { client.EnableNautilusOSD(c.context)