Yes, this is a bug and already partially fixed.
Unfortunately you have to work with almost fully specified site-info.def
in order to make
YAIM2gLiteConvertor.py
happy. It would like to configure and translate almost all the veriable
and not
only the ones which are really needed for a UI.
The next version of UI config is PythonFree (TM) :-) so we can get rid
of this problem.
See : https://twiki.cern.ch/twiki/bin/view/LCG/TarUIInstall#Configuration
Gergo
Ahmed Beriache wrote:
> Dear all,
>
> Very often, when i install a glite User Interface on a node with a
> freshly installed OS, I get some python errors at the yaim
> configure_node step. It happens exactly when configuring glite_ui_config
> and the output of the error is :
>
> ---------
> Traceback (most recent call last):
> File "/opt/glite/yaim/functions/../libexec/YAIM2gLiteConvertor.py",
> line 468, in ?
> updateContainerParameter( param, environ[param] )
> File "/opt/glite/yaim/functions/../libexec/YAIM2gLiteConvertor.py",
> line 184, in updateContainerParameter
> ( name, group ) = getPoolName ( tagName )
> File "/opt/glite/yaim/functions/../libexec/YAIM2gLiteConvertor.py",
> line 164, in getPoolName
> users = open( replaceParameter( environ['USERS_CONF'] ) ).readlines()
> File "/usr/lib/python2.2/UserDict.py", line 14, in __getitem__
> def __getitem__(self, key): return self.data[key]
> KeyError: USERS_CONF
> ----------
>
> It seems to happen from the file :
> /opt/glite/yaim/functions/config_glite_init
> at the call of this line : python
> ${FUNCTIONS_DIR}/../libexec/YAIM2gLiteConvertor.py
>
> Does any one know how to solve this problem ? Is it a bug ? Are some
> python libraries missing in the system?
>
> Regards
>
> Ahmed
>
|