Code that checks for valid attribute names submitted through the negotiator QMF interface does not account for the dot ('.') separator used in group attributes like those that we would be used to set quota actions.
FH sha 2b8c8b0
Please could you provide the reproduction scenario. Thanks
http://git.fedorahosted.org/git/?p=grid.git;a=commit;h=2b8c8b0d951c4edbc0faef12b5c142bf1321a089 Above is the commit where this was fixed, it includes addition of a regression test in negotiator.py. You may also need some config along the lines of, GROUP_QUOTA_DYNAMIC_MGMT.CUMIN = 1020
When I try that I found out that moreover it has to be enabled runtime configuration changes. After I edited those parameters it works fine: ENABLE_RUNTIME_CONFIG, ENABLE_PERSISTENT_CONFIG and PERSISTENT_CONFIG_DIR. Reproduced on old version: # python negotiator.py Current Negotiator: ibm-mongoose.rhts.eng.bos.redhat.com OK (0) - {u'Limits': {}} OK (0) - {u'Value': 'group_physics, group_chemistry, group_physics.lab1, group_physics.lab2, group_physics.lab3, group_physics.lab3.team1, group_physics.lab3.team2, group_physics.lab3.team3, group_chemistry.lab1, group_chemistry.lab2'} 1020 Setting GROUP_QUOTA_DYNAMIC_MGMT.CUMIN to 1020.01 Call failed: Invalid name for attribute - alphanumeric and underscore characters only (65538) - {} Correct behaviour on new version: # python negotiator.py Current Negotiator: dell-pe800-01.rhts.eng.bos.redhat.com OK (0) - {u'Limits': {}} OK (0) - {u'Value': 'group_physics, group_chemistry, group_physics.lab1, group_physics.lab2, group_physics.lab3, group_physics.lab3.team1, group_physics.lab3.team2, group_physics.lab3.team3, group_chemistry.lab1, group_chemistry.lab2'} 1020 Setting GROUP_QUOTA_DYNAMIC_MGMT.CUMIN to 1020.01 Tested with (version): condor-qmf-7.4.4-0.16 condor-7.4.4-0.16 Tested on: RHEL5 x86_64,i386 - passed RHEL4 x86_64,i386 - passed >>> VERIFIED