Bug 768328 - there is no suspend and transfer states in ns0:JobStatusType
Summary: there is no suspend and transfer states in ns0:JobStatusType
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-aviary
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.3
: ---
Assignee: Pete MacKinnon
QA Contact: Martin Kudlej
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-16 11:16 UTC by Martin Kudlej
Modified: 2013-03-06 18:40 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-03-06 18:40:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0564 0 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 23:37:09 UTC
Sun Bug Database 205894 0 None None None 2012-10-10 11:34:30 UTC

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


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