Hi all,
Investigating a local problem, we've found that running yaim with a
dummy NODE_TYPE missconfigures the service. I.e:
#/opt/glite/yaim/bin/yaim -c
-s /opt/localconf/gLite/yaim/pic/site-info.def -n glite-WN -n TORQUE_client -n glite-GLEXEC_wn
# grep -c SW_DIR /etc/profile.d/grid-env.sh
16
# /opt/glite/yaim/bin/yaim -c -s /opt/localconf/gLite/yaim/pic/site-info.def -n dummy
INFO: Using site configuration file: /opt/localconf/gLite/yaim/pic/site-info.def
INFO:
###################################################################
. /'.-. ')
. yA,-"-,( ,m,:/ ) .oo. oo o ooo o. .oo
. / .-Y a a Y-. 8. .8' 8'8. 8 8b d'8
. / ~ ~ / 8' .8oo88. 8 8 8' 8
. (_/ '====' 8 .8' 8. 8 8 Y 8
. Y,-''-,Yy,-.,/ o8o o8o o88o o8o o8o o8o
. I_))_) I_))_)
current working directory: /opt/ingrid/sensors
site-info.def date: Apr 14 11:11 /opt/localconf/gLite/yaim/pic/site-info.def
yaim command: -c -s /opt/localconf/gLite/yaim/pic/site-info.def -n dummy
log file: /opt/glite/yaim/bin/../log/yaimlog
Wed Apr 27 12:49:25 CEST 2011 : /opt/glite/yaim/bin/yaim
Installed YAIM versions:
glite-yaim-clients 4.0.11-2
glite-yaim-core 4.0.14-1
glite-yaim-glexec-wn 2.0.3-0
glite-yaim-torque-client 4.0.3-1
####################################################################
INFO: The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d
INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
INFO: Detecting environment
ERROR: The node-info for service dummy not found in /opt/glite/yaim/bin/../node-info.d
ERROR: nor in /opt/glite/yaim/bin/../defaults/node-info.def
ERROR: One of the functions returned with error without specifying its nature !
[root@td476 sensors]# grep -c SW_DIR /etc/profile.d/grid-env.sh
0
Is this behaivour desired?
Cheers,
Arnau
|