Bug 692534

Summary: [RFE] ask for adding non-existing parameter/feature from condor_configure_pool
Product: Red Hat Enterprise MRG Reporter: Martin Kudlej <mkudlej>
Component: condor-wallaby-toolsAssignee: grid-maint-list <grid-maint-list>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: DevelopmentCC: iboverma, matt, rrati, tstclair
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-26 20:06:09 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-03-31 14:05:36 UTC
Description of problem:
I think it will be fine to have possibility to add new parameter and feature from condor_configure_pool if it doesn't exist. I think it's not comfortable now to get error message from condor_configure_pool, then run condor_configure_store and then run condor_configure_pool again to set parameter value/feature.

Version-Release number of selected component (if applicable):
condor-wallaby-tools-4.0-4.el5

Now:
$ condor_configure_pool -n `hostname` -a -p JOB_SERVER.JOB_SERVER_DEBUG
Value for "JOB_SERVER.JOB_SERVER_DEBUG": D_FULLDEBUG
Apply these changes [Y/n] ?
Error: Problem adding parameters (134218753, Invalid parameters for the identity group for hostname:  ["JOB_SERVER.JOB_SERVER_DEBUG"])

$ condor_configure_store -a -p JOB_SERVER.JOB_SERVER_DEBUG -> open $EDITOR
$ condor_configure_pool -n `hostname` -a -p JOB_SERVER.JOB_SERVER_DEBUG -> set value

Then:
$ condor_configure_pool -n `hostname` -a -p JOB_SERVER.JOB_SERVER_DEBUG
Value for "JOB_SERVER.JOB_SERVER_DEBUG": D_FULLDEBUG
Apply these changes [Y/n] ?
Error: Problem adding parameters (134218753, Invalid parameters for the identity
-> open $EDITOR
-> add JOB_SERVER.JOB_SERVER_DEBUG to store
-> set value

Comment 2 Robert Rati 2011-03-31 15:36:12 UTC
The ccp pool is not supposed to add new elements to the store.  It is for applying configurations only, and two separate tools allows separation of responsibilities (a role for managing what is available to configure in the store (ccs), and a role for configuring the pool(ccp)).  Having ccp add entities to the store complicates the tools and muddies the waters between the two tools.

Comment 3 Anne-Louise Tangring 2016-05-26 20:06:09 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.