Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 752322 - Suspended jobs should be displayed in condor_q summary line
Suspended jobs should be displayed in condor_q summary line
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity unspecified
: 2.1.1
: ---
Assigned To: Timothy St. Clair
Martin Kudlej
:
Depends On:
Blocks: 756255 765607
  Show dependency treegraph
 
Reported: 2011-11-09 02:32 EST by Daniel Horák
Modified: 2012-02-06 13:17 EST (History)
4 users (show)

See Also:
Fixed In Version: condor-7.6.5-0.9
Doc Type: Bug Fix
Doc Text:
C: Run condor_q via the command line when there are suspended jobs C: There is no summary information for suspended jobs F: Add summary information for all job states R: condor_q will now display summary information for all job states
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-06 13:17:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0100 normal SHIPPED_LIVE Moderate: MRG Grid security, bug fix, and enhancement update 2012-02-06 18:15:47 EST

  None (edit)
Description Daniel Horák 2011-11-09 02:32:15 EST
Description of problem:
Command condor_q counts suspended jobs as running (in summary line). 

Version-Release number of selected component (if applicable):
condor-7.6.5-0.6

How reproducible:
100%

Steps to Reproduce:
1. Submit several jobs
2. Suspend some of then.
3. run condor_q and look to last line. 
  
Actual results:
There is no item "suspended".
  5 jobs; 4 idle, 1 running, 0 held

Expected results:
  5 jobs; 4 idle, 0 running, 0 held, 1 suspended

Additional info:
Bug about suspending and continuing jobs via commands: bug 635012.
Comment 1 Matthew Farrellee 2011-11-21 19:26:58 EST
Bonus - why aren't removed or completed jobs displayed?
Comment 2 Timothy St. Clair 2011-11-22 13:07:19 EST
new output will look something like *this: 

 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               
  49.1   tstclair       11/22 12:03   0+00:00:00 X  0   97.7 sleep 600         
  49.2   tstclair       11/22 12:03   0+00:02:36 S  0   97.7 sleep 600         
  49.3   tstclair       11/22 12:03   0+00:02:36 S  0   97.7 sleep 600         
  49.4   tstclair       11/22 12:03   0+00:02:35 S  0   4.2  sleep 600         
  49.5   tstclair       11/22 12:03   0+00:00:53 S  0   4.2  sleep 600         
  49.6   tstclair       11/22 12:03   0+00:00:00 I  0   0.0  sleep 600         
  49.7   tstclair       11/22 12:03   0+00:00:00 I  0   0.0  sleep 600         
  49.8   tstclair       11/22 12:03   0+00:00:00 I  0   0.0  sleep 600         
  49.9   tstclair       11/22 12:03   0+00:00:00 I  0   0.0  sleep 600         

9 jobs; 0 completed, 1 removed, 4 idle, 0 running, 0 held, 4 suspended
Comment 5 Matthew Farrellee 2011-11-22 16:16:59 EST
(In reply to comment #2)
> new output will look something like *this: 
[snip]
> 9 jobs; 0 completed, 1 removed, 4 idle, 0 running, 0 held, 4 suspended

One suggestion, even though no one should be doing it, consider putting the new fields after idle/running/held for the poor, brave souls who are parsing condor_q output.
Comment 7 Timothy St. Clair 2011-12-14 12:50:55 EST
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: Run condor_q via the command line when there are suspended jobs
C: There is no summary information for suspended jobs
F: Add summary information for all job states
R: condor_q will now display summary information for all job states
Comment 9 Martin Kudlej 2012-01-06 09:52:32 EST
Tested on RHEL 5.7/6.2 x i386/x86_64 with condor-7.6.5-0.11 and it works. -->VERIFIED
Comment 10 errata-xmlrpc 2012-02-06 13:17:57 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0100.html

Note You need to log in before you can comment on or make changes to this bug.