Bug 700863 - condor_configure_pool loses param settings if --schedd or --qmfbroker is used
Summary: condor_configure_pool loses param settings if --schedd or --qmfbroker is used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-wallaby-tools
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: 2.0.1
: ---
Assignee: Robert Rati
QA Contact: Tomas Rusnak
URL:
Whiteboard:
Depends On:
Blocks: 723887
TreeView+ depends on / blocked
 
Reported: 2011-04-29 16:07 UTC by Robert Rati
Modified: 2011-09-07 16:43 UTC (History)
5 users (show)

Fixed In Version: condor-wallaby-tools-4.1-1
Doc Type: Bug Fix
Doc Text:
C: Using condor_configure_pool to set a feature with must_change parameters or parameters on their own at the same time as setting scheduler/qmfbroker information. C: Any param changes from the condor_configure_pool invocation besides the scheduler/qmfbroker information would be lost. F: Update the qmf group object before applying any scheudler/qmfbroker params. R: Using condor_configure_pool to set a feature with must_change parameters or parameters on their own at the same time as setting scheduler/qmfbroker information now works as expected
Clone Of:
Environment:
Last Closed: 2011-09-07 16:43:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1249 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Grid 2.0 security, bug fix and enhancement update 2011-09-07 16:40:45 UTC

Description Robert Rati 2011-04-29 16:07:16 UTC
Description of problem:
If condor_configure_pool is used to add features and set the schedd/qmf information, the param values entered by the user will be lost.

Version-Release number of selected component (if applicable):
condor-wallaby-4.0-6

How reproducible:
100%

Steps to Reproduce:
1. condor_configure_pool -n <node> -a -f ExecuteNode,Master --schedds
2. Set schedd name
3. Apply config and provide CONDOR_HOST value
4. activate fails because CONDOR_HOST isn't set
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2011-04-29 19:02:45 UTC
The issue only occurs if you attempt to set schedd or qmf info with the same command where you will be setting params (so adding params or features that have must_change params).  There are a few ways to work around this issue:

1) Issue commands to add/remove schedd (--schedds) or qmf info (--qmfbroker) on separate command invocations from other activities.
2) Manually add the params/values with a separate command invocation.

Comment 2 Robert Rati 2011-06-14 20:42:47 UTC
Fixed on BZ700863-lose-param-settings

Comment 3 Robert Rati 2011-06-24 14:56:22 UTC
    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: Using condor_configure_pool to set a feature with must_change parameters or parameters on their own at the same time as setting scheduler/qmfbroker information.
C: Any param changes from the condor_configure_pool invocation besides the scheduler/qmfbroker information would be lost.
F: Update the qmf group object before applying any scheudler/qmfbroker params.
R: Using condor_configure_pool to set a feature with must_change parameters or parameters on their own at the same time as setting scheduler/qmfbroker information now works as expected

Comment 5 Tomas Rusnak 2011-07-27 14:37:02 UTC
Reproduced on:

condor-wallaby-client-4.0-6.el5
condor-wallaby-tools-4.0-6.el5
ruby-wallaby-0.10.5-5.el5
wallaby-0.10.5-5.el5
python-wallabyclient-4.0-6.el5
condor-wallaby-base-db-1.13-1.el5
wallaby-utils-0.10.5-5.el5

# condor_configure_pool -n `hostname` -a -f ExecuteNode,Master --schedds
Enter the name of the default scheduler: schedd
Is this a High Available Scheduler [y/N] ? 

Apply these changes [Y/n] ? y
The following parameters need to be set for this configuration to be valid.
CONDOR_HOST
Set these parameters now ? [y/N] y
CONDOR_HOST: localhost
Configuration applied

Create a named snapshot of this configuration [y/N] ? 

Activate the changes [y/N] ? y
Activating configuration.  This may take a while, please be patient
The configuration is not valid
Node: localhost
Unsatisfied feature dependencies:
  NodeAccess
Unset necessary parameters:
  CONDOR_HOST

Configuration not activated

Comment 6 Tomas Rusnak 2011-07-27 15:19:03 UTC
Retested over all supported platforms x86,x86_64/RHEL5,RHEL6 with:

condor-wallaby-base-db-1.14-1.el6.noarch
wallaby-utils-0.10.5-6.el6.noarch
python-wallabyclient-4.1-4.el6.noarch
wallaby-0.10.5-6.el6.noarch
ruby-wallaby-0.10.5-6.el6.noarch
condor-wallaby-tools-4.1-4.el6.noarch

# condor_configure_pool -n `hostname` -a -f ExecuteNode,Master --schedds
Enter the name of the default scheduler: schedd
Is this a High Available Scheduler [y/N] ? 

Apply these changes [Y/n] ? y
The following parameters need to be set for this configuration to be valid.
CONDOR_HOST
Set these parameters now ? [y/N] y
CONDOR_HOST: localhost
Configuration applied

Create a named snapshot of this configuration [y/N] ? 

Activate the changes [y/N] ? y
Activating configuration.  This may take a while, please be patient
Configuration activated

The condor_configure_pool now takes both - feature parameter and schedd/qmf.

>>> VERIFIED

Comment 7 errata-xmlrpc 2011-09-07 16:43:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1249.html


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