Bug 768328

Summary: there is no suspend and transfer states in ns0:JobStatusType
Product: Red Hat Enterprise MRG Reporter: Martin Kudlej <mkudlej>
Component: condor-aviaryAssignee: Pete MacKinnon <pmackinn>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: matt, tstclair
Target Milestone: 2.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-7.8.2-0.1 Doc Type: Bug Fix
Doc Text:
Cause: Aviary XML schema for the various job states. Consequence: There are no states listed for suspended and transferring_output jobs in the JobStatusType. Change: The Aviary XML schema was updated to add these new job states. Implementation changes were made to reflect these totals in the API also. Result: Aviary clients can view the totals for suspended and transferring_output job states from this XML schema type.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 18:40:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kudlej 2011-12-16 11:16:33 UTC
Description of problem:
There are these states 
(ns0:JobStatusType){
   IDLE = "IDLE"
   RUNNING = "RUNNING"
   REMOVED = "REMOVED"
   COMPLETED = "COMPLETED"
   HELD = "HELD"
 }

in SOAP type ns0:JobStatusType.

There should be all states of job so also "Transferring Output" and "Suspended" states.

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. input this into any Python Aviary client

tmp = client.factory.create("ns0:JobID")
print tmp
  
Actual results:
(ns0:JobStatusType){
   IDLE = "IDLE"
   RUNNING = "RUNNING"
   REMOVED = "REMOVED"
   COMPLETED = "COMPLETED"
   HELD = "HELD"
 }

Expected results:
(ns0:JobStatusType){
   IDLE = "IDLE"
   RUNNING = "RUNNING"
   REMOVED = "REMOVED"
   COMPLETED = "COMPLETED"
   HELD = "HELD"
   TRANSFERRING = "TRANSFERRING"
   SUSPENDED = "SUSPENDED"
 }

Comment 2 Pete MacKinnon 2012-05-08 13:34:33 UTC
    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: Aviary XML schema for the various job states.
Consequence: There are no states listed for suspended and transferring_output jobs in the JobStatusType.
Change: The Aviary XML schema was updated to add these new job states. Implementation changes were made to reflect these totals in the API also.
Result: Aviary clients can view the totals for suspended and transferring_output job states from this XML schema type.

Comment 5 Martin Kudlej 2012-12-17 15:01:00 UTC
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 18:40:27 UTC
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