Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 502596 Details for
Bug 709873
Plugins report JobStatus of held job as "Running" in result of GetJobSummaries method
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
aviary patch
0004-Ensure-live-job-status-is-accurate-in-job-summaries.patch (text/plain), 1.18 KB, created by
Pete MacKinnon
on 2011-06-02 18:15:52 UTC
(
hide
)
Description:
aviary patch
Filename:
MIME Type:
Creator:
Pete MacKinnon
Created:
2011-06-02 18:15:52 UTC
Size:
1.18 KB
patch
obsolete
>From 8e62825a158ce7587f604ed62b96d4f707a307ba Mon Sep 17 00:00:00 2001 >From: Peter MacKinnon <pmackinn@redhat.com> >Date: Wed, 1 Jun 2011 17:14:52 -0400 >Subject: [PATCH 4/4] Ensure live job status is accurate in job summaries from > aviary contrib query server > >--- > src/condor_contrib/aviary/src/Job.cpp | 12 +++++++++++- > 1 files changed, 11 insertions(+), 1 deletions(-) > >diff --git a/src/condor_contrib/aviary/src/Job.cpp b/src/condor_contrib/aviary/src/Job.cpp >index bb4112e..1b2c294 100644 >--- a/src/condor_contrib/aviary/src/Job.cpp >+++ b/src/condor_contrib/aviary/src/Job.cpp >@@ -307,11 +307,21 @@ const ClassAd* LiveJobImpl::getSummary () > m_summary_ad->Assign(ATTRS[i], attr->getValue()); > } > } >- delete attr; >+ delete attr; > i++; > } > } > >+ // make sure we're up-to-date with status even if we've cached the summary >+ m_summary_ad->Assign(ATTR_JOB_STATUS,this->getStatus()); >+ int i; >+ if ( m_full_ad->LookupInteger ( ATTR_ENTERED_CURRENT_STATUS, i ) ) { >+ m_summary_ad->Assign(ATTR_ENTERED_CURRENT_STATUS,i); >+ } >+ else { >+ dprintf(D_ALWAYS,"Unable to get ATTR_ENTERED_CURRENT_STATUS\n"); >+ } >+ > return m_summary_ad; > } > >-- >1.7.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 709873
:
502595
| 502596