Geoffroy,

Here is the output of 'system-sanity':

[r...@cluster ~]# system-sanity
Checking your system...
Success: yum-check.pl
Success: ssh-check.pl
Success: selinux-check.pl
Success: su-check.pl
Success: debrepo-check.pl
Success: tftpboot-check.pl
 ------------------------------------------------------
 WARNING: A valid NIC must be specified for the cluster
 private network.
 Valid NICs: eth0, eth1, virbr0

 You tried to use: <None>.
 This may be normal if this is the first time you
 execute OSCAR.
 ------------------------------------------------------
Warning: network-check.pl
Success: display-check.pl

And the output from '/usr/share/oscar/testing/run_unit_test':

[r...@cluster ~]# /usr/share/oscar/testing/run_unit_test
Testing few OSCAR stuff in /usr/share/oscar/testing/unit_testing...
Executing: /usr/share/oscar/testing/unit_testing/test_network_utils


*** Network Utils Testing ***

*** Network Utils Testing: Success ***

Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_distro_detection


*** Test the detection of repositories formats. This detection is based 
on the repository URL. We submit few cases and check the result***


Testing /tftpboot/distro/debian-4-x86_64

Testing /tftpboot/oscar/debian-4-x86_64

Testing /tftpboot/oscar/common-rpms

Testing file:/tftpboot/oscar/common-debs

Testing /tftpboot/oscar/common-debs

Testing /tftpboot/distro/redhat-el-ws-4-i386

Testing /tftpboot/distro/redhat-el-ws-4-i386.url

Testing /tftpboot/oscar/rhel-4-i386
Format: rpm

Testing /tftpboot/oscar/debian-4-i386

The following test should generate an error...
Testing /tftpboot/oscar/debian-4-i386
Testing /tftpboot/oscar/toutou-5-x86_64
ERROR: OSCAR does not support the OSCAR pool toutou-5-x86_64 (toutou, 
x86_64, 5)
 at /usr/share/oscar/testing/unit_testing/test_distro_detection line 77

The following test should generate an error...
Testing /tftpboot/oscar/toutou-5-x86_64
ERROR: OSCAR does not support the OSCAR pool centos-x86_64 (, , )
 at /usr/share/oscar/testing/unit_testing/test_distro_detection line 84

The following test should generate an error...
Testing /tftpboot/oscar/centos-x86_64
ERROR: OSCAR does not support the OSCAR pool toutou-5-titi (, , )
 at /usr/share/oscar/testing/unit_testing/test_distro_detection line 91

The following test should generate an error...
Testing /tftpboot/oscar/centos-5-x86_64.url
ERROR: OSCAR does not support the OSCAR pool centos-5-x86_64.url 
(centos, x86_64, 5)
 at /usr/share/oscar/testing/unit_testing/test_distro_detection line 98
TESTING DISTRO ID DECOMPOSITION

Decomposing: centos-5-x86_64
Result: centos, 5, x86_64


SUCCESS: the test of repository pool format detection succeed
TESTING DISTRO COMPAT DETERMINATION

Getting the compat distro of centos-5-x86_64
Result: rhel-5-x86_64


*** SUCCESS: the test of repository pool format detection succeeded ***
Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_systeminfo
Number of CPU(s): 7
Number of cores: 1
Clock speed: 2660.126 MHz

CPU/Core (0) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (1) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (2) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (3) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (4) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (5) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K

CPU/Core (6) cache info:
    L1 cache (Data): 32K
    L1 cache (Instruction): 32K
    L2 cache (Shared): 6144K
Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_image_mgt
ERROR: File cannot be copied. at 
/usr/share/oscar/testing/unit_testing/test_image_mgt line 23.
Result: 512
Executing: /usr/share/oscar/testing/unit_testing/test_prereqs
 Prereqs testing simulating Debian 4 x86_64
*********************************************************
 Raw list of prereqs (i.e., not checking packages status)
 Prereqs: packages to install: [ apache2 dhcp3-server dpkg-dev 
libdbi-perl libdbd-mysql-perl libmldbm-perl libxml-simple-perl perl-tk 
mysql-server-4.1 mysql-common nfs-kernel-server debootstrap tcpdump 
xinetd xmlstarlet ]
Array: 15 element(s)
 Prereqs: packages to remove: [ tftpd ]
Array: 1 element(s)
 Prereqs: commands to execute: [ /usr/bin/system-sanity ]
Array: 1 element(s)
*********************************************************
 Prereqs status
