Opened 10 years ago

Last modified 9 years ago

#730 new defect

IZ3157: qhost fails to recognize user defined complex resources

Reported by: cbyun Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u3
Severity: Keywords: clients
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3157]

        Issue #:      3157             Platform:     All      Reporter: cbyun (cbyun)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.2u3       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qhost fails to recognize user defined complex resources
   Status whiteboard:
      Attachments:

     Issue 3157 blocks:
   Votes for issue 3157:


   Opened: Mon Oct 5 05:59:00 -0700 2009 
------------------------


I have an exclusive job running on compute-0-1 host and I am trying to identify hosts running any exclusive jobs.

$qstat -F excl
queuename                      qtype resv/used/tot. load_avg arch          states
---------------------------------------------------------------------------------
normal@compute-0-0.local       BIP   0/0/2          0.01     lx24-amd64
        hc:exclusive=1.000000
---------------------------------------------------------------------------------
normal@compute-0-1.local       BIP   0/1/2          0.03     lx24-amd64
        hc:exclusive=0.000000
    195 1.10000 sleep      ch21778      r     09/24/2009 16:02:25     1


$qconf -sc |grep excl
exclusive           excl       BOOL        EXCL    YES         YES        0        1000


However, when I executed the following command, nothing appeared.

$qhost -l excl=true


It appears that the qhost command was able to find non-exclusive hosts, though.

$qhost -l excl=false
HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
compute-0-0             lx24-amd64      4  0.00    3.9G  706.7M    4.0G  172.0K


If I’m not running any exclusive jobs on the cluster, it lists all nodes with the –l excl=true flag:

$ qhost -l excl=true

HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
compute-0-0             lx24-amd64      4  0.00    3.9G  705.5M    4.0G  172.0K
compute-0-1             lx24-amd64      4  0.02    3.9G  655.7M    4.0G  104.0K


$ qhost -l excl=false
HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
compute-0-0             lx24-amd64      4  0.00    3.9G  705.5M    4.0G  172.0K
compute-0-1             lx24-amd64      4  0.02    3.9G  655.7M    4.0G  104.0K

Change History (0)

Note: See TracTickets for help on using tickets.