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 502595 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]
qmf patch
0003-Fix-to-ensure-job-status-is-up-to-date-even-if-summa.patch (text/plain), 1.10 KB, created by
Pete MacKinnon
on 2011-06-02 18:15:14 UTC
(
hide
)
Description:
qmf patch
Filename:
MIME Type:
Creator:
Pete MacKinnon
Created:
2011-06-02 18:15:14 UTC
Size:
1.10 KB
patch
obsolete
>From 8c18279ad6ddfdfefa1c6a369a6a473dba54a65b Mon Sep 17 00:00:00 2001 >From: Peter MacKinnon <pmackinn@redhat.com> >Date: Wed, 1 Jun 2011 16:43:46 -0400 >Subject: [PATCH 3/4] Fix to ensure job status is up-to-date even if summary > has been cached in qmf contrib job server > >--- > src/condor_contrib/mgmt/qmf/daemons/Job.cpp | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/src/condor_contrib/mgmt/qmf/daemons/Job.cpp b/src/condor_contrib/mgmt/qmf/daemons/Job.cpp >index 6983e0e..eb219f7 100644 >--- a/src/condor_contrib/mgmt/qmf/daemons/Job.cpp >+++ b/src/condor_contrib/mgmt/qmf/daemons/Job.cpp >@@ -337,6 +337,16 @@ const ClassAd* LiveJobImpl::GetSummary () > } > } > >+ // 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