Bugzilla – Bug 64
pbs_mom reports some cpuset creation messages as errors not debug
Last modified: 2010-06-25 08:54:11 MDT
You need to
before you can comment on or make changes to this bug.
Created an attachment (id=34) [details]
Patch to correctly log attempts to create a cpuset as debug messages.
The function im_request() in src/resmom/mom_comm.c logs the message:
pbs_mom: LOG_ERROR::im_request, about to create cpuset for job 55100.blah.
as an error rather than a debug message (as used in src/resmom/start_exec.c).
The fix is to replace:
log_err(-1, id, log_buffer);
log_ext(-1, id, log_buffer, LOG_DEBUG);
(which is copied from the same message in start_exec.c). I believe the same
bug affects trunk (and presumably 2.5.x and 3.0.0-alpha).
Patch has been applied to 2.4-fixes, trunk and 3.0-alpha.