Hello..
Trying to implement OSCAR 6.0.4 on a RHEL 5.4 cluster.

There are errors with 'oscar-config --bootstrap'. Attached are the oscar.conf and bootstrap.log files. It fails while preparing pools for the distro.

Pools to prepare for distro redhat-el-5-x86_64:
[ ]
Array: 0 element(s)
Preparing pools:
INFO: no repositories defined at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackageSmart.pm line 335.
ERROR: Impossible to prepare pools for the local distro
 at /usr/bin/oscar-config line 99
ERROR: Impossible to complete stage 1 of the bootstrap.
 at /usr/bin/oscar-config line 99
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 100
        main::bootstrap() called at /usr/bin/oscar-config line 331
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332.

In the oscar.conf file, should 'OSCAR_NETWORK_INTERFACE = eth0' point to the local network or the external network?

Thanks,
Susheel
OSCAR_NETWORK_INTERFACE = eth0

# ODA_TYPE specifies the type of database that have to be used for ODA. The two
# options are 'file' where ODA uses as flat text file, or 'db' where ODA uses
# a real database (i.e. mysql).
ODA_TYPE = db
DB_TYPE = mysql

# PREREQ_MODE specifies the operation mode associated to the prereqs management.
# Two modes are possible:
#   - 'check_only', if a prereq is not in the expected status, we notify the 
#     user and exit,
#   - 'check_and_fix', if a prereq is not in the expected status, we try to fix
#     it.
PREREQ_MODE = check_and_fix

################################################################################
# Location of the different OSCAR components                                   #
# Note that variables must follow the following rules:                         #
#   - if the variable defines a path, the name must end by "_PATH", this is    #
#     to perform some substitutions.                                           #
#   - the variable name must be followed by a space, then by "= " (note the    #
#     space after "=".                                                         #
################################################################################

# Specify where the OSCAR scripts are
OSCAR_SCRIPTS_PATH = /usr/bin

# Specify where the prereqs are
PREREQS_PATH = /usr/share/oscar/prereqs

# Specify where rapt is
RAPT_PATH = /usr/share/oscar/prereqs/rapt

# Specify where yume is
YUME_PATH = /usr/share/oscar/prereqs/yume

# Specify where OSCAR packages are located. This is only used by developers
OPKGS_PATH = packages

# Specify where the flat file ODA configuration file are
PATH_ODA_CONFIG_FILES = /etc/oscar/clusters
Verbosity: 0

=============================================================================
== OSCAR bootstrap
=============================================================================

Distro repository /tftpboot/oscar/rhel-5-x86_64 not found. Creating empty directory. at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 369.
Commons repository /tftpboot/oscar/common-rpms not found. Creating empty directory.
mkdir /tftpboot/oscar/rhel-5-x86_64
mkdir /tftpboot/oscar/common-rpms
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-AppConfig.noarch 0:1.56-8.0.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch           Version              Repository     Size
================================================================================
Installing:
 perl-AppConfig         noarch         1.56-8.0.el5         oscar          87 k

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 87 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : perl-AppConfig                                           1/1 

Installed:
  perl-AppConfig.noarch 0:1.56-8.0.el5                                          

Complete!
db_type: no such variable at /etc/oscar/oscar.conf line 7
INFO: the /tftpboot/oscar/rhel-5-x86_64.url already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 1058.
INFO: the /tftpboot/distro/redhat-el-5-x86_64.url file already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 1100.
Updating OSCAR on your system...

=============================================================================
== Setting redhat-el-5-x86_64...
=============================================================================

Success: 02_update_repo_conffile
Success: 01_update_ubuntu_repo
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package packman.noarch 0:3.1.11-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch             Version               Repository       Size
================================================================================
Installing:
 packman           noarch           3.1.11-1              oscar            30 k

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 30 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : packman                                                  1/1 

Installed:
  packman.noarch 0:3.1.11-1                                                     

Complete!
Loaded plugins: rhnplugin
Cleaning up Everything
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-IO-Tty.x86_64 0:1.02-4.oscar set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch           Version                 Repository     Size
================================================================================
Installing:
 perl-IO-Tty         x86_64         1.02-4.oscar            oscar          59 k

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 59 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing     : perl-IO-Tty                                              1/1 

Installed:
  perl-IO-Tty.x86_64 0:1.02-4.oscar                                             

Complete!
Pools to prepare for distro redhat-el-5-x86_64:
[ ]
Array: 0 element(s)
Preparing pools: 
INFO: no repositories defined at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackageSmart.pm line 335.
ERROR: Impossible to prepare pools for the local distro
 at /usr/bin/oscar-config line 99
ERROR: Impossible to complete stage 1 of the bootstrap.
 at /usr/bin/oscar-config line 99
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 100
	main::bootstrap() called at /usr/bin/oscar-config line 331
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to