ceph: osd: remove leftover info logs

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 <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2019-07-17 00:37:43 +02:00
1 parent 32a9435c29
commit f317cfdd1c
1 file changed
-3
-3
View File
@@ -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)