Hi DongInn,

Thank you for all this information you shared with me.
After your recommendations (and those of Olivier) I decided to give a try to 
CentOS 6.3 because there is a risk
to lose more time trying to make it work on CentOS 5 that with CentOS 6.

I launched an installation of CentOS 6 and I will try to use the repository at

http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64


I will be back with the first results.

Kind Regards,
Costel


From: DongInn Kim [mailto:di...@cs.indiana.edu]
Sent: Saturday, February 16, 2013 7:00 PM
To: oscar-users@lists.sourceforge.net
Subject: Re: [Oscar-users] Cent OS 5.9 or CentOS 6

Hi Costel,

What do you have in /etc/oscar/supported_distros.txt ?
Can you check what entries are there for centos-5-x86_64 ?

When you run "oscar-config --setup-distro centos-5-x86_64", your 
/tftpboot/{distro,oscar}/centos-5-x86_64.url will be generated with the entries 
of centos-5-x86_64 in supported_distros.txt.

So, do you have the url files are generated properly?

And also, can you show me the output of the following command?

cat /etc/redhat-release

I think you'd better play a little bit with the perl code in 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Distro.pm to see why you get the 
following error:
"Use of uninitialized value in scalar chomp at 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Distro.pm line 324."

For the production OSCAR cluster, once you setup a cluster with pre-configured 
and easy provisioning solution of OSCAR, you do not have to depend on OSCAR to 
maintain your cluster.
I think most sysadmins of the OSCAR cluster customize the cluster with their 
own way and they may want to keep using their customized solution. Of course, 
it is possible for you to use OSCAR infrastructure to maintain your cluster but 
you may find some limitation of the features that OSCAR can provide.

So, once my oscar cluster is setup,1) I usually choose one of my clients nodes 
as a golden client and then make a golden image of it in my head node to 
maintain my cluster.

2) Of course, there are a lot of other ways to maintain your cluster without 
OSCAR. I may want to use one of configuration management tools (e.g., bcfg2, 
chef, puppet, cfengine, and so on) to keep the consistent configurations of my 
cluster.

3) If we want to have OSCAR take care of all the maintenance issues, we need to 
do way more works on it. I think it is beyond of the current OSCAR 
capabilities. Even the stable (?) version that we used to have could not do 
that.

What options would you like to go with?

Costel, to be honest with you, if we want to make OSCAR roll all the time, we 
have to make a good use of the available times and efforts of volunteered 
developers. We are just about to finalize the very good stabilized support of 
RHEL6 X86_64 / CentOS 6 X86_64 on trunk and may add them more features in the 
near future.

If you are concerned about the maintenance of your OSCAR cluster on CentOS 6, I 
believe you would have much better support from OSCAR developers than you are 
stuck with the CentOS 5 because most distro /  software development does not go 
backward

That's why I asked you to see if you can move on to CentOS 6.

Regards,

--
- DongInn

On Feb 16, 2013, at 8:10 AM, Costel Seitan 
<csei...@slb.com<mailto:csei...@slb.com>> wrote:


Hi Olivier, DongInn,


Thank you for your time dedicated to build a new repo. It looks OK now for the 
repository, yum is happy again :) .
After adding epel to my list of yum repositories and after installing some 
dependencies,
I succeeded in installing oscar-base package.
I have been stopped again at stage
"oscar-config -bootstrap"

It appears that oscar-config is trying to get an URL  for a centos-6-x86_64 
repository even if I performed just before a
"oscar-config --setup-distro centos-5-x86_64" (see below).
I am trying to see if I can find by myself what file is generating this issue.

Concerning systemimager I see there are already some packages into the CentOS 5 
repo. Olivier, they must be
the old packes you wrote about in you previous posts.

Just another question for you. Assuming we do not succeed in making work OSCAR 
for CentOS 5.9, the only option
is to use OSCAR for CentOS 6. This version is for now stamped as "unstable". I 
am not sure if "unstable" means
"not tested at all" or  "not thoroughly tested"?
I suppose that the packages inside are "stable" but we could experience some 
minor issues while creating the image
and installing the first nodes, is that true?
Please do not misunderstand me (do not take it wrong), I am trying just to make 
sure we will not discover issues
later in production (with the scheduler for instance), once the cluster is 
installed and users are executing their application.
I know you did a wonderful job as it is the third time I am using OSCAR to 
build a cluster and I was very happy with it.

Kind Regards,
Costel SEITAN

P.S.: Here below the result of my last commands:

# oscar-config --setup-distro centos-5-x86_64

=============================================================================
== Setting centos-5-x86_64...
=============================================================================

#  oscar-config --bootstrap
Verbosity: 0

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

Use of uninitialized value in scalar chomp at 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Distro.pm line 324.
Use of uninitialized value in split at 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Distro.pm line 325.
ERROR: Impossible to get the default repository for centos-6-x86_64 at 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Bootstrap.pm line 440
ERROR: Impossible to generate the default OSCAR url file (centos-6-x86_64) at 
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Bootstrap.pm line 440
ERROR: Impossible to generate default url files in /tftpboot at 
/usr/bin/oscar-config line 93
ERROR: Impossible to complete stage 0 of the bootstrap. at 
/usr/bin/oscar-config line 95
        main::bootstrap() called at /usr/bin/oscar-config line 331
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332.



tree -d /tftpboot

/tftpboot
|-- distro
|   `-- centos-5-x86_64
|       |-- repocache
|       `-- repodata
|-- linux-install
|   |-- msgs
|   `-- pxelinux.cfg
`-- oscar

From: LAHAYE Olivier [mailto:olivier.lah...@cea.fr<http://cea.fr>]
Sent: Friday, February 15, 2013 5:59 PM
To: oscar-users@lists.sourceforge.net<mailto:oscar-users@lists.sourceforge.net>
Subject: [Oscar-users] RE : Cent OS 5.9 or CentOS 6


Hi Costel,

I've finaly built most packages for CentOS-5.9, unfortunately, not all packages 
are able to build (openmpi, lam and maybe a few others). This is due to the 
fact that oscar-6.1.0 was vuilt with some packages that only exist in trunk (no 
tagged releases) and thus evolved in version that is now incompatible with 
CentOS-5.9

But the main packages are here IMHO. Note htat they are untested though.

I'm currently uploadeing a new repos.

CentOS-5.9 is "almost dead" as it entered in the minimal support phase (only 
critical bug fixes, no packages upgrade).
IMHO, I would go for CentOS-6.3 if possible, but I understand your position. 
More over, currently systemimager svn is broken (but I should be able to find a 
systemimager src.rpm that builds and works though).

Note that my build system has the epel (good) and rpmforge (bad) repositories 
enabled. rpmforge sometimes upgrades system packages in version. If you 
encounter some dependancies problem on the rpms I've built, please, try to 
enable epel, retest and in last resort, enable rpmforge. It should install. (I 
didn't say it should work as I didn't test)

I've seen some messages about md5 issues, are they on the rhel-5-x86_64 repos? 
(or are you trying to install rhel-6-x86_64 packages on CentOS-5.9?) Installing 
rhel-6-x86_64 packages on CentOS-5.9 will fail for most binary packages because 
of bad dependancies regarding /usr/lib64/*.so.* versions that will differs.

I hope my message can be of any help to you.

PS: updated temp  repo 
http://olivier.lahaye1.free.fr/OSCAR/repos/6.1.0/rhel-5-x86_64/ (real repo 
here: http://svn.oscar.openclustergroup.org/repos/6.1.0/rhel-5-x86_64/)
PPS: still need to build a systemimager rpms suite.....

Best regards.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to