diff --git a/pkg/daemon/ceph/client/upgrade.go b/pkg/daemon/ceph/client/upgrade.go index 17f8c5d57d7d..5d7534386f2b 100644 --- a/pkg/daemon/ceph/client/upgrade.go +++ b/pkg/daemon/ceph/client/upgrade.go @@ -46,7 +46,7 @@ func getCephMonVersionString(context *clusterd.Context, clusterInfo *ClusterInfo args := []string{"version"} buf, err := NewCephCommand(context, clusterInfo, args).Run() if err != nil { - return "", errors.Wrap(err, "failed to run 'ceph version'") + return "", errors.Wrapf(err, "failed to run 'ceph version'. %s", string(buf)) } output := string(buf) logger.Debug(output)