| Summary: | condor_q doesn't get name of scheduler from configuration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Martin Kudlej <mkudlej> |
| Component: | condor | Assignee: | Robert Rati <rrati> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Bukatovic <mbukatov> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.1 | CC: | esammons, matt, mbukatov, tstclair |
| Target Milestone: | 2.3 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | condor-7.8.2-0.1 | Doc Type: | Bug Fix |
| Doc Text: |
C: Having the default scheduler be configured as an HA scheduler
C: condor_q would not find the job queue without specifying the schedd name on the command line
F: The condor_q command will now check the SCHEDD_NAME setting
R: Performing a condor_q when the default scheduler is an HA scheduler will show the job queue
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-06 13:52:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Martin Kudlej
2011-12-12 14:41:27 UTC
# condor_config_val SCHEDD_HOST Not defined: SCHEDD_HOST # condor_config_val SCHEDD_NAME ha-schedd-schedd1@ # condor_q -- Submitter: ha-schedd-schedd1@ : <10.16.64.133:46175> : dell-pe2950-01.rhts.eng.bos.redhat.com ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended # condor_status -schedd Name Machine TotalRunningJobs TotalIdleJobs TotalHeldJobs ha-schedd-schedd1@ dell-pe295 0 0 0 ha-schedd-schedd2@ dell-pe295 0 0 1 # hostname hp-xw9300-01.rhts.eng.bos.redhat.com Above produced with: condor-7.6.7-0.10.el6.x86_64 Can you verify issue is resolved with a later condor version?
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:
C: Having the default scheduler be configured as an HA scheduler
C: condor_q would not find the job queue without specifying the schedd name on the command line
F: The condor_q command will now check the SCHEDD_NAME setting
R: Performing a condor_q when the default scheduler is an HA scheduler will show the job queue
Tested on RHEL 5.9/6.4 - i386/x86_64 with packages:
condor-7.8.8-0.4.1
condor-classads-7.8.8-0.4.1
Configured condor pool with HA schedd via wallaby, on all nodes the feature works:
~~~
# condor_config_val SCHEDD_HOST
Not defined: SCHEDD_HOST
# condor_config_val SCHEDD_NAME
ha_schedd@
# condor_status -schedd
Name Machine TotalRunningJobs TotalIdleJobs TotalHeldJobs
ha_schedd@ dhcp-37-14 0 0 0
TotalRunningJobs TotalIdleJobs TotalHeldJobs
Total 0 0 0
# condor_q
-- Submitter: ha_schedd@ : <10.34.37.140:38241> : dhcp-37-140.lab.eng.brq.redhat.com
ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD
0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
# condor_q -name ha_schedd@
-- Schedd: ha_schedd@ : <10.34.37.140:38241>
ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD
0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
~~~
Note: when using condor-7.6.5-0.8 (older version as reported in this BZ), the
feature works as well. After talk with original reporter, setting status to
VERIFIED as this feature behaves correctly anyway.
>>> VERIFIED
|