Hello DongInn and all,

I returned to my unfinished work with MDK 10.0 and would like to share some toughts... That said, I didn't switched to MDK 10.1 once it was almost done with 10.0 but I'm sure that the major modifications (as the support for the new version 'format' of tcpdump in MAC.pm) will suit 10.1 too.
I started working with oscar-4.0b8r2829.tar.gz due to restrictions of network use and I was surprised to see that I wasn't able to reproduce the same succesful results when using as a base OSCAR-trunk and OSCAR-branch-4-0 (in OSCAR-trunk, for example, I had problems with openpbs-oscar-client conflicting with torque-client). I don't know if this is due to some problem in my fresh mdk 10.0 installation (I had to install automake and autoconf to autogen), but I assume that the tarball would be the "official" OSCAR 4.
So my base was the tarball.
The modified files, updated in branch, are:
/opt/oscar/lib/OSCAR/MAC.pm
/opt/oscar/packages/base/config.xml
/opt/oscar/oscarsamples/mandrake-10.0-i386.rpmlist
/opt/oscar/share/prereqs/perl-Tk/scripts/setup
I couldn't modify perl-Qt's config.xml properly (DepMan: update-rpms failed to select packages) and also had problems to install XML-Parser and XML-Simple automatically from the media in share/prereqs. I attached a DOCFIX to be read prior to attempt in this install (basically, we must manually install some packages before launching install-cluster).
I had one only test fail in step 8 test_cluster and that was ganglia. What I don't understand is why the test fails while ganglia seams to be working fine at http://localhost/ganglia.
I would appreciate if anyone could take another look on this.
Regards,
--
Fernando Laudares Camargos


R�volution Linux
http://www.revolutionlinux.com
---------------------------------------
* Tout opinion et prise de position exprim�e dans ce message est celle de son auteur et pas n�cessairement celle de R�volution Linux.
** Any views and opinion presented in this e-mail are solely those of the author and do not necessarily represent those of R�volution Linux.


DOCFIX for oscar-4.0b8r2829.tar.gz with Mandrake 10.0 community
---------------------------------------------------------------

A) Pre-install:
---------------
He have to Manually install the packages perl-XML-Parser, perl-XML-Simple and 
libMesaglut3 
from /tftpboot/rpm and libsmokeqt1 and perl-Qt-mdk10 from 
/opt/oscar/packages/perl-Qt/RPMS so the installation can be completed.
Do not forget to set PermitRootLogin at /etc/ssh/sshd_config.


B) Detected problems:
---------------------

B.1) Pre-requisits installation problems:
-----------------------------------------

1) Not able to install XML-Parser from XML-Parser-2.31.tar.gz - Mandrake 
distro comes with a  perl-XML-parser package - why don't just use it?
---------------------------------------------------------------------
Running prereq setup script XML-Parser (in order)
--> Checking to see if we need to install XML::Parser
--> XML::Parser is not yet installed
--> Checking expat dependency
--> It doesn't look like expat is installed
--> Installing the expat libraries (expat or libexpat0)...
Preparing...                ##################################################
libexpat0-devel             ##################################################
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
make: *** No rule to make target 
`/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/config.h', needed by 
`Makefile'.  Stop.
Not able to execute: make all at 
/opt/oscar/share/prereqs/XML-Parser/scripts/setup line 28
        main::do_run('make all') called at 
/opt/oscar/share/prereqs/XML-Parser/scripts/setup line 79
ERROR: Prerequisite failure! at ./wizard_prep line 92
Oscar Wizard preparation script failed to complete at ./install_cluster line 
215.
----------------------------------------------------------------------------

