ovis
ovis copied to clipboard
Need much better error message when auth module load fails.
I came across the following error:
ldmsd[67238]: Mon Jul 20 12:24:56 2020: ERROR : 'rdma' transport creation with auth 'munge' failed, error: ENOENT(2). Please check transpot configuration, authentication configuration, ZAP_LIBPATH (env var), and LD_LIBRARY_PATH.
This message is terrible. Eventually I realized that the problem was pretty simple: I hadn't built the ldms auth plugin. The resolution of this issue would have been much, much less time consuming if I was given a useful error message like:
ERROR: Unable to load authentication plugin "/usr/lib64/libldms_auth_munge.so", error: ENOENT(2)
+1 also, consider extending auth protocol so the server sends back a hint about the accepted authentication methods if auth method attempted is not configured.
Actually, we could add the supported auth to the connect_data exchanged when the connection begins.
On Thu, Jul 23, 2020 at 5:18 PM Benjamin Allan [email protected] wrote:
+1 also, consider extending auth protocol so the server sends back a hint about the accepted authentication methods if auth method attempted is not configured.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ovis-hpc/ovis/issues/332#issuecomment-663259835, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVTPXAICFWPWR6ABX6OVMDR5CZMNANCNFSM4PE77HBQ .
-- Thomas Tucker, President, Open Grid Computing, Inc.