Firstly, I am no installing a TAR-UI but a UI and the wiki is talking
about a TAR-UI.
Secondly, I have run the configure_node script with* exactly the same
site-info.def *on two different nodes to install a UI. The first node
with an OS newly installed and the second one with an already installed
UI with the update 12 glite release.
The result was that :
On the first node (new OS) : I get the problem I described before (the
python errors)
On the second node : Every thing was OK.
How can you explain these results ?
Cheers
Ahmed
PS : Are you the developper of this python script ?
Gergely Debreczeni wrote:
> 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
>>
>
|