Prereqs status (/usr/share/oscar/prereqs/base/):
    apache2:             needs to be installed
    dhcp3-server:             needs to be installed
    dpkg-dev:             needs to be installed
    libdbi-perl:             needs to be installed
    libdbd-mysql-perl:             needs to be installed
    libmldbm-perl:             needs to be installed
    libxml-simple-perl:             needs to be installed
    perl-tk:             needs to be installed
    mysql-server-4.1:             needs to be installed
    mysql-common:             needs to be installed
    nfs-kernel-server:             needs to be installed
    debootstrap:             needs to be installed
    tcpdump:             already installed
    xinetd:             already installed
    xmlstarlet:             needs to be installed
    tftpd:             already removed


package apache2 is not installed
package dhcp3-server is not installed
package dpkg-dev is not installed
package libdbi-perl is not installed
package libdbd-mysql-perl is not installed
package libmldbm-perl is not installed
package libxml-simple-perl is not installed
package perl-tk is not installed
package mysql-server-4.1 is not installed
package mysql-common is not installed
package nfs-kernel-server is not installed
package debootstrap is not installed
package xmlstarlet is not installed
Number of packages to install: 13
Number of packages to remove: 0
*********************************************************
 List of actions needed for prereqs
Prereqs: packages to install: [ apache2 dhcp3-server dpkg-dev 
libdbi-perl libdbd-mysql-perl libmldbm-perl libxml-simple-perl perl-tk 
mysql-server-4.1 mysql-common nfs-kernel-server debootstrap xmlstarlet ]
Array: 13 element(s)
Prereqs: packages to remove: [ ]
Array: 0 element(s)
Prereqs: commands to execute: [ /usr/bin/system-sanity ]
Array: 1 element(s)
Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_oscar_config


*** Test few oscar-config capabilities ***

Executing: /usr/bin/oscar-config --help
Usage: /usr/bin/oscar-config OPTION

Setup OSCAR for Cluster management.
For more details, please refer to the man page (man oscar-config)

Executing: /usr/bin/oscar-config --supported-distros
ubuntu-8-x86_64 ubuntu-8-i386 debian-4-x86_64 debian-4-i386 
redhat-el-5-x86_64 redhat-el-5-i386 centos-5-x86_64 centos-5-i386


*** SUCCESS: the test of oscar-config succeed ***

Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_config_file


*** Testing OSCAR::ConfigFile ***

    --> Creating the temporary file
    --> Reading the gpgcheck variable from the block 'main' from 
/tmp/yum.conf
    --> Reading all variables from /tmp/yum.conf
^* matches null string many times in regex; marked by <-- HERE in m/^* 
<-- HERE / at /usr/lib/perl5/vendor_perl/5.8.8/AppConfig/State.pm line 
311, <FH> line 2.
^* matches null string many times in regex; marked by <-- HERE in m/^* 
<-- HERE / at /usr/lib/perl5/vendor_perl/5.8.8/AppConfig/State.pm line 391.
    --> Try to set the gpgcheck variable of the main block to -1
    --> Checking the new value
    --> Setting the value back to the initial value
    --> Checking the new value


SUCCESS: the test of configuration file management succeed

Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_configxml


*** Testing XML capabilities ***

First of all, we test the XML parsing...
could not find ParserDetails.ini in /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX
Now, we check if we can get the correct version...
Now, we check if we can get switcher data...


*** SUCCESS Testing XML Capabilities ***

Result: 0
Executing: /usr/share/oscar/testing/unit_testing/test_repo_prep


*** Test few repository related functions.***

Test the preparation of pools.
For testing we need a "fake" pool which is 
/tftpboot/oscar/rhel-4-x86_64. This pool can be empty or not, this test 
should not impact the status of the pool. Please create this directory.
ERROR: the test of repository preparation failed
Result: 65280


[UNIT TESTS]: 2 failures during execution

Failed tests: [ /usr/share/oscar/testing/unit_testing/test_image_mgt 
/usr/share/oscar/testing/unit_testing/test_repo_prep ]
Array: 2 element(s)
[r...@cluster ~]#

Of course, if you have the repository for 6.0.1, please let me know.

Regards,

Felipe.

