noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

NSFS on syscall error should log the operation info and not just the error code (even if debug level is low)

Open guymguym opened this issue 9 months ago • 3 comments

Environment info

  • NooBaa Version: 5.15.3
  • Platform: rhel

Actual behavior

  1. on syscall error we only see the err code unless we turn on higher debug log -
May 21 16:19:48 host node[2941584]: May-21 16:19:48.654 [nsfs/2941584] [ERROR] core.sdk.namespace_fs::  [Error: Operation not permitted] { code: 'EPERM' }

Expected behavior

  1. Should log the operation info with the error code.

Steps to reproduce

  1. Change fs permissions to cause EPERM.

guymguym avatar May 22 '24 05:05 guymguym