| Summary: | [RFE] Receive evaluated form of configuration as seen by a running daemon | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Scott Spurrier <spurrier> | |
| Component: | condor | Assignee: | Erik Erlandson <eerlands> | |
| Status: | CLOSED ERRATA | QA Contact: | Tomas Rusnak <trusnak> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 1.3 | CC: | atangrin, eerlands, esammons, hpetty, iboverma, kcleveng, ltoscano, matt, mkudlej, sgraf, trusnak, tstclair | |
| Target Milestone: | 2.5 | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | condor-7.8.9-0.7 | Doc Type: | Enhancement | |
| Doc Text: |
Feature:
Enhance condor_config_val to optionally obtain the value of a configuration macro, as evaluated in the context of a daemon's classad.
Reason:
This capability allows the administrator or user to verify the exact configuration value seen by a daemon.
Result (if any):
condor_config_val now accepts an optional flag '-evaluate', that causes it to return the value of a configuration macro evaluated with respect to a daemon's classad.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1069518 (view as bug list) | Environment: | ||
| Last Closed: | 2014-04-28 16:45:38 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1045236, 1069518 | |||
|
Description
Scott Spurrier
2011-07-13 19:56:19 UTC
Also of interest: https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=2857 Will the implementation be just as described into condor ticket 856 (more information in the verbose output of condor_config_val)? Will it include also ticket 2857, or will it be out of scope for this bug? Any other relevant information? TESTING: Use the following configuration to exercise feature cases: ====================================================== SCHEDD.TEST_PARAM_1 = 5 * 1 NEGOTIATOR.TEST_PARAM_1 = 5 * 2 STARTD.TEST_PARAM_1 = 5 * 3 SCHEDD.TEST_PARAM_2 = time() NEGOTIATOR.TEST_PARAM_2 = time() / 2 ====================================================== Now spin up a pool, and query daemons for their config values to demonstrate behavior with and without the new -evaluate option: ====================================================== $ condor_config_val -schedd TEST_PARAM_1 5 * 1 $ condor_config_val -schedd TEST_PARAM_1 -eval 5 $ condor_config_val -neg TEST_PARAM_1 5 * 2 $ condor_config_val -neg TEST_PARAM_1 -eval 10 $ condor_config_val -startd TEST_PARAM_1 5 * 3 $ condor_config_val -startd TEST_PARAM_1 -eval Warning: Classad for startd daemon 'rorschach' is null, will evaluate expressions against empty classad 15 $ condor_config_val -schedd TEST_PARAM_2 time() $ condor_config_val -schedd TEST_PARAM_2 -eval 1335205018 $ condor_config_val -neg TEST_PARAM_2 time() / 2 $ condor_config_val -neg TEST_PARAM_2 -eval 667602514 ===================================================== Tested on RHEL6 32/64 with CLASSADs from Comment #9 over this set of daemons: ['SCHEDD','NEGOTIATOR','STARTD','COLLECTOR'] Result: Test Summary : PASS #TESTS:43 #FAILS:0 >>> VERIFIED 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-2014-0440.html |