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:
1 parent
b859b4b3d2
commit
229bd17f79
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user