[torquedev] [Bug 120] New: pbsnodes not honoring options

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Apr 11 11:12:10 MDT 2011


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=120

           Summary: pbsnodes not honoring options
           Product: TORQUE
           Version: 2.5.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: clients
        AssignedTo: knielson at adaptivecomputing.com
        ReportedBy: bdandrus at nps.edu
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0


>From the pbsnodes man page:

       -l             List  node  names  and  their  state.  If no state is
specified, only nodes in the DOWN, OFFLINE, or UNKNOWN states are
                      listed.  Specifying a state string acts as an output
filter.   Valid  state  strings  are  "free",  "offline",  "down",
                      "reserve", "job-exclusive", "job-sharing", "busy",
"time-shared", or "state-unknown".

But:

[root at hamming2 log]# pbsnodes -l reserve
pbsnodes: Unknown node  MSG=cannot locate specified node
[root at hamming2 log]# pbsnodes -l state-unknown
pbsnodes: Unknown node  MSG=cannot locate specified node
[root at hamming2 log]# pbsnodes -l job-exclusive
pbsnodes: Unknown node  MSG=cannot locate specified node
[root at hamming2 log]# pbsnodes -l job-sharing
pbsnodes: Unknown node  MSG=cannot locate specified node
[root at hamming2 log]# pbsnodes -l time-shared
pbsnodes: Unknown node  MSG=cannot locate specified node

Seems to work for "free",  "offline",  "down", "busy"

I also see why, from pbsnodes.c:

const char *NState[] =
  {
  "NONE",
  "active",
  "all",
  "busy",
  "down",
  "free",
  "offline",
  "unknown",
  "up",
  NULL
  };

Maybe add the missing or update man page?

-- 
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