Bug 839305 - Add Owner as a field in JobID
Summary: Add Owner as a field in JobID
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-aviary
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.3
: ---
Assignee: Pete MacKinnon
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks: 893027
TreeView+ depends on / blocked
 
Reported: 2012-07-11 13:53 UTC by Trevor McKay
Modified: 2013-01-10 07:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-03 15:56:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 893027 0 medium CLOSED aviary wrong owner in SubmissionID 2021-02-22 00:41:40 UTC

Internal Links: 893027

Description Trevor McKay 2012-07-11 13:53:30 UTC
Description of problem:

It would be helpful to include the Owner value from a job class ad in the Aviary JobId structure.  This would allow the owner of a job to be examined in job summaries for a submission.

At present, the Owner value is only available in a full job ad from the GetJobDetails method.

Comment 2 Pete MacKinnon 2012-09-17 14:29:40 UTC
Actually, the SubmissionID is a field of a returned and fully-formed JobID and it contains an owner value. Is this somehow insufficient?

Comment 3 Pete MacKinnon 2012-09-17 16:06:37 UTC
Proposal:

Jobs with different owners can attach to a submission which has an originating owner. The model of a single originating owner will be maintained, however the Aviary API will be modified to reflect that several jobs and more specifically several owners are potentially part of a submission. 

    <xs:complexType name="SubmissionID">
        <xs:sequence>
            <xs:element name="name" type="xs:string" minOccurs="0"/>
            <xs:element name="owner" type="xs:string" minOccurs="0"/>
            <xs:element name="qdate" type="xs:int" minOccurs="0"/>
            <!-- new -->
            <xs:element name="others" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="JobID">
        <xs:sequence>
            <xs:element name="job" type="xs:string"/>
            <!-- new -->
            <xs:element name="owner" type="xs:string" minOccurs="0"/>
            <xs:element name="pool" type="xs:string" minOccurs="0"/>
            <xs:element name="scheduler" type="xs:string" minOccurs="0"/>
            <xs:element name="submission" type="tns:SubmissionID" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>

Comment 4 Pete MacKinnon 2012-10-03 15:56:33 UTC
Ignore comment #3. Since a job summary returns a job id which in turn contains a submission id containing an owner name, this should suffice for the time being. The issue of submission name+owner scoping will be addressed in a future release under a different BZ.

Comment 5 Martin Kudlej 2012-10-04 08:08:07 UTC
(In reply to comment #4)
Have you number of that BZ for the future release?
If this is duplicate of any other BZ, please mark it as duplicate.
If that BZ doesn't exist, please move this BZ to future release.

Comment 8 Pete MacKinnon 2013-01-09 16:37:03 UTC
Bug 839305 comment 4 mentions the name+owner scope issue.

Comment 9 Pete MacKinnon 2013-01-09 16:41:31 UTC
Apologies, bug 893027 is the forward bz.


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