operator: log ceph error in monstore

Closes: #11795
Signed-off-by: Thomas Way <thomas@6f.io>
(cherry picked from commit ef60650f09)
This commit is contained in:
Thomas Way authored and Mergify committed 2023-03-20 18:25:24 +00:00
1 parent b859b4b3d2
commit 229bd17f79
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ func (m *MonStore) SetAll(clientName string, settings map[string]string) error {
out, err := cephCmd.RunWithTimeout(exec.CephCommandsTimeout)
if err != nil {
logger.Errorf("failed to run command ceph %s", args)
logger.Errorf("failed to run command ceph %s: %v", args, err)
fileContent, err := os.ReadFile(assimilateConfPath.Name() + ".out")
if err != nil {