Commit 5e38244a authored by Sébastien Han's avatar Sébastien Han Committed by mergify-bot
Browse files

ceph: osd update error message


Add a more meaninful message.
Signed-off-by: default avatarSébastien Han <seb@redhat.com>
(cherry picked from commit 6dff2afe)
No related merge requests found
Showing with 6 additions and 1 deletion
+6 -1
......@@ -54,7 +54,12 @@ func StartOSD(context *clusterd.Context, osdType, osdID, osdUUID, lvPath string,
// Update LVM config at runtime
if err := updateLVMConfig(context, pvcBackedOSD); err != nil {
return fmt.Errorf("sed failure, %+v", err) // fail return here as validation provided by ceph-volume
return fmt.Errorf("failed to update lvm configuration file, %+v", err) // fail return here as validation provided by ceph-volume
}
// Hide restorecon command, only when hostnetworking is enabled
if err := hideRestoreconCommand(context); err != nil {
return fmt.Errorf("failed to hide 'restorecon' command. %+v", err)
}
var volumeGroupName string
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment