[torquedev] [Bug 64] New: pbs_mom reports some cpuset creation messages as errors not debug

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Fri Jun 25 00:53:03 MDT 2010


           Summary: pbs_mom reports some cpuset creation messages as
                    errors not debug
           Product: TORQUE
           Version: 2.4.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: pbs_mom
        AssignedTo: glen.beane at gmail.com
        ReportedBy: chris at csamuel.org
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0

Created an attachment (id=34)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=34)
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).

Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the torquedev mailing list