operator: log ceph error in monstore

Closes: #11795
Signed-off-by: Thomas Way <thomas@6f.io>
This commit is contained in:
Thomas Way committed 2023-03-20 17:44:01 +00:00
1 parent 891fdb3f77
commit ef60650f09
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 {