Como no documentar, como no hacer software... YAIM for LCG

Cabezon's picture

Yaim es la herramienta que se utiliza en LCG para configurar los diferntes servicios del GRID. Desde el RB, hasta el WN pasando por los CEs y el servidor batch. En este último estoy ahora, e iluso de mi me fio de la documentación:


Standalone Torque server
* Install the glite-TORQUE_server metapackage. Configure it by running:
yaim -c -s site-info.def -n TORQUE_server -n TORQUE_utils

Mira que sencillo!!! Vamos a ello!

]# /opt/glite/yaim/bin/yaim -c -s ./site-info.def -n TORQUE_server -n TORQUE_utils
INFO: - -- --- ---- o oo ooo OOO #### OOO ooo oo o ---- --- -- -
. __ _____ ______ ___
. \ \/ / _ | / _/ |/ / Current Working directory is: /opt/glite3.1_localconf/pic
. \ / __ |_/ // /|_/ / Site-info file used: Jul 3 15:51 ./site-info.def
. /_/_/ |_/___/_/ /_/ Thu Jul 3 15:52:57 CEST 2008 : /opt/glite/yaim/bin/yaim -c -s ./site-info.def -n TORQUE_server -n TORQUE_utils
YAIM versions used: glite-yaim-core-4.0.4-2 ; glite-yaim-torque-server-4.0.1-5 ; glite-yaim-torque-utils-4.0.2-2 ;
INFO: Output will be written into log file: /opt/glite/yaim/bin/../log/yaimlog
INFO: Using site configuration file: ./site-info.def
INFO: The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d
INFO: Sourcing node specific configuration file: ./nodes/pbs02.pic.es
INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
INFO: Detecting environment
INFO: Executing function: config_users_check
INFO: Executing function: config_torque_server_check
INFO: Executing function: config_maui_cfg_check
INFO: Executing function: config_apel_pbs_check
INFO: Executing function: config_gip_sched_plugin_pbs_check
INFO: Executing function: config_torque_submitter_ssh_check
INFO: Executing function: config_users
INFO: Executing function: config_torque_server_setenv
INFO: Executing function: config_torque_server
INFO: Re-starting the torque server
Shutting down TORQUE Server: [FAILED]
Starting TORQUE Server: [ OK ]
Max open servers: 4
Max open servers: 4
Max open servers: 4
Max open servers: 4
WARNING: config_torque_server: Group access is not defined for queue: gshort
Max open servers: 4
WARNING: config_torque_server: Group access is not defined for queue: glong
Shutting down TORQUE Server: [ OK ]
Starting TORQUE Server: [ OK ]
INFO: Executing function: config_maui_cfg_setenv
INFO: Executing function: config_maui_cfg
TORQUE_server TORQUE_utils
MAUI is already stopped: [ OK ]
Starting MAUI Scheduler: [ OK ]
INFO: Executing function: config_apel_pbs_setenv
INFO: Executing function: config_apel_pbs
ERROR: Apel's parser-config template not found in /opt/glite/etc/glite-apel-pbs/parser-config.xml
ERROR: Error during the execution of function: config_apel_pbs
ERROR: Error during the configuration.Exiting. [FAILED]

Vale, la configuración de torque no está, pero es que lo grave es:

ERROR: Apel's parser-config template not found in /opt/glite/etc/glite-apel-pbs/parser-config.xml

Eso está en glite-apel-pbs QUE NI SIQUIERA SE INSTALA!!!!!
PERO QUE MIERDA DE METAPAQUETE GENERAN?¿?
Además, como depene de java, y el de SUN encima, añade repos, baja binarios, contruye rpms...

EL QUE HIZO LA DOCU SE QUEDÓ A GUSTO!! DONDE COÑO ESTÁ LA DOCUMENTACIÓN CON LAS VARIABLES NECESARIAS Y HOWTO COMO DIOS MANDA?

Tanta pastA, tanto proyecto de mierda para esto?

TODOS A TOMAR POR CULO!