Hi,
I've just purchased a big Cluster with a head that hosts a 5TB raid5 disk array.
Because of this big array, I must find a distro that supports GPT partition table (grub2 and more) and that is supported by OSCAR.
Because of the GPT requirement I must use very latest distro, and thus very latest version of OSCAR.
Though I did not resolv the GPT issue, I decided to temporarily break the raid volume and use one 1TB disk to install CentOS 5.4 which is the only CentOS able to support my infiniband hardware.
So I Installed CentOS 5.4 and then I started to install oscar-6.0.5r8859-1 (which adds support for CentOS 5.4 as stated in the ChageLog)
Unfortunately, I have troubles (normal, it's unstable ;-)).
Reading the list archive, I discovered that I fell into a problem similar to post "failure in step 4", but I was unable to find an answer.
So here is my config, what I did and the errors:
Config: CentOS 5.4 x86_64
I have CentOS-x86_64-OSCAR-unstable.repo in /etc/yum.repos.d
I followed steps on page
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/repoTesting
After installing oscar-6.0.5r8859-1 I did the following:
- updated /etc/oscar/oscar.conf: OSCAR_NETWORK_INTERFACE = eth1
- fixed /etc/oscar/supported_distros.txt (attached)
=> Added 2 lines:
[6.0.5]
centos-5-x86_64
http://mirror.centos.org/centos/5.4/os/x86_64/ http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64
centos-5-i386
http://mirror.centos.org/centos/5.4/os/i386/ http://bison.csm.ornl.gov/repos/unstable/rhel-5-i386
=> replaced all occurences of 5.3 with 5.4 in other entries just in case.
Then I continued with:
oscar-config --setup-distro centos-5-x86_64
=> No errors
Then I ran oscar-config --bootstrap
But I got errors:
- db_type: no such variable at /etc/oscar/oscar.conf line 7
I've attached the log and oscar.conf files (Line 7 is: DB_TYPE = mysql)
Then I did a system-sanity with the following result:
[root@mycluster:/etc/oscar]# system-sanity
Checking your system...
Success: display-check.pl
Success: debrepo-check.pl
Success: selinux-check.pl
Success: ssh-check.pl
Success: network-check.pl
Success: su-check.pl
Success: yum-check.pl
Success: tftpboot-check.pl
Then I did: oscar_wizard install
=> The output was:
Verbosity: 0
=============================================================================
== oscar_wizard: Starting...
=============================================================================
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
=> Then the interface popped up.
=> So I click step 1 and the package selector opens with empty display. No value preselected in the combobox.
=> So I select Experimental as package set and obtains the folloging log:
=============================================================================
== oscar_wizard: Change directory: /usr/lib/perl5/vendor_perl/5.8.8/Qt
=============================================================================
Current set:
Current set: Experimental
[INFO]
http://mirror.centos.org/centos/5.4/os/x86_64/ is in cache
[INFO]
http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64 is in cache
Error: No matching Packages to list
ERROR during execution 256
Deactivating the package set selection combox
=> Then I click exit and:
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
db_type: no such variable at /etc/oscar/oscar.conf line 7
=> On step 2: I have only 2 stuffs to configure: sis and switcher
If I try to configure switcher:
no pkg_config were supplied by any OSCAR packages -- nothing to configure.
The console log:
=============================================================================
== Running step 2 of the OSCAR wizard: Configure selected OSCAR packages
=============================================================================
Looking for /var/lib/oscar/packages/apitest/api-pre-configure...
Looking for /var/lib/oscar/packages/apitest/pre_configure...
Looking for /var/lib/oscar/packages/base/api-pre-configure...
Looking for /var/lib/oscar/packages/base/pre_configure...
Looking for /var/lib/oscar/packages/c3/api-pre-configure...
Looking for /var/lib/oscar/packages/c3/pre_configure...
Looking for /var/lib/oscar/packages/oda/api-pre-configure...
Looking for /var/lib/oscar/packages/oda/pre_configure...
Looking for /var/lib/oscar/packages/rapt/api-pre-configure...
Looking for /var/lib/oscar/packages/rapt/pre_configure...
Looking for /var/lib/oscar/packages/sc3/api-pre-configure...
Looking for /var/lib/oscar/packages/sc3/pre_configure...
Looking for /var/lib/oscar/packages/sis/api-pre-configure...
Looking for /var/lib/oscar/packages/sis/pre_configure...
Looking for /var/lib/oscar/packages/switcher/api-pre-configure...
Looking for /var/lib/oscar/packages/switcher/pre_configure...
[INFO] No switcher data found in the database
Looking for /var/lib/oscar/packages/sync-files/api-pre-configure...
Looking for /var/lib/oscar/packages/sync-files/pre_configure...
Looking for /var/lib/oscar/packages/yume/api-pre-configure...
Looking for /var/lib/oscar/packages/yume/pre_configure...
TOTO: /var/lib/oscar/packages/switcher
TOTO: /var/lib/oscar/packages/sis
Looking for /var/lib/oscar/packages/apitest/api-post-configure...
Looking for /var/lib/oscar/packages/apitest/post_configure...
Looking for /var/lib/oscar/packages/base/api-post-configure...
Looking for /var/lib/oscar/packages/base/post_configure...
Looking for /var/lib/oscar/packages/c3/api-post-configure...
Looking for /var/lib/oscar/packages/c3/post_configure...
Looking for /var/lib/oscar/packages/oda/api-post-configure...
Looking for /var/lib/oscar/packages/oda/post_configure...
Looking for /var/lib/oscar/packages/rapt/api-post-configure...
Looking for /var/lib/oscar/packages/rapt/post_configure...
Looking for /var/lib/oscar/packages/sc3/api-post-configure...
Looking for /var/lib/oscar/packages/sc3/post_configure...
Looking for /var/lib/oscar/packages/sis/api-post-configure...
Looking for /var/lib/oscar/packages/sis/post_configure...
Looking for /var/lib/oscar/packages/switcher/api-post-configure...
Looking for /var/lib/oscar/packages/switcher/post_configure...
Looking for /var/lib/oscar/packages/sync-files/api-post-configure...
Looking for /var/lib/oscar/packages/sync-files/post_configure...
Looking for /var/lib/oscar/packages/yume/api-post-configure...
Looking for /var/lib/oscar/packages/yume/post_configure...
=> On step 3: Failed to instal... Check the logs:
=============================================================================
== Running step 3 of the OSCAR wizard: Install OSCAR server packages
=============================================================================
[INFO]
http://mirror.centos.org/centos/5.4/os/x86_64/ is in cache
[INFO]
http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64 is in cache
Need to install the following packages: opkg-disable-services-server, opkg-diskless-server, opkg-ganglia-server, opkg-jobmonarch-server, opkg-lam-server, opkg-loghost-server, opkg-mpich-server, opkg-mtaconfig-server, opkg-netbootmgr-server, opkg-networking-server, opkg-ntpconfig-server, opkg-openmpi-server, opkg-opium-server, opkg-pfilter-server, opkg-pvm-server, opkg-sge-server
Installing packages in /:
[ opkg-disable-services-server opkg-diskless-server opkg-ganglia-server opkg-jobmonarch-server opkg-lam-server opkg-loghost-server opkg-mpich-server opkg-mtaconfig-server opkg-netbootmgr-server opkg-networking-server opkg-ntpconfig-server opkg-openmpi-server opkg-opium-server opkg-pfilter-server opkg-pvm-server opkg-sge-server ]
Array: 16 element(s)
Repository Manager Status:
Repos:
http://mirror.centos.org/centos/5.4/os/x86_64/,
http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64
Distro: centos-5-x86_64
Format: rpm
Packman status:
Format: RPM
Associated distro: centos-5-x86_64
ChRoot: /
Number of repos: 2
List of repos:
http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64,
http://mirror.centos.org/centos/5.4/os/x86_64/
Error: No matching Packages to list
Error: No matching Packages to list
Error: No matching Packages to list
Error: No matching Packages to list
ERROR: Impossible to execute "yum -c /tmp/fileAdGz8c info opkg-ganglia-server.noarch"; some packages are not available (-y, install, opkg-disable-services-server.noarch, opkg-diskless-server.noarch, opkg-ganglia-server, opkg-jobmonarch-server, opkg-lam-server, opkg-loghost-server, opkg-mpich-server, opkg-mtaconfig-server, opkg-netbootmgr-server, opkg-networking-server, opkg-ntpconfig-server, opkg-openmpi-server, opkg-opium-server, opkg-pfilter-server, opkg-pvm-server, opkg-sge-server) at /usr/bin/yume line 309.
ERROR during execution 2304
Use of uninitialized value in join or string at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 652.
Error occured during smart_install (-1):
at /usr/bin/install_server line 114
ERROR: Impossible to install disable-services, diskless, ganglia, jobmonarch, lam, loghost, mpich, mtaconfig, netbootmgr, networking, ntpconfig, openmpi, opium, pfilter, pvm, sge at /usr/bin/install_server line 115.
Available Packages
Name : opkg-disable-services-server
Arch : noarch
Version : 1.1.0
Release : 1
Size : 1.6 k
Repo : unstable_rhel-5-x86_64
Summary : Disable services on client nodes, server part
License : Freely distributable
Description: OSCAR-specific scripts to disable some services on client nodes:
: kudzu, sendmail, slocate.
:
: This is the server part of disable-services.
Available Packages
Name : opkg-diskless-server
Arch : noarch
Version : 1.0
Release : 1
Size : 1.6 k
Repo : unstable_rhel-5-x86_64
Summary : OSCAR extension for diskless support., server part
License : GPL
Description: OSCAR extension for diskless support. This automatically patches
: SIS when installed.
:
: This is the server part of diskless.
I've also attached the installed rpms list.
IMHO, all my troubles are related to error "db_type: no such variable at /etc/oscar/oscar.conf line 7", but don't know perl language and I must admit that I'm now a little bit stalled.
Please tell me what I can do in order to help identifying and fixing this issue.
Best regards.
Olivier.
--
Olivier LAHAYE
CEA Saclay
DRT-LIST-DETECS-SSTM
opensubscriber is not affiliated with the authors of this message nor responsible for its content.