DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
112 stars 174 forks source link

[Framework] ConfigTemplate.cfg not read #88

Closed closier closed 13 years ago

closier commented 13 years ago

I have created a ConfigTemplate.cfg in LHCbDIRAC/DataManagementSystem to put information about a new Agent but when I tried to installed it the new agent with dirac-admin-sysadmin-cli my ConfigTemplate.cfg is not read. Does it mean that the ConfigTemplate.cfg could be only in DIRAC/DataManagementSystem ? or is it a bug ?

^@[lxplus314] x86_64-slc5-gcc43-opt /afs/cern.ch/lhcb/software/DEV/LHCBDIRACdirac-admin-sysadmin-cli --host volhcb03.cern.chDIRAC Root Path = /afs/cern.ch/lhcb/software/DEV/DIRAC/DIRAC_v5r13p9 volhcb03.cern.ch >install agent DataManagement StorageHistoryAgent AT >>> agent DataManagement StorageHistoryAgent Certification ['LHCbWeb', 'LHCb'] Loading configuration template /afs/cern.ch/lhcb/software/DEV/DIRAC/DIRAC_v5r13p9/DIRAC/DataManagementSystem/ConfigTemplate.cfg Can not find Agents/StorageHistoryAgent in template {'Message': 'Can not find Agents/StorageHistoryAgent in template', 'OK': False} ERROR: Can not find Agents/StorageHistoryAgent in template

[lxplus314] x86_64-slc5-gcc43-opt /afs/cern.ch/lhcb/software/DEV/LHCBDIRAC> grep StorageHistoryAgent /afs/cern.ch/lhcb/software/DEV/LHCBDIRAC/LHCBDIRAC_v6r5-pre10/LHCbDIRAC/DataManagementSystem/ConfigTemplate.cfg StorageHistoryAgent

graciani commented 13 years ago

Nice try. How do you suppose that the server where the SystemAdministrator server is running knows where to read your local cfg file from?

touch testFile ssh myserver ls testFile ls: testFile: No such file or directory

is that not what you would expect?

closier commented 13 years ago

Would you be so kind to point me to the documentation of "How to use ConfigTemplate.cfg ?" for an extension like LHCb or ILC, please ?

closier commented 13 years ago

Ricardo,

I tried to install the new Agent DataMangementSystem/HistoryUsageAgent in the certification machine, how I should proceed ?

Regards

[cid:CCD358DD-C168-4467-A4DA-82C4EBDCB221@cern.ch]Joel Closier LHCb Experiment

Le 9 juin 2011 17:44, graciani a crit :

Nice try. How do you suppose that the server where the SystemAdministrator server is running knows where to read your local cfg file from?

touch testFile ssh myserver ls testFile ls: testFile: No such file or directory

is that not what you would expect?

Reply to this email directly or view it on GitHub: https://github.com/DIRACGrid/DIRAC/issues/88#comment_1335075

atsareg commented 13 years ago

The issue tracking system is not the place where to ask questions. Please use mailing list or forum for that.