Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 768319 - provide information of suspended jobs
provide information of suspended jobs
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-aviary (Show other bugs)
2.1
Unspecified Unspecified
medium Severity medium
: 2.3
: ---
Assigned To: Pete MacKinnon
Martin Kudlej
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-16 05:52 EST by Martin Kudlej
Modified: 2013-03-06 13:40 EST (History)
2 users (show)

See Also:
Fixed In Version: condor-7.8.2-0.1
Doc Type: Bug Fix
Doc Text:
Cause: Invoke the Aviary query operation getSubmissionSummary on a submission with suspended jobs. Consequence: There are no totals listed for suspended jobs in the summary. Fix: Aviary XSD updated and implementation code added to include submission totals in summary. Result: Submission totals are now listed in submission summary.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-06 13:40:24 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-2013:0564 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 18:37:09 EST

  None (edit)
Description Martin Kudlej 2011-12-16 05:52:18 EST
Description of problem:
There is information about suspended jobs in condor_q output but it is not in aviary in list of submissions.

$./submissions.py --u=http://_X_:9091/services/query/getSubmissionSummary --name="_X_#159"
[(SubmissionSummary){
   id = 
      (SubmissionID){
         name = "_X_#159"
         owner = "condor"
      }
   status = 
      (Status){
         code = "OK"
      }
   qdate = 1321867162
   completed = 0
   held = 0
   idle = 0
   removed = 0
   running = 0
 }]

$ condor_q 159

-- Submitter: _X_ : <_x_:35875> : _X_
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               
 159.0   condor         11/21 04:19   3+19:40:51 S  0   9.8  wait.bat 1000000

There is now just correct information in getJobStatus output.
$ ./jobquery.py --u=http://_X_:9091/services/query/ --cmd=getJobStatus --cproc=159.0
invoking http://_X_:9091/services/query/getJobStatus for job 159.0
[(JobStatus){
   id = 
      (JobID){
         job = "159.0"
         pool = "_X_"
         scheduler = "_X_"
      }
   status = 
      (Status){
         code = "OK"
      }
   job_status = "SUSPENDED"
 }]


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

How reproducible:
100%

Steps to Reproduce:
1. install and setup condor and aviary
2. run command above
  
Actual results:
There is no information about suspended jobs in list of submissions.

Expected results:
There is information about suspended jobs in all possible outputs of aviary.
Comment 2 Pete MacKinnon 2012-05-03 09:56:05 EDT
    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:
Cause: Invoke the Aviary query operation getSubmissionSummary on a submission with suspended jobs.
Consequence: There are no totals listed for suspended jobs in the summary.
Fix: Aviary XSD updated and implementation code added to include submission totals in summary.
Result: Submission totals are now listed in submission summary.
Comment 5 Martin Kudlej 2012-12-17 09:55:57 EST
Tested on RHEL 5.9/6.4 x x86_64/i386 with 
condor-7.8.7-0.6.el6_3.x86_64
condor-aviary-7.8.7-0.6.el6_3.x86_64
condor-classads-7.8.7-0.6.el6_3.x86_64
condor-wallaby-base-db-1.25-1.el6_3.noarch
condor-wallaby-client-5.0.4-1.el6_3.noarch
condor-wallaby-tools-5.0.4-1.el6_3.noarch
python-condorutils-1.5-6.el6.noarch
python-qpid-0.18-4.el6.noarch
python-qpid-qmf-0.18-13.el6.x86_64
python-wallabyclient-5.0.4-1.el6_3.noarch
qpid-cpp-client-0.18-13.el6.x86_64
qpid-cpp-server-0.18-13.el6.x86_64
qpid-qmf-0.18-13.el6.x86_64
ruby-condor-wallaby-5.0.4-1.el6_3.noarch
ruby-qpid-qmf-0.18-13.el6.x86_64
ruby-wallaby-0.16.1-2.el6.noarch
wallaby-0.16.1-2.el6.noarch
wallaby-utils-0.16.1-2.el6.noarch

and it works. --> VERIFIED
Comment 7 errata-xmlrpc 2013-03-06 13:40:24 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-2013-0564.html

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