Project

General

Profile

Bug #25438

Reconfig error if some variables are set to a value different form the default

Added by Marco Mambelli about 1 month ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
01/26/2021
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

Factory reconfig returns an error if some variables are set in the global section to a value different from the default one.
E.g. CONDOR_VERSION, defaulting to 'default', when set to something else gives error.

      <attr const="False" glidein_publish="False" job_publish="False" name="CONDOR_VERSION" parameter="True" publish="True" type="string" value="8.9" />
...

[root@fermicloud110 ~]# fareconfig
Using default factory config file: /etc/gwms-factory/glideinWMS.xml
Reconfiguring the factoryError parsing attr main[CONDOR_VERSION]: Key 'CONDOR_VERSION' already exists
                                                           [FAILED]

If the variable is set to const="True" (different from the preset default), then there is no error but 2 versions of the variable are sent to the glidein, cusing confusion

Also available in: Atom PDF