2) The same for XML-Simple
----------------------------------------------------------------------------
Running prereq setup script XML-Parser (in order)
--> Checking to see if we need to install XML::Parser
--> XML::Parser appears to be installed already
Running prereq setup script XML-Simple (in order)
--> Checking to see if we need to install XML::Simple
--> XML::Simple is not yet installed
Checking for required modules ...
XML::Parser.pm is installed ... good
Storable.pm is installed ... good
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Simple
make: *** No rule to make target 
`/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/config.h', needed by 
`Makefile'.  Stop.
Not able to execute: make all at 
/opt/oscar/share/prereqs/XML-Simple/scripts/setup line 28
        main::do_run('make all') called at 
/opt/oscar/share/prereqs/XML-Simple/scripts/setup line 53
ERROR: Prerequisite failure! at ./wizard_prep line 92
Oscar Wizard preparation script failed to complete at ./install_cluster 
line 215.
----------------------------------------------------------------------------


B.2) Server core RPMS installation problems:
--------------------------------------------

1) Perl-Qt -> I wasn't able do work properly at the Perl-Qt's config.xml. I 
checked for the installation of each one of the packages ( If I manually 
install libMesaglut3, libsmokeqt1 and perl-Qt-mdk10 from /tftpboot/rpm, then 
the remain installation proceeds fine).
------------------------------------------------------------------------------
--> Installing server core RPMs
DepMan: update-rpms failed to select packages,
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1052.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1053.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1054.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1052.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1053.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1054.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1052.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1053.
 Use of uninitialized value in hash element at /usr/bin/update-rpms line 1054.
 perl-Qt-3.006-5 requires qt >= 3
 perl-Qt-3.006-5 requires qt >= 3.0
 perl-Qt-3.006-5 requires cups-libs >= 1.1 (NOT INSTALLED AND UNKNOWN)
 perl-Qt-mdk10-3.008-4mdk requires perl-Qt
 perl-Qt-qt3-compat-1.0-2 requires qt3 >= 3 (NOT INSTALLED AND UNKNOWN)

Oscar Wizard preparation script failed to complete at ./install_cluster line 
215.
-----------------------------------------------------------------------------


B.3) MySQL:
-----------
If by any reason you have to re-run install-cluster, MySQL will broke, so, 
before run it, you have to:

        mysql oscar
        delete from nics where 1;
        exit

(remember to fill a bug for this)
------------------------------------------------------------------------------
DBD::mysql::db do failed: Duplicate entry 'eth1-1' for key 3 at 
/usr/lib/perl5/site_perl/oda.pm line 2322.
Failed to insert records into table <nics> in database <oscar>: Duplicate entry 
'eth1-1' for key 3 at /opt/oscar/lib/OSCAR/Database.pm line 298.
SQL command that failed was: <INSERT INTO nics( nics.node_id, nics.ip, 
nics.name ) SELECT nodes.id, '10.0.1.1', 'eth1' FROM nodes WHERE nodes.name = 
'oscar_server' ;> at /opt/oscar/lib/OSCAR/Database.pm line 298.
/opt/oscar/scripts/set_node_nics: failed to create database record for nic eth1 
on node oscar_server.
DBD::mysql::db do failed: Duplicate entry 'eth0-1' for key 3 at 
/usr/lib/perl5/site_perl/oda.pm line 2322.
Failed to insert records into table <nics> in database <oscar>: Duplicate entry 
'eth0-1' for key 3 at /opt/oscar/lib/OSCAR/Database.pm line 298.
SQL command that failed was: <INSERT INTO nics( nics.node_id, nics.ip, 
nics.name ) SELECT nodes.id, '192.168.2.76', 'eth0' FROM nodes WHERE nodes.name 
= 'oscar_server' ;> at /opt/oscar/lib/OSCAR/Database.pm line 298.
/opt/oscar/scripts/set_node_nics: failed to create database record for nic eth0 
on node oscar_server.
Couldn't initialize the nics and networks for the oscar server at ./wizard_prep 
line 242
Oscar Wizard preparation script failed to complete at ./install_cluster line 
215.
-------------------------------------------------------------------------------


Reply via email to