geoffroy.val...@free.fr wrote:
>  Felipe,
>
>  Unfortunately, yum does not return correct return codes so it is 
difficult to track down the issue (even if we have some ideas about how 
we could improve the situation).
>
>  Can you please send me the output of the following commands:
>  - "system-sanity" (as root)
>  - "/usr/share/oscar/testing/run_unit_test"
>
>  Regards,
>
>  PS: FYI, i am also working on oscar-6.0.1 that should come out very 
soon, which will include few bug fixes. If you want to test that 
version, let me know i already setup a repository for it.
>
>  ----- Mail Original -----
>  De: "Felipe Zipitria - INCO" <fz...@fing.edu.uy>
>  À: oscar-users@lists.sourceforge.net
>  Envoyé: Lundi 12 Janvier 2009 11:50:27 GMT -05:00 USA/Canada - États 
de l'Est
>  Objet: [Oscar-users] Problems when installing oscar 6.0
>
> Dear list,
>
> I had some problemas when installing oscar 6.0. Cluster master node is 
> CentOS 5.2 x86_64.
>
> I have been following the steps described in the wiki.
>
> When performing 'oscar-config --bootstrap', I receive an error:
>
> ==
> ...
> Parsing package install arguments
> Package opkg-yume-server - 2.7-1.noarch is already installed.
> Package opkg-sync-files-server - 2.4-3.noarch is already installed.
> Package opkg-switcher-server - 1.0.7-2.noarch is already installed.
> Package opkg-sis-server - 4.0.0-3.noarch is already installed.
> Package opkg-selinux-server - 1.0.0-1.noarch is already installed.
> Package opkg-sc3-server - 1.2-5.noarch is already installed.
> Package opkg-rapt-server - 1.0-0.noarch is already installed.
> Package opkg-oda-server - 1.31.0-1.noarch is already installed.
> Package opkg-c3-server - 4.1.1-2.noarch is already installed.
> Package opkg-base-server - 1.0.0-2.noarch is already installed.
> Package opkg-apitest-server - 1.0.0-12.1.noarch is already installed.
> Nothing to do
> Error occured during smart_install (1):
>  at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Bootstrap.pm line 253
>
> centos5-x86_64_RPMS.oscar 100% |=========================| 1.9 kB    00:00
> centos5-x86_64_RPMS.os    100% |=========================|  951 B    00:00
> centos5-x86_64_RPMS.updat 100% |=========================| 1.9 kB    00:00
> Setting up Install Process
> Parsing package install arguments
> Package opkg-yume-server - 2.7-1.noarch is already installed.
> Package opkg-sync-files-server - 2.4-3.noarch is already installed.
> Package opkg-switcher-server - 1.0.7-2.noarch is already installed.
> Package opkg-sis-server - 4.0.0-3.noarch is already installed.
> Package opkg-selinux-server - 1.0.0-1.noarch is already installed.
> Package opkg-sc3-server - 1.2-5.noarch is already installed.
> Package opkg-rapt-server - 1.0-0.noarch is already installed.
> Package opkg-oda-server - 1.31.0-1.noarch is already installed.
> Package opkg-c3-server - 4.1.1-2.noarch is already installed.
> Package opkg-base-server - 1.0.0-2.noarch is already installed.
> Package opkg-apitest-server - 1.0.0-12.1.noarch is already installed.
> Nothing to do
> ERROR: Impossible to install server core packages
>  at /usr/bin/oscar-config line 209
> ERROR: Impossible to install the server side of OSCAR
>  at /usr/bin/oscar-config line 209
> ERROR: Impossible to complete stage 2 of the bootstrap.
>  at /usr/bin/oscar-config line 209
> ==
>
> For testing purposes, I've commented out the line #253 at 
> Bootstrap.pm. But then, failes
> again with a missing dependency:
>
> Error: Missing Dependency: ssh-oscar is needed by package 
> opkg-opium-server
> ERROR: "yum -c /tmp/filezMg26G -d 3 -e 2 -y install 
> opkg-disable-services-server.noarch
> opkg-documentation-server.noarch opkg-ganglia-server.noarch 
> opkg-jobmonarch-server.noarch
> opkg-lam-server.noarch opkg-loghost-server.noarch opkg-maui-server.noarch
> opkg-mpich-server.noarch opkg-mtaconfig-server.noarch 
> opkg-netbootmgr-server.noarch
> opkg-ntpconfig-server.noarch opkg-openmpi-server.noarch 
> opkg-opium-server.noarch
> opkg-pvm-server.noarch opkg-torque-server.noarch" returned 256:
> --> Successfully installed server non-core binary packages
> --> Marking installed bit in ODA for server non-core packages
> Can't use string ("disable-services") as a HASH ref while "strict 
> refs" in use at
> /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Database.pm line 1424.
> --> Step 3: Failed to properly install OSCAR server; please check the logs
> --> Update Wizard Env (as needed)
>
> =============================================================================
> == oscar_wizard: Exit
> =============================================================================
>
>
> Someone had this problems?
>
> Felipe.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to